Metadata-Version: 2.4
Name: mdict-mcp
Version: 0.2.4
Summary: MCP server to allow LLMs to read MDX/MDD dictionary files directly
Author-email: cdpath <cdpath@outook.com>
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: click>=8.2.1
Requires-Dist: mcp>=1.9.2
Requires-Dist: mdict-utils>=1.3.14
Requires-Dist: pydantic>=2.11.5
Provides-Extra: dev
Requires-Dist: black>=24.0.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.6.0; extra == 'dev'
Description-Content-Type: text/markdown

# MDict MCP Server


Config for Claude Desktop:

```
{
  "mcpServers": {
    "mdict": {
      "command": "uvx",
      "args": [
        "mdict-mcp"
      ],
      "env": {
        "MDICT_DICTIONARY_DIR": "/path/to/mdicts/"
      }
    }
  }
}

```

Config for ChatWise:

```
# type stdio
# env MDICT_DICTIONARY_DIR=/path/to/mdicts/
uvx mdict-mcp
```

Available Tools: [TOOLS.md](./TOOLS.md)


Dependencies: 

- mcp
- mdict-utils


Local testing:

```bash
uv --directory $HOME/Developer/mdict-mcp run mdict-mcp
```
