Skip to main content
Glama
multilingual-dictionary-mcp

multilingual-dictionary-mcp

by Eyalm321

Multilingual Dictionary MCP

**多言語辞書検索および単語関係(類義語、対義語、上位語、下位語、部分語、翻訳、語源、定義、韻など)**のためのMCPサーバーです。3つの無料公開APIを統合することで、あらゆる言語をカバーしています。

  • ConceptNet — 多言語セマンティックネットワーク(80以上の言語、単語関係:類義語、対義語、IsA、PartOf、RelatedTo、DerivedFromなど)

  • Wiktionary — 4000以上の言語における定義、語源、発音

  • Datamuse — 英語専用ユーティリティ(韻、同音異義語、「意味が似ている」、綴りのパターン、文脈上のトリガー)

APIキーは不要。バンドルされたデータもありません。Claude(または任意のMCPクライアント)にプラグインするだけで、あらゆる言語の単語について質問できます。


インストール

npmから

npm install -g multilingual-dictionary-mcp

GitHub Packagesから

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

Claude Desktop / Claude Codeの設定

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

Related MCP server: word-orb

ツール

多言語の単語関係 (ConceptNet)

これらはすべて word(単語)、ISO 639-1 language コード(デフォルトは en)、および limit を受け取ります。英語、スペイン語、フランス語、ドイツ語、イタリア語、ロシア語、ヘブライ語、アラビア語、ラテン語、中国語、日本語など、70以上の言語で動作します。

ツール

説明

dictionary_synonyms

似た意味を持つ単語

dictionary_antonyms

反対の意味を持つ単語

dictionary_related

緩やかに関連する用語 (RelatedTo エッジ)

dictionary_hypernyms

より広い概念/親概念 (犬 → 哺乳類)

dictionary_hyponyms

より狭い概念/子概念 (犬 → プードル)

dictionary_meronyms

部分/構成要素 (車 → 車輪)

dictionary_holonyms

これを含む全体 (車輪 → 車)

dictionary_derived_from

語源的なルーツ

dictionary_etymologically_related

言語をまたぐ同根語や共通のルーツ

dictionary_used_for

一般的な用途 (ナイフ → 切る)

dictionary_capable_of

一般的な動作 (犬 → 吠える)

dictionary_at_location

一般的な場所 (本 → 図書館)

dictionary_translate

言語間類義語 — 単語を翻訳する

dictionary_all_relations

1回の呼び出しで単語のすべての関係を取得

定義と語源 (Wiktionary)

ツール

説明

dictionary_lookup

言語別にグループ化された定義 (en.wiktionary経由で4000以上の言語)

dictionary_summary

Wiktionaryの各エディションからの簡潔なプレーンテキスト要約

dictionary_etymology

語源セクション(プレーンテキスト)

dictionary_pronunciation

発音セクション(通常はIPA)

dictionary_search

Wiktionaryのエディションで一致するページを検索

dictionary_random

Wiktionaryの各エディションからランダムな単語を取得

英語専用ユーティリティ (Datamuse)

ツール

説明

dictionary_rhymes

完全な韻または近い韻

dictionary_sounds_like

同音異義語 / 音が似ている単語

dictionary_means_like

MLベースの「おおよそ意味が似ている」 — 類義語よりも広い

dictionary_spelled_like

? および * ワイルドカードを使用した綴りパターン

dictionary_suggest

オートコンプリート

dictionary_triggers

統計的に関連する用語 (牛 → 牛乳、農場)

dictionary_follows

一般的に後に続く単語 (飲む → コーヒー)

dictionary_precedes

一般的に前に来る単語 (観客 → 虜にする)

キャッシュ管理

ツール

説明

dictionary_cache_stats

メモリ内レスポンスキャッシュのヒット数/ミス数/サイズを確認

dictionary_cache_clear

キャッシュをクリアして強制的に最新のアップストリーム検索を行う


キャッシング

成功したすべてのアップストリームレスポンスは、リクエストURL全体をキーとして、サーバープロセスの存続期間中メモリ内にキャッシュされます。同じセッション内での同一のフォローアップ呼び出しは、ConceptNet/Wiktionary/Datamuseに再度アクセスすることなく即座に返されます。

  • デフォルトTTL: 24時間

  • デフォルトの最大エントリ数: 5000 (LRUによる削除)

  • dictionary_random では無効(変化することが期待されるため)

  • ディスクへの永続化なし — キャッシュはサーバー起動のたびに再構築されます

環境変数で調整可能:

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

例

> 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"]

開発

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

プロジェクト構成

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 / リリース

  • CI は、Node 20および22上で、main ブランチへのすべてのプッシュおよびPRに対して実行されます。

  • 公開 は、GitHub Releaseが作成されたときに実行されます。テストとビルドを行い、npm (multilingual-dictionary-mcp) と GitHub Packages (@eyalm321/multilingual-dictionary-mcp) の両方に公開します。

リリース手順:

  1. package.json の version を更新してコミットします。

  2. タグを付けてプッシュします (例: git tag v0.1.1 && git push --tags)。

  3. そのタグを指すGitHub Releaseを作成します。公開ワークフローが残りの処理を行います。

公開ワークフローには、NPM_TOKEN (npm自動化トークン) と GITHUB_TOKEN (GitHub Actionsによって自動提供) の2つのリポジトリシークレットが必要です。


ライセンス

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