Skip to main content
Glama
Dictionary Lookup MCP Server

Dictionary Lookup MCP Server

Servidor MCP de Búsqueda en Diccionario

Un servidor Model Context Protocol mínimo, construido con el SDK oficial de Python. Expone una única herramienta, define, que busca la definición de una palabra en inglés usando la API gratuita de dictionaryapi.dev.

Este proyecto se creó como ejercicio de aprendizaje para entender cómo se estructuran los servidores MCP, cómo se comunican con los clientes y cómo se implementan públicamente.

Qué hace

  • Expone una única herramienta: define(word: str) -> str

  • Dada una palabra, devuelve su categoría gramatical y su definición

  • No requiere clave de API ni autenticación

Related MCP server: yifanli-mcp-add-demo

Requisitos

  • Python 3.10+

  • uv (recomendado) o pip

Configuración (local)

# 1. Clone this repo
git clone <your-repo-url>
cd my-mcp-server

# 2. Install dependencies
uv sync

Ejecutarlo localmente

Opción A — Inspector MCP (herramienta de prueba visual, la más sencilla para principiantes):

uv run mcp dev server.py

Esto abre un inspector basado en navegador donde puedes llamar a la herramienta define directamente y ver la solicitud/respuesta sin necesidad de un cliente de IA completo.

Opción B — Conectar con Claude Desktop:

Añade esto a tu archivo de configuración de Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "dictionary-lookup": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/my-mcp-server",
        "run",
        "server.py"
      ]
    }
  }
}

Reinicia Claude Desktop y luego pregunta algo como: "Usa la herramienta de diccionario para definir 'ephemeral'."

Ejemplo de uso

Entrada: define("ephemeral") Salida: ephemeral (adjective): lasting for a very short time.

Despliegue

Este servidor está publicado en Smithery: <link una vez desplegado>

Para desplegar tu propia copia:

  1. Sube este repositorio a GitHub.

  2. Asegúrate de que server.py sea compatible con el transporte streamable-http para el alojamiento remoto.

  3. Alójalo (p. ej., Render/Railway) o usa el flujo de publicación de Smithery.

  4. En Smithery, elige "Publicar vía URL" y apunta a la URL de tu servidor alojado.

Por qué este proyecto

Creado para aprender los fundamentos de MCP: cómo un cliente descubre las herramientas de un servidor, cómo se realiza y se responde una llamada a una herramienta, y cómo un servidor en funcionamiento se comparte públicamente a través de un marketplace como Smithery.

Available Tools

1 tool
defineA

Look up the definition of an English word and return it as text.

Inputs: word (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no possibility of confusing it with another tool. Its purpose is immediately clear and unambiguous.

    Naming Consistency5/5

    The single tool name 'define' is a clear imperative verb that matches its action. With only one tool, there are no mixed naming conventions or inconsistencies.

    Tool Count3/5

    One tool feels thin for a server labeled as a dictionary lookup service, though it does cover the core definition lookup need. It is borderline rather than extreme.

    Completeness4/5

    The core lookup functionality is covered well, but a dictionary server might reasonably include related operations like synonyms, usage examples, or pronunciation. These are minor gaps rather than fatal omissions.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A minimal Model Context Protocol server built with FastAPI that provides a basic "Hello World" resource and tool. Serves as a starting point for building and validating MCP client integrations with richer resources and tools.
      -
    • F
      license
      B
      quality
      Not graded
      maintenance
      A minimal Model Context Protocol server that provides a simple tool for adding two integers. It serves as a demonstration of the official Python MCP SDK and is designed for local execution via stdio.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      A minimal starting point for a Model Context Protocol server with stdio transport and one tool, enabling quick setup and custom tool addition.
      1
      ISC