russian-word-mcp 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -1,11 +1,13 @@
1
1
  # russian-word-mcp
2
2
 
3
- [![russian-word-mcp MCP server](https://glama.ai/mcp/servers/akinakkusru-max/russian-word-mcp/badges/score.svg)](https://glama.ai/mcp/servers/akinakkusru-max/russian-word-mcp)
3
+ [![npm](https://img.shields.io/npm/v/russian-word-mcp)](https://www.npmjs.com/package/russian-word-mcp) [![russian-word-mcp MCP server](https://glama.ai/mcp/servers/akinakkusru-max/russian-word-mcp/badges/score.svg)](https://glama.ai/mcp/servers/akinakkusru-max/russian-word-mcp)
4
4
 
5
5
  **Give your AI assistant reliable Russian word stress, inflection tables and dictionary lookup.**
6
6
 
7
7
  Language models often put the stress on the wrong syllable in Russian, and they rarely say when a word's stress depends on its meaning. This [MCP](https://modelcontextprotocol.io) server answers from a dictionary of about 59,000 words and 567,000 inflected forms instead of from the model's memory.
8
8
 
9
+ ![The server adds stress marks to a sentence, lists both meanings of замок, and declines человек](https://raw.githubusercontent.com/akinakkusru-max/russian-word-mcp/main/docs/demo.gif)
10
+
9
11
  | Tool | What it does |
10
12
  |---|---|
11
13
  | `stress_text` | Adds stress marks and restores ё in any Russian text. Words whose stress depends on meaning or case are **left unmarked and listed with every option**, most common first, so the assistant picks by context instead of guessing. |
@@ -45,7 +47,7 @@ Try it first on [Glama](https://glama.ai/mcp/servers/akinakkusru-max/russian-wor
45
47
  Claude Code:
46
48
 
47
49
  ```bash
48
- claude mcp add russian-word -- npx -y github:akinakkusru-max/russian-word-mcp
50
+ claude mcp add russian-word -- npx -y russian-word-mcp
49
51
  ```
50
52
 
51
53
  Claude Desktop or any MCP client (add to its config file):
@@ -53,7 +55,7 @@ Claude Desktop or any MCP client (add to its config file):
53
55
  ```json
54
56
  {
55
57
  "mcpServers": {
56
- "russian-word": { "command": "npx", "args": ["-y", "github:akinakkusru-max/russian-word-mcp"] }
58
+ "russian-word": { "command": "npx", "args": ["-y", "russian-word-mcp"] }
57
59
  }
58
60
  }
59
61
  ```
@@ -73,6 +75,7 @@ Runs locally, offline, no API key. First start downloads the package; the dictio
73
75
  npm install
74
76
  npm test # 42 tests
75
77
  npm start # run the server on stdio
78
+ npm run demo # call the tools like an AI app (the GIF above)
76
79
  ```
77
80
 
78
81
  Rebuild the dictionary from source:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "russian-word-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server that gives AI assistants reliable Russian word stress, inflection tables and lemma lookup, built on the open OpenRussian dictionary.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -36,7 +36,8 @@
36
36
  "build:dict": "tsx scripts/build-dict.ts",
37
37
  "start": "tsx src/server.ts",
38
38
  "test": "vitest run",
39
- "typecheck": "tsc --noEmit"
39
+ "typecheck": "tsc --noEmit",
40
+ "demo": "node scripts/demo.mjs"
40
41
  },
41
42
  "dependencies": {
42
43
  "@modelcontextprotocol/sdk": "^1.32.2",