IO

Implementation of a Model Context Protocol (MCP) server for the Royal Spanish Academy (RAE) API.

Created 3 months ago

Implementation of a Model Context Protocol (MCP) server for the Royal Spanish Academy (RAE) API.

development documentation public

What is Implementation of a Model Context Protocol (MCP) server for the Royal Spanish Academy (RAE) API.?

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. The MCP server exposes tools for searching and retrieving word information.

Documentation

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")
  1. 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.

Server Config

{
  "mcpServers": {
    "implementation-of-a-model-context-protocol-(mcp)-server-for-the-royal-spanish-academy-(rae)-api.-server": {
      "command": "npx",
      "args": [
        "implementation-of-a-model-context-protocol-(mcp)-server-for-the-royal-spanish-academy-(rae)-api."
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: Aug 08, 2025
Updated At: Aug 08, 2025
Author: Unknown
Category:
Tags:
development documentation public