MCP.so
登录

Dictionary Server MCP Server

@meowrain

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

meowrain

关于 Dictionary Server MCP Server

一个可以使用cambridge dictionary查询单词的mcp服务器

Dictionary Server MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "dictionary-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-dictionary"
      ],
      "disabled": false
    }
  }
}

Dictionary Server MCP Server 工具

1

概览

What is Dictionary Server?

Dictionary Server is a Model Context Protocol (MCP) server that retrieves word meanings, pronunciation, definitions, and example sentences from the Cambridge Dictionary. It is designed for developers building AI assistants (like Claude) or any MCP‑compatible tool that needs dictionary lookup capabilities.

How to use Dictionary Server?

Integrate the server by adding the following configuration to your MCP settings:

"mcp-server-cambridge-dict": {
  "command": "npx",
  "args": ["-y", "mcp-server-dictionary"],
  "disabled": false
}

After configuration, run the server with npm run start:mcp. You can also test it using the MCP Inspector via npm run inspector.

Key features of Dictionary Server

  • Seamless integration with Claude and other AI assistants via MCP.
  • Robust lookup_word tool for querying words.
  • Retrieves meaning, pronunciation, and example sentences from Cambridge Dictionary.
  • Returns structured JSON responses adhering to MCP specification.
  • Error responses include isError: true for transparent handling.

Use cases of Dictionary Server

  • Look up word definitions on‑the‑fly within an AI assistant conversation.
  • Build dictionary functionality into MCP‑based chat tools or agents.
  • Automate vocabulary research by querying pronunciation and usage examples.

常见问题

1

What data does Dictionary Server fetch?

It fetches word meaning, pronunciation, definition, and example sentences from the Cambridge Dictionary.

2

How do I integrate Dictionary Server with my application?

Add the provided npx command configuration to your MCP client’s settings (e.g., `mcp-servers-config.json`). Then the `lookup_word` tool will be available.

3

Can I test the server without a full MCP client?

Yes. Run `npm run inspector` to start the MCP Inspector, which allows you to test the `lookup_word` tool interactively.

4

What is the format of a successful response?

A successful query returns a JSON object with a `content` array containing a text element that holds the word query result in JSON format.

5

What happens if the word is not found or an error occurs?

The server returns an error response: a JSON object with a `content` array containing an error message text, and an `isError: true` flag.

评论

其他 分类下的更多 MCP 服务器