Skip to main content
Glama
multilingual-dictionary-mcp

multilingual-dictionary-mcp

by Eyalm321

Multilingual Dictionary MCP

Ein MCP-Server für mehrsprachige Wörterbuchabfragen mit Wortbeziehungen — Synonyme, Antonyme, Hypernyme, Hyponyme, Meronyme, Übersetzungen, Etymologie, Definitionen, Reime und mehr — der alle Sprachen abdeckt, indem er drei kostenlose öffentliche APIs kombiniert:

  • ConceptNet — mehrsprachiges semantisches Netzwerk (80+ Sprachen, Wortbeziehungen: Synonym, Antonym, IsA, PartOf, RelatedTo, DerivedFrom, etc.)

  • Wiktionary — Definitionen, Etymologie und Aussprache in über 4000 Sprachen

  • Datamuse — Dienstprogramme nur für Englisch (Reime, ähnlich klingende Wörter, "bedeutet ähnlich", Rechtschreibungsmuster, kontextuelle Auslöser)

Keine API-Schlüssel. Keine gebündelten Daten. Einfach in Claude (oder einen beliebigen MCP-Client) einbinden und nach Wörtern in jeder beliebigen Sprache fragen.


Installation

Von npm

npm install -g multilingual-dictionary-mcp

Von GitHub Packages

npm install -g @eyalm321/multilingual-dictionary-mcp --registry=https://npm.pkg.github.com

Claude Desktop / Claude Code Konfiguration

{
  "mcpServers": {
    "multilingual-dictionary": {
      "command": "npx",
      "args": ["-y", "multilingual-dictionary-mcp"]
    }
  }
}

Related MCP server: word-orb

Tools

Mehrsprachige Wortbeziehungen (ConceptNet)

Alle diese Tools akzeptieren ein word, einen ISO 639-1 language-Code (Standard ist en) und ein limit. Funktioniert für Englisch, Spanisch, Französisch, Deutsch, Italienisch, Russisch, Hebräisch, Arabisch, Latein, Chinesisch, Japanisch und über 70 weitere.

Tool

Beschreibung

dictionary_synonyms

Wörter mit ähnlicher Bedeutung

dictionary_antonyms

Gegenteile

dictionary_related

Lose assoziierte Begriffe (RelatedTo-Kanten)

dictionary_hypernyms

Übergeordnete Konzepte (Hund → Säugetier)

dictionary_hyponyms

Untergeordnete Konzepte (Hund → Pudel)

dictionary_meronyms

Teile/Komponenten (Auto → Rad)

dictionary_holonyms

Ganze, die dies enthalten (Rad → Auto)

dictionary_derived_from

Etymologische Wurzeln

dictionary_etymologically_related

Kognaten und gemeinsame Wurzeln über Sprachen hinweg

dictionary_used_for

Typische Verwendungszwecke (Messer → Schneiden)

dictionary_capable_of

Typische Aktionen (Hund → bellen)

dictionary_at_location

Typische Orte (Buch → Bibliothek)

dictionary_translate

Sprachübergreifende Synonyme — übersetzt ein Wort

dictionary_all_relations

Alle Beziehungen für ein Wort in einem Aufruf

Definitionen & Etymologie (Wiktionary)

Tool

Beschreibung

dictionary_lookup

Definitionen gruppiert nach Sprache (4000+ Sprachen via en.wiktionary)

dictionary_summary

Kurze Zusammenfassung als Klartext aus einer beliebigen Wiktionary-Ausgabe

dictionary_etymology

Etymologie-Abschnitt, Klartext

dictionary_pronunciation

Aussprache-Abschnitt (typischerweise IPA)

dictionary_search

Durchsucht eine Wiktionary-Ausgabe nach passenden Seiten

dictionary_random

Zufälliges Wort aus einer beliebigen Wiktionary-Ausgabe

Englisch-spezifische Dienstprogramme (Datamuse)

Tool

Beschreibung

dictionary_rhymes

Perfekte oder fast perfekte Reime

dictionary_sounds_like

Homophone / ähnlich klingende Wörter

dictionary_means_like

ML-basiertes "bedeutet ungefähr" — breiter als Synonyme

dictionary_spelled_like

Rechtschreibungsmuster mit ? und * Platzhaltern

dictionary_suggest

Autovervollständigung

dictionary_triggers

