MCP-NLP is a Python package for Natural Language Processing tasks using the MCP
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-nlp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# mcp-nlp MCP-NLP is a FastMCP application designed to provide NLP (Natural Language Processing) capabilities using the Model Context Protocol (MCP). - **[FastMCP Framework v2](https://github.com/jlowin/fastmcp)**: A modern framework for fast, Pythonic way to build MCP servers. - **[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction)**: A protocol that allows for the management and control of LLM contexts. - **NLP-modules** - `textdistance`: A module for calculating text distance metrics ## Prerequisites Before you begin, ensure you have the following installed: - [Python 3.12](https://www.python.org/downloads/) - [Docker](https://www.docker.com/get-started) - [uv](https://docs.astral.sh/uv/getting-started/installation/) ## Installation 1. Clone the repository: ```bash git clone https://github.com/tivaliy/mcp-nlp.git cd mcp-nlp ``` 1. Install dependencies (using `uv`): ```bash uv sync ``` ## Configuration ### Authentication Modes The MCP-NLP server supports two authentication modes: 1. **Unauthenticated Mode** (default): - No API key required to access the server - Set environment variable `API_KEY_ENABLED=False` 1. **API Key Authentication**: - Requires a valid API key in the request header - Set environment variable `API_KEY_ENABLED=True` and `API_KEY=your-secret-key` - By default, the header name is `X-API-Key` (can be customized with `API_KEY_NAME`) Example `.env` file: ```bash # Authentication configuration API_KEY_ENABLED=True API_KEY=not-a-secret # API_KEY_NAME=X-API-Key # Optional: customize header name ``` ## Available Tools The MCP-NLP server currently provides the following MCP tools: ### Text Distance Module Calculate similarity/distance between text sequences using various algorithms: - **`#textdistance_measure`**: - **Purpose**: Measures text distance between two sequences of strings - **Parameters**: - `source` (required): The source text string - `ref…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.