MCP cover image
See in Github
2025-04-02

一个可以使用剑桥词典查询单词的mcp服务器

1

Github Watches

0

Github Forks

0

Github Stars

Dictionary Server

smithery badge

A dictionary server supporting the Model Context Protocol (MCP).

Retrieves word meanings from the Cambridge Dictionary.

Adding MCP to Command Line

To integrate the MCP server into your command line, add the following configuration:

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

Features

  • Seamless integration with Claude and other AI assistants via the MCP protocol.
  • Robust dictionary query tools.
  • Retrieves word meanings from the Cambridge Dictionary.

Development

Install Dependencies

Install the required dependencies:

npm install

Build the Server

Build the server for production:

npm run build

Development Mode

Enable auto-rebuild during development:

npm run watch

Running the Server

Start the MCP server with the following command:

npm run start:mcp

Testing with MCP Inspector

To test the server, use the MCP Inspector:

npm run inspector

MCP Response Specification

This server adheres to the MCP response specification.

Tool Response

A successful word query returns the following format:

{
  "content": [
    {
      "type": "text",
      "text": "Word query result (in JSON format)"
    }
  ]
}

Error Response

In case of an error, the response format is:

{
  "content": [
    {
      "type": "text",
      "text": "Error message"
    }
  ],
  "isError": true
}

API Documentation

lookup_word

Fetches the pronunciation, definition, and example sentences for a word.

Parameters

  • word (string): The word to query.

Returns

Detailed information about the word, including pronunciation, definition, and example sentences.

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

    Reviews

    3 (1)
    Avatar
    user_gEPzfOIL
    2025-04-16

    I've been using the mcp-server-cambridge-dict developed by meowrain for a while now, and I'm thoroughly impressed. It seamlessly integrates with my mcp application, providing accurate and comprehensive definitions right at my fingertips. The user interface is intuitive, making it easy to navigate and find the information I need. Highly recommend for anyone looking to enhance their mcp experience. Check it out: https://github.com/meowrain/mcp-server-cambridge-dict.