Statistisch assoziierte Begriffe (Kuh → Milch, Bauernhof)

dictionary_follows

Wörter, die üblicherweise folgen (trinken → Kaffee)

dictionary_precedes

Wörter, die üblicherweise vorangehen (Publikum → gefangen)

Cache-Verwaltung

Tool

Beschreibung

dictionary_cache_stats

Überprüft Treffer/Fehlversuche/Größe des In-Memory-Antwort-Caches

dictionary_cache_clear

Erzwingt frische Upstream-Abfragen durch Leeren des Caches


Caching

Jede erfolgreiche Upstream-Antwort wird im Arbeitsspeicher für die Lebensdauer des Serverprozesses zwischengespeichert, identifiziert durch die vollständige Anfrage-URL. Identische Folgeaufrufe innerhalb derselben Sitzung werden sofort zurückgegeben, ohne ConceptNet/Wiktionary/Datamuse erneut abzufragen.

  • Standard-TTL: 24 Stunden

  • Standard-Maximalanzahl an Einträgen: 5000 (LRU-Verdrängung)

  • Deaktiviert für dictionary_random (da sich dieses Ergebnis ändern soll)

  • Keine Festplattenpersistenz — der Cache wird bei jedem Serverstart neu aufgebaut

Anpassung über Umgebungsvariablen:

MDM_DISABLE_CACHE=true        # turn caching off
MDM_CACHE_TTL_MS=3600000      # 1 hour TTL
MDM_CACHE_MAX_ENTRIES=10000   # bigger cache

Beispiele

> What are the synonyms of "feliz" in Spanish?
[uses dictionary_synonyms with language: "es"]

> Translate "happiness" into Hebrew
[uses dictionary_translate with language: "en", targetLanguage: "he"]

> What's the etymology of the word "serendipity"?
[uses dictionary_etymology]

> Find me words that rhyme with "orange"
[uses dictionary_rhymes]

> What are the parts of a bicycle?
[uses dictionary_meronyms with word: "bicycle"]

Entwicklung

npm install
npm run build      # TypeScript compile
npm test           # vitest run
npm run test:watch # vitest watch
npm run dev        # ts-node entry point

Projektstruktur

src/
├── index.ts            # MCP server entry
├── client.ts           # HTTP wrappers for ConceptNet / Wiktionary / Datamuse
├── tools/
│   ├── relations.ts    # ConceptNet-backed multilingual relation tools
│   ├── definitions.ts  # Wiktionary-backed definition/etymology tools
│   └── english.ts      # Datamuse-backed English utilities
└── __tests__/          # vitest specs

CI / Release

  • CI läuft bei jedem Push und PR gegen main, auf Node 20 und 22.

  • Publish läuft, wenn ein GitHub Release veröffentlicht wird — Tests, Builds, dann Veröffentlichung auf beiden npm (als multilingual-dictionary-mcp) und GitHub Packages (als @eyalm321/multilingual-dictionary-mcp).

Um ein Release zu erstellen:

  1. Erhöhen Sie die version in package.json und committen Sie.

  2. Taggen und pushen (z. B. git tag v0.1.1 && git push --tags).

  3. Erstellen Sie ein GitHub Release, das auf den Tag verweist — der Publish-Workflow erledigt den Rest.

Der Publish-Workflow erwartet zwei Repository-Secrets: NPM_TOKEN (npm-Automatisierungs-Token) und GITHUB_TOKEN (automatisch bereitgestellt durch GitHub Actions).


Lizenz

MIT © Eyalm321

Available Tools

28 tools
dictionary_all_relationsC

All edges (every relation type) for a word in one call from offline ConceptNet.

Inputs: word (required), limit, language.

dictionary_antonymsB

Get antonyms (opposites) for a word in any language using offline ConceptNet.

Inputs: word (required), limit, language.

dictionary_at_locationB

Typical locations (AtLocation) via offline ConceptNet. E.g. book -> library.

Inputs: word (required), limit, language.

dictionary_capable_ofB

Typical actions (CapableOf) via offline ConceptNet. E.g. dog -> bark.

Inputs: word (required), limit, language.

dictionary_derived_fromC

Derivation relations via offline ConceptNet DerivedFrom.

Inputs: word (required), limit, language.

dictionary_etymologyA

Return etymology text for a word from the offline Wiktextract corpus.

Inputs: word (required), language.

dictionary_holonymsB

