MPC Server to connect your preferred model with rae-api.com, Roya Academy of Spanish Dictionary
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.
git clone https://github.com/rae-api-com/rae-mpc.git
cd rae-mpc
go build
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
The MCP server exposes the following tools to LLMs:
search - Search RAE API for information
query (required): The search querylang (optional): Language code (default: "es")get_word_info - Get detailed information about a word
word (required): The word to look uplang (optional): Language code (default: "es")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.