Access RAE Spanish Language Resources
RAE MCP Server exposes the Royal Spanish Academy dictionary API as two MCP tools for Spanish word lookup and search.
0.5.0Add to Favorites
Why it matters
Integrate with the Royal Spanish Academy's (RAE) extensive dictionary and linguistic resources. Enable language models to search and retrieve detailed information about the Spanish language for advanced research and content generation.
Outcomes
What it gets done
Search RAE dictionary and linguistic data
Retrieve detailed word definitions and information
Integrate with LLMs via stdio transport
Operate as an SSE server for real-time data
Source
Get it from source
Spark does not host a copy of it.
Open sourceReports
Agent outcome reports
No reports yet
Capabilities
Tools your agent gets
Search the RAE API for information with a query and optional language parameters
Retrieve detailed information about a specific word with optional language parameters
Overview
RAE MCP Server
RAE MCP Server wraps the Royal Spanish Academy's dictionary API in two MCP tools, search and get_word_info, so language models can query official Spanish-language definitions and usage instead of relying on unaided model knowledge. Reach for it when building Spanish-language writing, learning, or research tools that need dictionary answers grounded in RAE's own resources rather than general-purpose translation.
What it does
RAE MCP Server is a Go implementation of the Model Context Protocol that wraps the Royal Spanish Academy (RAE) API, giving language models direct access to RAE's Spanish-language dictionary and linguistic resources. It exposes two tools: search, which queries the RAE API for a given search string with an optional language parameter (default es), and get_word_info, which retrieves detailed information about a specific word, also with an optional language parameter. Both tools return data sourced directly from RAE, so answers about word definitions and etymology stay grounded in the official dictionary rather than a model's own training data.
When to use - and when NOT to
Use this server when an AI assistant needs authoritative Spanish-language dictionary lookups: checking a word's definition, verifying spelling or usage per RAE, or building Spanish-language tooling (grammar checkers, writing assistants, learning apps) that should defer to the official academy rather than a general-purpose model answer. It is not a general translation or multi-language dictionary service - both tools are scoped to the RAE API's own resources, so it will not help with non-Spanish lexicons or with tasks outside dictionary lookup, such as grammar correction or full-text translation.
Inputs and outputs
search takes a required query string and an optional lang string (default es), and returns whatever RAE's search endpoint returns for that query. get_word_info takes a required word string and an optional lang string (default es), returning detailed information about that specific word. The server can run over stdio transport, the standard mode for integration with LLM clients, or as an SSE server on a specified port for network-based clients.
Integrations
The server is built in Go (Go 1.21+ required) and communicates via the Model Context Protocol, so it works with any MCP-compatible client capable of stdio or SSE transport. It is installed by cloning the rae-api-com/rae-mpc repository and running go build, producing a rae-mpc binary that is then run with --transport stdio or --transport sse --port 8080.
Who it's for
Developers building Spanish-language AI tools - writing assistants, educational apps, linguistic research tooling - who want their AI assistant's word definitions and usage guidance grounded in the Royal Spanish Academy's own dictionary rather than an LLM's unaided knowledge.
git clone https://github.com/rae-api-com/rae-mpc.git
cd rae-mpc
go build
Source README
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:
search- Search RAE API for information- Parameters:
query(required): The search querylang(optional): Language code (default: "es")
- Parameters:
get_word_info- Get detailed information about a word- Parameters:
word(required): The word to look uplang(optional): Language code (default: "es")
- Parameters:
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.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.