Skip to main content
Glama

Lexicon MCP

Lexicon MCP is a local-first multilingual dictionary, thesaurus, translation, lexical-relations, semantic-neighbour, and English wordplay server for the Model Context Protocol (MCP). It serves a versioned corpus from disk and performs no network access or data mutation while running.

IMPORTANT

The software and corpus are licensed separately. The Python source is Apache-2.0. Corpus components retain their upstream licenses; seeDATA_LICENSES.md.

Model-visible tools

The server exposes exactly six tools:

  1. dictionary_lookup

  2. dictionary_synonyms

  3. dictionary_translate

  4. dictionary_relations

  5. dictionary_semantic_neighbors

  6. dictionary_wordplay

Dataset installation, verification, repair, and rollback are deliberately CLI-only.

Related MCP server: FilePilot AI

Local development

Requirements: Python 3.13 and uv.

uv sync --extra dev
uv run pytest
uv run ruff check .

Run the MCP server after installing a verified dataset:

$env:LEXICON_DATA_DIR = 'E:\AI\data\lexicon-mcp'
uv run --frozen lexicon-mcp

The server never downloads data. If no verified corpus is active, it exits with a diagnostic containing the exact lexicon-data install command.

Dataset lifecycle

lexicon-data install --profile full --version data-v1.0.0
lexicon-data status
lexicon-data verify
lexicon-data repair
lexicon-data rollback

LEXICON_DATA_DIR selects the installation root. Releases are immutable and the active dataset is selected through an atomically replaced current.json pointer. Downloads resume into .partial files, are hash-checked before extraction, and are activated only after database/index integrity checks.

Corpus

The full build combines independently attributed snapshots of:

  • Open English WordNet 2025 for English synsets and lexical relations;

  • the English Wiktionary Wiktextract/Kaikki raw dump for multilingual entries, senses, examples, pronunciation, etymology, and translations;

  • ConceptNet 5.7 for multilingual lexical and commonsense relations;

  • ConceptNet Numberbatch 19.08 for multilingual semantic neighbours; and

  • CMUdict for English pronunciation and wordplay.

Every public result identifies its source, dataset version, language, sense scope, and license. ConceptNet-only results are explicitly unsensed.

Data builds and releases

sources.lock.json freezes exact source revisions and hashes. The build pipeline is streaming and checkpointed; it does not build the unused Google n-gram database from the earlier community project. Data artifacts are packaged into independently hashed parts below 1 GiB and published under a separate immutable data-v* release.

Code and data releases are intentionally separate:

  • code: v1.0.0

  • data: data-v1.0.0

The code release pins an exact compatible data release and never resolves latest.

Prior art

This is an independent clean-room implementation. The project idea was informed by Eyalm321/multilingual-dictionary-mcp, which is acknowledged as prior art. No source code or Git history was copied.

Security and privacy

  • Runtime databases are opened read-only and query-only.

  • SQL uses bound parameters; query text is never interpreted as SQL.

  • Tool inputs and result counts are bounded.

  • Runtime operation is fully offline.

  • Dataset administration is never exposed to the model.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Local-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.
    3
    9
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Local-first MCP server for safely searching, reading, summarizing, tagging, deduplicating, and organizing local files with scoped access, read-only defaults, and dry-run plans.
    14
    MIT
  • A
    license
    C
    quality
    A
    maintenance
    A full-featured secure MCP server for local file system operations, with built-in image processing, OCR and media tools. Fully compliant with the official Model Context Protocol specification, offering standardized request/response schemas, large-file streaming I/O, multi-transport remote deployment, and comprehensive text search & replace functionality for LLM agent integration.
    22
    Apache 2.0
  • A
    license
    -
    quality
    B
    maintenance
    Offline-first MCP server for web search and content fetching. It requires no external API keys and uses local models for intent classification, optional cross-lingual search, semantic re-ranking, and direct-answer extraction.
    ISC

View all related MCP servers

Related MCP Connectors

  • Dictionary MCP — wraps Free Dictionary API (free, no auth)

  • Wiktionary MCP — multilingual dictionary via Wikimedia REST + MediaWiki Action API

  • Bible corpus MCP server: scripture, Greek/Hebrew interlinear data, cross-refs, semantic search.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DilanRG/lexicon-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server