MCP server for Spanish language learning
npm install spanish-mcp-serverbash
npm install
npm run build
`
Usage
$3
The server runs via stdio and follows the MCP protocol:
`bash
npm start
`
$3
#### translate_word
`json
{
"name": "translate_word",
"arguments": {
"word": "hola",
"direction": "spanish_to_english"
}
}
`
#### conjugate_verb
`json
{
"name": "conjugate_verb",
"arguments": {
"verb": "hablar",
"tense": "present"
}
}
`
#### get_vocabulary_by_topic
`json
{
"name": "get_vocabulary_by_topic",
"arguments": {
"topic": "greeting",
"difficulty": "beginner",
"limit": 10
}
}
`
$3
- spanish://vocabulary/greeting - Greeting vocabulary
- spanish://vocabulary/food - Food vocabulary
- spanish://vocabulary/verb - Verb vocabulary
- spanish://grammar/verb_tense - Verb tense explanations
- spanish://conjugation/hablar - Hablar conjugations
- spanish://conjugation/comer - Comer conjugations
- spanish://mixed/beginner - Beginner learning pack
- spanish://mixed/intermediate - Intermediate learning pack
Data Structure
The server includes:
- 20+ vocabulary words with pronunciation, examples, and cultural notes
- 8 common verbs with complete conjugation patterns across 5 tenses
- 5 grammar concepts with detailed explanations and examples
- 7 cultural context entries with usage notes and etiquette
Development
`bash
Build
npm run build
Development mode with watch
npm run dev
Clean build artifacts
npm run clean
Type checking
npm run lint
``