Skip to main content
Glama
README.md
# duden-mcp πŸ“–

mcp-name: io.github.mohammad-abbasi-sh/duden-mcp

Unofficial **read-only** MCP server for **[duden.de](https://www.duden.de)** β€” Duden dictionary lookup from duden.de (free, no key, no login): word meanings, synonyms, spelling with hyphenation, grammar notes and full verb conjugation. No key, no login.

> Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with duden.de.

## For AI agents

Add to your MCP client config (stdio):

```json
{
  "mcpServers": {
    "duden": {
      "command": "uvx",
      "args": ["duden-mcp==0.1.0"]
    }
  }
}
```

Or run locally: `python -m duden_mcp.server` (needs `mcp<2`, `httpx`).

## Tools

| Tool | Description |
|------|-------------|
| `duden_lookup_word` | Look up a German word in Duden: meanings, word type, frequency, hyphenation & grammar β€” `word` (e.g. Haus, laufen) |
| `duden_synonyms` | Synonyms of a German word from Duden β€” `word` |
| `duden_spelling` | Spelling of a German word: hyphenation and spelling notes β€” `word` |
| `duden_grammar` | Grammar notes for a German word: declension/conjugation summary β€” `word` |
| `duden_conjugate` | Full conjugation table of a German verb: present, past, perfect, participles, imperative β€” `verb` |
| `duden_search` | Search Duden headwords matching a query β€” `query`, `limit` 1..20 |
| `duden_health` | Reachability probe (ok / blocked / error) β€” one polite request |

## Notes

- All data comes from **Duden's public word pages** (free, no key, no login).
- Meanings are the numbered definitions from the word entry; synonyms are the ones listed on the entry (the dedicated `/synonyme/<word>` overview page only lists alphabetical navigation, so it is linked, not parsed).
- Word URLs use Duden's transliterated slug (Γ€β†’ae, ΓΆβ†’oe, ΓΌβ†’ue, ΓŸβ†’ss); lookup tries the transliterated form first, then the raw spelling.
- Ambiguous headwords redirect: `sein` β†’ `sein_Hilfsverb`, `haben` β†’ `haben_Hilfsverb` / `haben_Vollverb`. The tools follow Duden's own redirects, and `duden_conjugate` resolves the suffixed conjugation page through the word entry when the bare `/konjugation/<verb>` URL 404s.
- Hyphenation marks syllable breaks with `Β·` (Duden itself writes a soft hyphen or pipe).
- Conjugation tables include the reflexive pronouns Duden lists (e.g. `laufe (mich/mir)` for `laufen`).

Tests: 37/37 green (28 offline + 9 live, 2026-11-10).

## Development

```bash
python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/pip install -e .
.venv/bin/python -m pytest tests/ -q
```

## License

[PolyForm Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/) β€” free for personal and non-commercial use; commercial use needs a separate license (see LICENSE).

---

Built by [Mohammad Abbasi](https://github.com/mohammad-abbasi-sh) β€” [Almanibama](https://almanibama.ir) Β· [mabbasi.ir](https://mabbasi.ir)

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation3/5

duden_lookup_word is a broad superset that already returns hyphenation and grammar summary, overlapping with duden_spelling and duden_grammar. duden_grammar and duden_conjugate also sit close together (summary vs. full table), though the descriptions do help clarify intended use.

Naming Consistency4/5

All tools share the duden_ prefix and snake_case, making them easy to scan. The only minor inconsistency is mixing verbal actions (lookup, search, conjugate) with noun topics (synonyms, spelling, grammar).

Tool Count5/5

Seven tools is well-scoped for a dictionary lookup server, with focused capabilities for lookup, search, synonyms, spelling, grammar, conjugation, and service health. No obvious bloat or missing count-level adjustments.

Completeness4/5

The surface covers core dictionary needs: search, word entry, synonyms, spelling, grammar, and full conjugation. Minor gaps remain around pronunciation/audio and example sentences, but agents can still complete typical lexicon tasks.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues