Skip to main content
Glama
multilingual-dictionary-mcp

multilingual-dictionary-mcp

by Eyalm321

다국어 사전 MCP

다국어 사전 조회 및 단어 관계(유의어, 반의어, 상위어, 하위어, 부분어, 번역, 어원, 정의, 운율 등)를 위한 MCP 서버입니다. 세 가지 무료 공개 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

한 번의 호출로 단어의 모든 관계 조회

정의 및 어원 (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 릴리스가 게시될 때 실행됩니다. 테스트 및 빌드 후 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 릴리스를 생성하면 배포 워크플로우가 나머지를 처리합니다.

배포 워크플로우는 두 가지 저장소 비밀을 기대합니다: NPM_TOKEN(npm 자동화 토큰) 및 GITHUB_TOKEN(GitHub Actions에서 자동 제공).


라이선스

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