webster-dict-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
webster-dict-mcp
An MCP server that connects AI assistants (Claude Code, Claude Desktop, Codex CLI, …) to your Merriam-Webster account:
📅 see the words you saved today (or any day)
🔎 search the dictionary and thesaurus, get definitions
⭐ save new words to your list
🌅 get the Word of the Day
🧠 practice your saved words with spaced repetition, with every answer and score tracked in SQLite
Unofficial. It uses the same private endpoints merriam-webster.com uses in the browser, authenticated with your own login cookies. It may break if MW changes their site.
Requirements
Node.js 22.13+ (uses the built-in
node:sqlite)curlon your PATH (macOS, Linux, WSL, and Windows 10+ have it)A merriam-webster.com account
Related MCP server: mcp-merriam-webster
Install
From npm:
npm install -g webster-dict-mcpOr from source:
git clone <this repo> webster-dict && cd webster-dict
npm installConfigure your login
The server reads two cookies from an env file outside the repo, at ~/.config/webster-dict/.env by default.
mkdir -p ~/.config/webster-dict && chmod 700 ~/.config/webster-dict
cp .env.example ~/.config/webster-dict/.env # or create it by hand
chmod 600 ~/.config/webster-dict/.envTo fill it in:
Log in at merriam-webster.com.
Open DevTools → Application (Chrome) or Storage (Firefox) → Cookies →
https://www.merriam-webster.com.Copy two values:
MW_SESSION=<value of the MWCOMSESS cookie>
MW_REMEMBER_ME=<value of the remember_me cookie>If a tool says "session missing or expired", repeat these steps. The cookies are your login, so treat them like a password.
All settings
Variable | Default | Purpose |
|
| |
|
| |
| Full raw | |
| desktop Firefox | Should match the browser |
|
| Path to curl |
|
| Where to read the variables above from |
| see Data | SQLite database path |
Variables already set in the environment (for example by your MCP client config) win over the env file.
Connect it to your AI
The commands below assume a global npm install. From a source checkout, replace webster-dict-mcp with node /path/to/webster-dict/src/server.js.
Claude Code
claude mcp add --scope user webster -- webster-dict-mcpCodex CLI
codex mcp add webster -- webster-dict-mcpor in ~/.codex/config.toml:
[mcp_servers.webster]
command = "webster-dict-mcp"Claude Desktop (claude_desktop_config.json)
{ "mcpServers": { "webster": { "command": "webster-dict-mcp" } } }On Windows, with the server installed inside WSL:
{ "mcpServers": { "webster": {
"command": "wsl.exe",
"args": ["-e", "/home/<you>/.nvm/versions/node/<ver>/bin/node", "/home/<you>/path/to/webster-dict/src/server.js"]
} } }ChatGPT (web/app) only supports remote HTTPS MCP servers, which this stdio server isn't. Use Codex CLI instead.
Tools
Tool | What it does |
| Words you saved on a day (default today) |
| Browse your saved list. |
| Save a word. Checks the entry exists first, suggests spellings if not, and reports |
| Autocomplete search plus spelling suggestions |
| Definitions, part of speech, pronunciation, examples |
| Featured meaning, examples, "did you know" |
| Starts a quiz session. |
| Logs an answer and returns the running session score |
| Overall accuracy, streak, recent session scores, daily scores, weakest and mastered words |
Prompt: practice_session (count, source, mode) runs a whole quiz: one question at a time, lenient grading, a score at the end compared with your recent sessions.
Things to ask your AI:
"What words did I save today? Quiz me on them."
"Save sesquipedalian to my list."
"How have my scores been this week? Which words do I keep missing?"
Data
Practice history is stored in SQLite:
source checkout:
<project>/.dist/webster.db(gitignored)npm install:
~/.local/share/webster-dict/webster.dboverride:
WEBSTER_DB=/any/path.db
Table | Contents |
| Spaced-repetition box (1 = struggling … 5 = mastered), times seen and correct, first and last seen |
| One row per quiz: start time, source, mode, planned question count |
| Every answer: session, word, correct or not, what you typed, timestamp |
sqlite3 .dist/webster.db "SELECT word, box, correct, seen FROM words ORDER BY box"How it works
HTTP goes through
curl, not Node'sfetch. Cloudflare challenges Node's TLS fingerprint, and curl also uses the system CA store, which matters behind corporate proxies. Cookies are passed to curl on stdin, never as arguments, so they don't appear inps.Saved words and saving use MW's
/lapi/v1/wordlist/*endpoints with your cookies.Definitions and the Word of the Day are parsed from the public HTML pages.
Practice uses a Leitner system. A right answer moves a word up one box, a wrong one sends it back to box 1. Quizzes favor low-box, overdue and never-practiced words.
Development
npm run inspect # MCP Inspector UI against the local server
npm run check # syntax check
node src/server.js --helpReleasing
Versions follow semver and are managed by npm version, which runs the checks, bumps package.json, commits, and tags vX.Y.Z. The server reads its version from package.json.
# 1. add the release notes under "Unreleased" in CHANGELOG.md, then commit
npm version patch # or minor / major
git push --follow-tags
npm publishLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connects an AI assistant to your Lingard account (lingard.app), an app for learning languages with books, news and flashcards. Create topic word collections and add complete cards: translation, part of speech, pronunciation, synonyms, example sentences with translations, and images. Fill in missing fields on existing cards, rewrite example translations, and pause or resume collections, books and news in your daily study sessions. Every change can be previewed before it is saved, and saved words appear in the Lingard apps on iOS, Android and the web. Requires a Lingard account; sign-in uses OAuth.
Lexpad is a vocabulary notebook with spaced repetition, in 81 languages. Connect it to ChatGPT or Claude and ask the assistant to save a word from your chat, show the words due today or quiz you. Each answer counts as practice and moves the word through its Leitner boxes. Sign-in is OAuth 2.1 with PKCE on a Lexpad page. 20 tools; the ones that overwrite or delete are marked, so the client asks first. Connecting is free. On Lexpad's Free plan the assistant writes 10 cards a day; on Pro it is unlimited, up to 1,000 a day. Guide and example prompts: https://lexpad.app/features/assistants
Save words from your AI chats as spaced-repetition flashcards, with meanings, IPA and audio.
Save words to your Polidict vocabulary and practice them with spaced repetition from any AI chat.
Related MCP Servers
- AlicenseDqualityCmaintenanceEnables AI assistants to look up word definitions, pronunciations, and example sentences from the Cambridge Dictionary through natural language queries.122 npm9MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying Merriam-Webster's Collegiate Dictionary and thesaurus via natural language, providing definitions, synonyms, and related word data.99 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to search the Inoh dictionary and create, update, or delete vocabulary flashcards in the user's Inoh account through natural language.-
- AlicenseCqualityCmaintenanceEnables users to connect their Maimemo account through a local MCP to query vocabulary, manage cloud wordbooks and learning materials, review study progress, and perform study actions via natural language.251MIT