MCP ExplorerExplorer

Rae Mcp

@rae-api-comon 18 days ago
1 MIT
FreeCommunity
AI Systems
#api#golang#mcp-server#rae#rae-api
MPC Server to connect your preferred model with rae-api.com

Overview

What is Rae Mcp

rae-mcp is a Model Context Protocol (MCP) server designed to connect language models with the Royal Spanish Academy (RAE) API, enabling interaction with RAE’s dictionary and linguistic resources.

Use cases

Use cases for rae-mcp include integrating with language models to provide accurate definitions, synonyms, and linguistic information, as well as enhancing user interactions in Spanish language applications.

How to use

To use rae-mcp, clone the repository, build the server using Go, and run it with the desired transport method (stdio for integration with LLMs or SSE on a specified port).

Key features

Key features of rae-mcp include the ability to search the RAE API for information and retrieve detailed word information, with support for language code parameters.

Where to use

rae-mcp can be used in applications that require enhanced Spanish language capabilities, such as language learning tools, chatbots, and natural language processing systems.

Content

RAE Model Context Protocol (MCP) Server

This repository contains an implementation of a Model Context Protocol (MCP) server for the Royal Spanish Academy (RAE) API. It allows language models to interact with RAE’s dictionary and linguistic resources.

Requirements

  • Go 1.21+

Installation

git clone https://github.com/rae-api-com/rae-mpc.git
cd rae-mpc
go build

Usage

Command Line Arguments

Run the server with stdio transport (for integration with LLMs):

./rae-mpc --transport stdio

Or run it as an SSE server:

./rae-mpc --transport sse --port 8080

Available Tools

The MCP server exposes the following tools to LLMs:

  1. search - Search RAE API for information

    • Parameters:
      • query (required): The search query
      • lang (optional): Language code (default: “es”)
  2. get_word_info - Get detailed information about a word

    • Parameters:
      • word (required): The word to look up
      • lang (optional): Language code (default: “es”)

Integration with LLMs

This MCP server can be integrated with language models that support the Model Context Protocol, allowing them to access RAE’s linguistic resources for improved Spanish language capabilities.

Tools

No tools

Comments