@hemingweb/wordnook-mcp
v1.0.40
Published
Offline-first linguistic Model Context Protocol (MCP) server providing dictionaries, thesauruses, and lemmatization for AI agents.
Maintainers
Readme
@hemingweb/wordnook-mcp
The official Model Context Protocol (MCP) server for WordNook.
🌐 Looking for the interactive dictionary application? Visit WordNook at wordnook.app — a fast, quiet, distraction-free English dictionary & thesaurus with zero ads, native audio pronunciation, and 100% offline PWA support.
WordNook MCP provides 100% on-device, offline linguistic intelligence for local LLMs, AI coding assistants, and agentic workflows (including Claude Desktop, Cursor, Ollama, Open WebUI, Antigravity, Zed, and Cline).
🔒 100% On-Device & Zero-Cloud Privacy
- Zero Cloud Calls: All lookups, typo corrections, morphological derivations, and thesaurus queries execute entirely on your local machine.
- Zero Telemetry or Tracking in MCP: The MCP server executes 100% locally via stdio with zero telemetry or network calls. Your prompts, text drafts, and dictionary queries are never transmitted over the internet or logged to any remote database.
- Zero API Keys: Works out-of-the-box with bundled offline datasets (
en-core,en-moby, anden-kaikki).
⚡ Quick Start (Zero-Install via npx)
You do not need to clone any repository. Run WordNook MCP directly with npx:
1. Claude Desktop
Add WordNook to your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"wordnook": {
"command": "npx",
"args": ["-y", "@hemingweb/wordnook-mcp"]
}
}
}Tip: To launch with the massive 380,000+ word Kaikki Wiktionary pack active by default, add
"--pack", "en-kaikki"toargs.
Restart Claude Desktop, and the hammer icon in the prompt input will reveal WordNook's tools.
2. Cursor, Antigravity, Zed & Cline
In your workspace or global MCP settings (~/.cursor/mcp.json or .mcp.json):
{
"mcpServers": {
"wordnook": {
"command": "npx",
"args": ["-y", "@hemingweb/wordnook-mcp"]
}
}
}3. Open WebUI (Local HTTP/SSE Mode)
Open WebUI connects to MCP servers over Streamable HTTP (SSE):
- Start the server in your terminal:
npx -y @hemingweb/wordnook-mcp --port 8001 --pack en-kaikki - In Open WebUI, navigate to: Admin Panel $\rightarrow$ Settings $\rightarrow$ Tools $\rightarrow$ Add Tool.
- Configure:
- Type:
MCP (Streamable HTTP) - URL:
http://localhost:8001/sse(orhttp://host.docker.internal:8001/sseif running in Docker)
- Type:
🛠️ Available MCP Tools
WordNook exposes 8 specialized linguistic tools:
| Tool | Parameters | Description |
|---|---|---|
| lookup_word | word: string (required)packId?: stringincludeEtymology?: boolean | Full definitions, phonetics (IPA), parts of speech, examples, etymology, and synonyms. Automatically resolves inflections (e.g. "springing" $\rightarrow$ "spring"). |
| search_words | query: string (required)limit?: number (default 10)fuzzy?: boolean (default true) | Instant prefix autocomplete and typo suggestions scored by Levenshtein edit distance. |
| find_synonyms | word: string (required)partOfSpeech?: stringlimit?: number (default 20) | Curated thesaurus synonyms and antonyms combining Wordset and Moby Thesaurus II (>2.5 million terms). |
| lemmatize_word | word: string (required) | Morphological analysis that strips inflectional affixes (-ing, -ed, -s, -ies, -ly, -er, -est) to find root lemmas. |
| get_word_of_the_day | date?: string (ISO format, optional) | Deterministic, offline calendar Word of the Day matching the exact wordnook.app daily selection. |
| get_random_word | count?: number (1-10, default 1)minDefinitions?: number | Serendipitous curated vocabulary discovery for creative writing, learning, and test generation. |
| list_packs | None | Lists installed and available reference packs, indicating entry counts and the currently active pack. |
| set_active_pack | packId: string (required) | Dynamically switches the active dictionary pack (e.g. "en-kaikki" for 380k+ words, or "en-core" for the curated starter pack). |
📚 Bundled Reference Data Packs
WordNook MCP includes offline compressed datasets that load on demand:
- English Core (
en-core): ~50,000 curated headwords derived from Wordset and WordNet 3.0 (fast, clean, primary definitions). - Moby Thesaurus II (
en-moby): Grady Ward's massive public domain thesaurus with over 2.5 million synonyms across 30,000 root word clusters. - Wiktionary (
en-kaikki): Complete Wiktionary extract via Kaikki.org with 379,894 English headwords, international loanwords, and deep etymologies.
💡 Contextual Resources (wordnook://)
Directly inspectable by AI agents:
wordnook://definitions/{word}: Full markdown definition card for any English word.wordnook://thesaurus/{word}: Structured JSON synonym and antonym hierarchy.wordnook://word-of-the-day: Today's curated featured word and phonetics.wordnook://stats: Total loaded vocabulary count, active pack, and system health.
🎨 Curated Prompt Templates
vocabulary_enhancer: Elevates draft prose to match a requested tone (literary,academic, orplain) while strictly preserving intended meaning.etymology_and_nuance: Analyzes subtle shades of meaning between near-synonyms using classical origins and example sentences.word_puzzle_assistant: Solves crossword clues, word games, and anagrams against verified dictionary entries.
💻 CLI Options & Flags
When running npx -y @hemingweb/wordnook-mcp:
Options:
--port, -p <number> Run in HTTP/SSE mode on specified port (e.g. for Open WebUI)
--pack <packId> Set default active pack on startup (e.g. "en-kaikki" or "en-core")
--data-dir <path> Path to directory containing custom data packs (*.json.gz)
--version, -v Show version
--help, -h Show help banner🔗 Links & Resources
- WordNook Web Application: https://wordnook.app
- WordNook Interactive User Manual: https://wordnook.app/manual
- WordNook MCP Technical Specification: https://wordnook.app/docs/MCP_SERVER_SPECIFICATION.md
- npm Registry Package: https://www.npmjs.com/package/@hemingweb/wordnook-mcp
📄 License & Attribution
- WordNook MCP is licensed under CC-BY-SA 4.0.
- Lexicographical data includes content from Wordset (CC-BY-SA 4.0), Kaikki.org Wiktionary (CC-BY-SA 4.0), and Moby Thesaurus II (Public Domain).
