MCP.so
登录

mcp-nlp

@tivaliy

关于 mcp-nlp

MCP-NLP is a FastMCP application designed to provide NLP (Natural Language Processing) capabilities using the Model Context Protocol (MCP)

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

tivaliy

配置

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

{
  "mcpServers": {
    "mcp-nlp": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp-nlp?

MCP-NLP is a FastMCP application built with the FastMCP v2 framework that provides NLP capabilities, specifically text distance metrics via the textdistance module, using the Model Context Protocol (MCP).

How to use mcp-nlp?

Clone the repository, install dependencies with uv sync, then run locally using uvicorn app.main:http_app --reload or build and run a Docker container with docker build -t mcp-nlp . followed by docker run --rm -p 8000:8000 mcp-nlp. The MCP server endpoint is accessible at http://127.0.0.1:8000/mcp/ using the streamable-http transport.

Key features of mcp-nlp

  • Built on the FastMCP v2 framework for Pythonic MCP servers
  • Provides NLP text distance calculations via textdistance
  • Supports local and Docker deployment
  • Uses streamable-http transport
  • Requires Python 3.12, Docker, and uv

Use cases of mcp-nlp

  • Compute text similarity or distance between strings
  • Add NLP functionality to LLM context management pipelines
  • Deploy a lightweight MCP server for text analysis tasks

FAQ from mcp-nlp

What is MCP-NLP?

MCP-NLP is a FastMCP application that provides NLP capabilities, including text distance metrics, using the Model Context Protocol.

What are the prerequisites?

Python 3.12, Docker, and uv are required.

How do I run the MCP server locally?

Create a .env file, then run uvicorn app.main:http_app --reload and access the endpoint at http://127.0.0.1:8000/mcp/.

How do I run it using Docker?

Build the image with docker build -t mcp-nlp . and run the container with docker run --rm -p 8000:8000 mcp-nlp.

评论

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