mcpField
D
Dictionary Server

Dictionary Server

Local
github.com/meowrainScience & Education8Updated 77w ago

About Dictionary Server

Dictionary Server is an MCP server that retrieves word information from the Cambridge Dictionary. Its lookup tool returns pronunciation, definitions, and example sentences for AI assistants and other MCP clients.

Key features

  1. 01Look up Cambridge Dictionary entries
  2. 02Retrieve pronunciation
  3. 03Return definitions
  4. 04Provide example sentences

Use cases

  1. 01Check a word's meaning
  2. 02Find a word's pronunciation
  3. 03Review example sentences

MCP support

Exposes the `lookup_word` tool to MCP clients, returning pronunciation, definition, and example sentences for a queried word.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"cambridge-dict": {
"command": "npx",
"args": [
"-y",
"mcp-server-dictionary"
]
}
}
}
Run commandnpx -y mcp-server-dictionary

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-server-dictionary

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
wordstringYesThe word to look up

Details

From the project README

MseeP.ai Security Assessment Badge

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.