Loading languages...
RA

rae-mpc

@rae-api-com2

# RAE Model Context Protocol (MCP) Server Dieses Repository enthält eine Implementierung eines Model Context Protocol (MCP) servers für die API der Real Academia Española (RAE). Es ermöglicht Sprachmodellen die Interaktion mit dem Wörterbuch und den linguistischen Ressourcen der RAE. ## Anforderungen - Go 1.21+ ## Installation ```bash git clone https://github.com/rae-api-com/rae-mpc.git cd rae-mpc go build ``` ## Verwendung ### Befehlszeilenargumente Starten Sie den Server mit stdio-Transport (zur Integration mit LLMs): ```bash ./rae-mpc --transport stdio ``` Oder starten Sie ihn als SSE-Server: ```bash ./rae-mpc --transport sse --port 8080 ``` ### Verfügbare Tools Der MCP server stellt LLMs die folgenden Tools zur Verfügung: 1. `search` - Durchsucht die RAE-API nach Informationen - Parameter: - `query` (erforderlich): Der Suchbegriff - `lang` (optional): Sprachcode (Standard: "es") 2. `get_word_info` - Ruft detaillierte Informationen zu einem Wort ab - Parameter: - `word` (erforderlich): Das nachzuschlagende Wort - `lang` (optional): Sprachcode (Standard: "es") ## Integration mit LLMs Dieser MCP server kann in Sprachmodelle integriert werden, die das Model Context Protocol unterstützen, wodurch diese auf die linguistischen Ressourcen der RAE zugreifen können, um ihre Fähigkeiten in spanischer Sprache zu verbessern. ---

RAE
API
Language Model
MCP

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.


# mcpServer Config

{
  "mcpServers": [
    {
      "name": "rae-mpc",
      "transports": [
        "stdio",
        "sse"
      ],
      "stdioServerCommand": [
        "./rae-mpc",
        "--transport",
        "stdio"
      ],
      "sseURL": "http://localhost:8080",
      "description": "MPC Server to connect your preferred model with rae-api.com"
    }
  ]
}

# stdio

./rae-mpc --transport stdio

# sseURL

http://localhost:8080
Transport:
stdio
sse
Language:
Go
Updated: 7/23/2025