Holonyms (wholes that contain this word) via offline ConceptNet reverse PartOf.

Inputs: word (required), limit, language.

dictionary_hypernymsA

Hypernyms (broader concepts) via offline ConceptNet IsA. E.g. dog -> mammal.

Inputs: word (required), limit, language.

dictionary_hyponymsB

Hyponyms (narrower concepts) via offline ConceptNet IsA. E.g. dog -> poodle.

Inputs: word (required), limit, language.

dictionary_installA

Manually kick off (or re-trigger) the offline data download. Returns immediately while the install runs in the background. Idempotent — calling repeatedly while a download is in progress is a no-op. Use dictionary_status to track progress.

Inputs: no named parameters.

dictionary_lookupA

Look up definitions for a word from the offline Wiktextract corpus (4,755 languages, 10.5M entries). Returns part-of-speech, definitions per sense, IPA, etymology, and translations grouped by language.

Inputs: word (required), limit, language.

dictionary_means_likeA

Find words/phrases meaning approximately the same as the input via offline Numberbatch embedding cosine. Multilingual — works in any of the 78 languages Numberbatch covers.

Inputs: query (required), limit, language.

dictionary_meronymsC

Meronyms (parts/components) via offline ConceptNet PartOf. E.g. car -> wheel.

Inputs: word (required), limit, language.

dictionary_pronunciationB

Return IPA pronunciation(s) for a word from the offline Wiktextract corpus.

Inputs: word (required), language.

dictionary_randomA

Return a random word entry from the offline Wiktextract corpus, optionally filtered to a language.

Inputs: language.

dictionary_rhymesA

Find words that rhyme with the input word. English only — backed by the offline CMU Pronouncing Dictionary.

Inputs: word (required), limit, perfect.

dictionary_semantic_neighborsA

Embedding-based nearest neighbors via Numberbatch. Returns words from the same OR a different language, sorted by cosine similarity. Multilingual (78 languages).

Inputs: word (required), limit, language, targetLanguage.

dictionary_sounds_likeB

Find English words that sound similar to the input (homophones / soundalikes) via offline CMU dict.

Inputs: word (required), limit.

dictionary_spelled_likeA

Find English words matching a spelling pattern via offline CMU dict. '?' = any single letter, '*' = any zero+ letters. Useful for crosswords.

Inputs: pattern (required), limit.

dictionary_statusA

Get the current state of the offline data installation. Always available — even before the bundle has finished downloading. Returns: state (pending/downloading/ready/failed), per-artifact progress, total bytes downloaded, data directory, CDN URL, manifest version, and any error.

Inputs: no named parameters.

dictionary_suggestA

Get autocomplete suggestions for a partial English word via offline CMU dict (shortest matches first).

Inputs: prefix (required), limit.

dictionary_summaryA

Get a brief plain-text summary of a word's senses from the offline Wiktextract data. Concatenates the first definition of each sense.

Inputs: word (required), language.

dictionary_synonymsA

Get synonyms for a word in any language using the offline ConceptNet 5.7 SQLite (24M edges, 80+ languages).

Inputs: word (required), limit, language.

dictionary_translateC

Translate a word to another language via offline ConceptNet's cross-lingual Synonym links. Returns the same concept expressed in different languages.

Inputs: word (required), limit, language, targetLanguage.

dictionary_used_forB

Typical uses (UsedFor) via offline ConceptNet. E.g. knife -> cutting.

Inputs: word (required), limit, language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 28 tools

    Disambiguation5/5

    Each tool targets a specific linguistic relation or operation with clear, distinct descriptions. Even potentially overlapping tools like synonyms, means_like, and related are differentiated by their underlying data sources (ConceptNet vs Numberbatch embeddings).

    Naming Consistency5/5

    All tools follow a consistent 'dictionary_' prefix followed by a descriptive snake_case name. The pattern is uniform with no mixing of conventions or styles.

    Tool Count4/5

    28 tools is on the higher end but justified by the comprehensive coverage of dictionary features (definitions, etymology, pronunciation, semantic relations, search, data management). It remains manageable and focused.

    Completeness5/5

    The tool surface covers a wide range of dictionary and lexical relations: definitions, pronunciations, etymology, synonyms, antonyms, hypernyms, hyponyms, meronyms, holonyms, translations, rhymes, spelling, autocomplete, random access, and data installation status. No obvious gaps for the stated purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers