Skip to main content
Glama

iran-dictionary-mcp: Persian dictionary (لغت‌نامه) MCP server for AI agents, Abadis + Vajehyab

iran-dictionary-mcp is an unofficial, read-only MCP server that lets an AI agent look up Persian words, synonyms, antonyms and translations on two dictionary sites at once: Abadis (آبادیس, abadis.ir) and Vajehyab (واژه‌یاب, vajehyab.com). Its 7 tools return Dehkhoda, Moein and Amid meanings, synonyms and antonyms, pure-Persian equivalents, English, Arabic and Turkish translation with example sentences, spelling autocomplete and Persian first names. No API key or account is needed; it works in Claude, Cursor, Copilot and any other MCP client.

PyPI Python CI License: PolyForm Noncommercial

For AI agents · Quick start · Tools · Limits · فارسی


For AI agents

  • What: unofficial MCP server (model context protocol) for abadis.ir and vajehyab.com, merged: word meanings, synonyms and antonyms, translation, autocomplete, plus each site's own tools (Abadis first names, Vajehyab scoped search and full entries).

  • Install: uvx iran-dictionary-mcp or claude mcp add iran-dictionary -- uvx iran-dictionary-mcp. Transport: stdio. Needs uv (Python 3.10+).

  • Auth: none. Optional IRAN_DICTIONARY_MCP_PROXY (one HTTP proxy URL) applies to both sites; system proxy settings are ignored.

  • Access: read-only. It cannot log in or save words.

  • Tools: 7, all prefixed dic_. Four merged tools take source (all default, abadis, vajehyab) and answer with one block per site; if one site fails its block holds an error and the other still answers. The other three are one site's own tools.

  • Use when: the user asks what a Persian word means, wants synonyms, antonyms or a pure-Persian equivalent, a Persian-English, Arabic or Turkish translation, the right spelling, rhymes, or a Persian first name by meaning.

  • Output: compact JSON, mostly Persian text. Meaning text is cut short by default; full returns more.

Related MCP server: torob-mcp

Quick start

You need uv. No API key or account.

Claude Code:

claude mcp add iran-dictionary -- uvx iran-dictionary-mcp

Claude Desktop, Cursor, VS Code and other clients:

{
  "mcpServers": {
    "iran-dictionary": { "command": "uvx", "args": ["iran-dictionary-mcp"] }
  }
}

Example prompts:

  • "What does the Persian word سلام mean, according to Dehkhoda?"

  • "Give me synonyms and antonyms of دوست."

  • "Translate hello into Persian with example sentences."

  • نام دخترانهٔ ایرانی با معنی گل پیشنهاد بده.

  • معنی واژهٔ «دمساز» در لغت‌نامه دهخدا چیست؟

Real result (17 Nov 2026), dic_synonyms(word="دوست"): Abadis returns 19 synonyms (آشنا، حبیب، خلیل، دمساز، دوستدار، رفیق ...); Vajehyab returns the same 19, antonyms دشمن، عدو، خصم، متخاصم, and 6 entries that list دوست as their synonym (برادر، جانان، حریف، حمیم، حواری، مقترن).

Tools

Merged (both sites, source argument):

Tool

What it does

dic_lookup

Look a word up in the Persian dictionaries of Abadis and Vajehyab, one block per site.

dic_synonyms

Find synonyms, antonyms and pure-Persian equivalents (برابر پارسی) of a Persian word, one block per site.

dic_translate

Translate a single word or short phrase between Persian and English, Arabic or Turkish, one block per site.

dic_suggest

Complete the start of a word into dictionary headwords, one list per site; use it to find the exact spelling.

Single site:

Tool

What it does

dic_abadis_names

Search Abadis's Persian first-name list by name, gender, origin, theme or first letter.

dic_vajehyab_search

Search Vajehyab's dictionaries with a scope: exact entries, entries naming it a synonym or antonym, rhymes, sound-alikes.

dic_vajehyab_entry

Read one whole Vajehyab entry (for example the full Dehkhoda text with its poetry), cut at max_chars.

Limits

  • Single words and short phrases, not sentences. ar-fa with Arabic-letter spellings (such as كتاب with an Arabic kaf) was not checked and may find nothing.

  • Abadis has no Arabic or Turkish to Persian. Vajehyab's English translation is shorter than its site page, which adds a subscription source.

  • There is no public proverb or poetry search; Dehkhoda entries quote poetry.

  • Vajehyab engine excerpts are about 200 characters; use dic_lookup(full=True) or dic_vajehyab_entry for the whole entry.

  • Dictionary text is third-party content. Both sites answer from outside Iran.

فارسی

iran-dictionary-mcp یک سرور MCP غیررسمی و فقط‌خواندنی است که معنی واژه‌ها، مترادف و متضاد، برابر پارسی، ترجمه به انگلیسی، عربی و ترکی و نام‌های ایرانی را هم‌زمان از دو سایت آبادیس و واژه‌یاب (شامل لغت‌نامه دهخدا، معین و عمید) برای عامل هوش مصنوعی می‌آورد. نصب در Claude Code:

claude mcp add iran-dictionary -- uvx iran-dictionary-mcp

Development

uv sync
uv run ruff check . && uv run ruff format --check .
uv run pytest -q          # offline tests on recorded fixtures
uv run pytest -m live -q  # live calls to Abadis and Vajehyab

Releases: bump the version in pyproject.toml and server.json, run uv lock, then push a v* tag; GitHub Actions publishes to PyPI.

Disclaimer

Unofficial and not affiliated with or endorsed by Abadis or Vajehyab. It is read-only and uses the public pages and endpoints of those sites, which can change without notice.

Author

Built and maintained by Sepehr Radmard (سپهر رادمرد). LinkedIn · GitHub · more servers in iran-mcp.

مجوز استفاده (License)

استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.1.1 با مجوز MIT منتشر شده‌اند و همان مجوز را دارند.

Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.1.1 were released under MIT and stay under it.

Available Tools

7 tools
dic_abadis_namesAbadis: Persian first namesA
Read-onlyIdempotent

Search Abadis's Persian first-name list by name, gender, origin, theme or first letter.

gender: all, boy, girl. origin: all, farsi, arabi, kurdi, turki, lori, gilaki, mazani, balochi, zoroastrian, avestai, pahlavi, sanskrit, hebrew, hindi, armeni, greek, french, italian, english, latin, aramaic and others. category: all, religious, historic, artistic, nature, bird, flower, galactic. letter: one Persian letter, e.g. پ. sort: pop (popular, default), asc (alphabetical) or desc. 100 names per page; limit trims the answer. Each item has the name, pronunciation, a short meaning, gender, origin and theme. A name's full entry is in dic_lookup.

Inputs: page, sort, limit, query, +4 more.

dic_lookupLook up a wordA
Read-onlyIdempotent

Look a word up in the Persian dictionaries of Abadis and Vajehyab, one block per site.

Abadis: synonyms, Persian equivalents, English meanings, then Dehkhoda, Farhang-e Farsi, Moein, Amid, names and Arabic equivalents. Vajehyab: hits from Dehkhoda, Moein, Amid, names, Farhangestan and others, each with a text excerpt, slug and dictionary slug. Meaning text is cut short; set full for more, or use dic_vajehyab_entry.

Inputs: word (required), full, source.

dic_suggestAutocomplete wordsB
Read-onlyIdempotent

Complete the start of a word into dictionary headwords, one list per site; use it to find the exact spelling.

Inputs: prefix (required), limit, source.

dic_synonymsSynonyms and antonymsA
Read-onlyIdempotent

Find synonyms, antonyms and pure-Persian equivalents (برابر پارسی) of a Persian word, one block per site.

Abadis gives flat lists. Vajehyab gives the Motaradef dictionary entry (numbered senses, antonyms after ≠) and the words that list the query as their antonym or synonym (also_listed_by).

Inputs: word (required), source.

dic_translateTranslate a wordA
Read-onlyIdempotent

Translate a single word or short phrase between Persian and English, Arabic or Turkish, one block per site.

Vajehyab covers every direction. Abadis picks the direction from the script of the word (Latin: English to Persian, Persian: Persian to English and Arabic), adds parts of speech and sample sentences, and has no Arabic to Persian or Turkish. Arabic headwords match best when typed with Persian letters (ک, ی). Not for whole sentences.

Inputs: word (required), source, examples, direction.

dic_vajehyab_entryVajehyab: full entryA
Read-onlyIdempotent

Read one whole Vajehyab entry (for example the full Dehkhoda text with its poetry), cut at max_chars.

Get dictionary and slug from dic_lookup or dic_vajehyab_search hits.

Inputs: slug (required), dictionary (required), max_chars.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 7 tools

    Disambiguation3/5

    dic_lookup is a broad lookup tool that overlaps with dic_synonyms, dic_vajehyab_search, and dic_translate, since it already returns synonyms, Persian equivalents, English meanings, and dictionary hits. The descriptions clarify granularity and site scope, but an agent could still hesitate between general lookup, synonym lookup, and Vajehyab-specific search.

    Naming Consistency4/5

    All tool names use the same dic_ prefix and snake_case formatting, making the set predictable. The suffixes mix verbs (lookup, translate, suggest) with nouns and site-qualified labels (synonyms, abadis_names, vajehyab_search/entry), which is a minor inconsistency but still readable.

    Tool Count5/5

    Seven tools is a well-scoped size for a Persian dictionary server. Each tool maps to a distinct capability area: lookup, synonyms, name search, Vajehyab search, full entry retrieval, translation, and autocomplete.

    Completeness4/5

    The surface covers core dictionary workflows: word lookup, dictionary search, full Vajehyab entries, synonyms/antonyms, translation, autocomplete, and Persian name search. Minor gaps remain, such as no dedicated full-entry retrieval for Abadis or explicit pronunciation/etymology tools, but agents can mostly work around these via dic_lookup.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A read-only MCP server that lets AI agents search MasterKala's catalog of gadgets and accessories, compare prices and specs, read reviews, check stock and delivery slots, and surface today's discounts. It runs locally over stdio with no login or API key, returning compact structured JSON.
      14
      304 PyPI
      PolyForm Noncommercial 1.0.0
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI agents to compare prices across Iranian online and in-person shops, inspect each seller's offer with warranty and installment details, review roughly a year of price history, score deals, and find the cheapest shop for a whole basket. It is read-only, requires no account or API key, and runs locally for Claude, Cursor or Copilot.
      26
      454 PyPI
      1
      PolyForm Noncommercial 1.0.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to read public Hamrah Mechanic data read-only with no API key: daily Iranian car market prices by brand, model, trim and year, price ranges and monthly history, filtered used and zero-km listings with full ad details, inspection fees, showroom locations, and expert reviews and magazine articles. Works in Claude, Cursor, Copilot and other MCP clients over stdio.
      12
      164 PyPI
      2
      PolyForm Noncommercial 1.0.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search and browse the public Filimo and Namava movie and series catalogs, including title details, episodes, cast, genres, similar titles, curated lists, new releases, and Namava subscription plans. It is read-only, needs no API key or account, and provides compact JSON through MCP clients such as Claude, Cursor, and Copilot.
      13
      146 PyPI
      1
      PolyForm Noncommercial 1.0.0