rae-api-com/rae-mcp

CategoryWeb
AuthorCommunity
Stars949
PricingFree

Overview

The rae-mcp server provides a standardized interface for LLMs to query the Roya Academy of Spanish (RAE) dictionary via the rae-api.com endpoint. Instead of relying on a model's internal training data—which can be outdated or hallucinate linguistic nuances—this tool allows for real-time, authoritative lookups of Spanish definitions, grammar, and usage. It is particularly useful for developers building translation tools, language learning apps, or content localization pipelines where precision is non-negotiable. The server integrates seamlessly into any MCP-compliant host, effectively turning your AI agent into a verified linguistic expert by bridging the gap between generative text and a structured, academic reference database.

Highlights

  • Real-time access to authoritative RAE Spanish dictionary data
  • Eliminates linguistic hallucinations in Spanish language processing
  • Easy integration with any MCP-compliant AI host
  • Ideal for localization and professional translation workflows

Full Documentation

RAE Model Context Protocol (MCP) Server

![Trust Score](https://archestra.ai/mcp-catalog/rae-api-com__rae-mcp)

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

bash
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):

bash
./rae-mpc --transport stdio

Or run it as an SSE server:

bash
./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.

Join our Telegram