{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_h36cb9usrr9y","handle":"mcp-nlp","url":"https://wellknown.network/agents/mcp-nlp","links":{"self":"https://wellknown.network/agents/mcp-nlp/record.json","html":"https://wellknown.network/agents/mcp-nlp","markdown":"https://wellknown.network/agents/mcp-nlp/record.md","api":"https://wellknown.network/api/v1/agents/mcp-nlp","status":"https://wellknown.network/api/v1/agents/mcp-nlp/status","claim":"https://wellknown.network/agents/mcp-nlp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-nlp/claim.json","badge":"https://wellknown.network/agents/mcp-nlp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-nlp/history","tools":"https://wellknown.network/api/v1/agents/mcp-nlp/tools"},"ard":{"identifier":"urn:air::server:mcp-nlp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-nlp","summary":"MCP-NLP is a Python package for Natural Language Processing tasks using the MCP","description":"# mcp-nlp\n\nMCP-NLP is a FastMCP application designed to provide NLP (Natural Language Processing) capabilities using the Model Context Protocol (MCP).\n\n- **[FastMCP Framework v2](https://github.com/jlowin/fastmcp)**: A modern framework for fast, Pythonic way to build MCP servers.\n- **[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction)**: A protocol that allows for the management and control of LLM contexts.\n- **NLP-modules**\n  - `textdistance`: A module for calculating text distance metrics\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- [Python 3.12](https://www.python.org/downloads/)\n- [Docker](https://www.docker.com/get-started)\n- [uv](https://docs.astral.sh/uv/getting-started/installation/)\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/tivaliy/mcp-nlp.git\n   cd mcp-nlp\n   ```\n\n1. Install dependencies (using `uv`):\n\n   ```bash\n   uv sync\n   ```\n\n## Configuration\n\n### Authentication Modes\n\nThe MCP-NLP server supports two authentication modes:\n\n1. **Unauthenticated Mode** (default):\n\n   - No API key required to access the server\n   - Set environment variable `API_KEY_ENABLED=False`\n\n1. **API Key Authentication**:\n\n   - Requires a valid API key in the request header\n   - Set environment variable `API_KEY_ENABLED=True` and `API_KEY=your-secret-key`\n   - By default, the header name is `X-API-Key` (can be customized with `API_KEY_NAME`)\n\nExample `.env` file:\n\n```bash\n# Authentication configuration\nAPI_KEY_ENABLED=True\nAPI_KEY=not-a-secret\n# API_KEY_NAME=X-API-Key  # Optional: customize header name\n```\n\n## Available Tools\n\nThe MCP-NLP server currently provides the following MCP tools:\n\n### Text Distance Module\n\nCalculate similarity/distance between text sequences using various algorithms:\n\n- **`#textdistance_measure`**:\n\n  - **Purpose**: Measures text distance between two sequences of strings\n  - **Parameters**:\n    - `source` (required): The source text string\n    - `ref…","publisher":null,"homepage":null,"repository":null,"version":"0.0.1","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:mcp-nlp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.version-control","name":"Version Control","confidence":1,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mcp-nlp","registry":"pypi","observedAt":"2026-11-09T16:26:10.746Z","publishedAt":"2025-08-04T09:44:50.821155Z","latestVersion":"0.0.1"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-nlp","url":"https://pypi.org/project/mcp-nlp/","firstSeenAt":"2026-09-10T02:24:12.544Z","fetchedAt":"2026-11-09T16:25:00.719Z","normalizedAt":"2026-11-09T16:25:00.719Z"}]},"firstSeenAt":"2026-09-10T02:24:12.544Z","updatedAt":"2026-11-09T16:26:10.746Z"}