
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A FastMCP server that provides NLP text distance and similarity tools over the Model Context Protocol, with optional API key authentication.
MCP-NLP: an NLP text-distance MCP server is cataloged as an MCP server attributed to tivaliy. A FastMCP server that provides NLP text distance and similarity tools over the Model Context Protocol, with optional API key authentication. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP-NLP: an NLP text-distance MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It either runs unauthenticated by default or requires a valid API key in the request header when API key authentication is enabled.
It uses normalized_similarity by default.
README.md · 1fe225db7f5c · 采集于 2026-11-13 12:14:39 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
MCP-NLP is a FastMCP application designed to provide NLP (Natural Language Processing) capabilities using the Model Context Protocol (MCP).
textdistance: A module for calculating text distance metricsBefore you begin, ensure you have the following installed:
Clone the repository:
git clone https://github.com/tivaliy/mcp-nlp.git
cd mcp-nlp
Install dependencies (using uv):
uv sync
The MCP-NLP server supports two authentication modes:
Unauthenticated Mode (default):
API_KEY_ENABLED=FalseAPI Key Authentication:
API_KEY_ENABLED=True and API_KEY=your-secret-keyX-API-Key (can be customized with API_KEY_NAME)Example .env file:
# Authentication configuration
API_KEY_ENABLED=True
API_KEY=not-a-secret
# API_KEY_NAME=X-API-Key # Optional: customize header name
The MCP-NLP server currently provides the following MCP tools:
Calculate similarity/distance between text sequences using various algorithms:
#textdistance_measure:
source (required): The source text stringreference (required): The reference text string to compare againstalgorithm (optional): The algorithm to use (default: levenshtein)metric (optional): The metric to use (default: normalized_similarity)#textdistance_list_metrics:
distance, similarity, normalized_distance, normalized_similarity, maximumSupported Metrics:
distance: Raw distance scoresimilarity: Raw similarity scorenormalized_distance: Distance normalized to a 0-1 scalenormalized_similarity: Similarity normalized to a 0-1 scale (default)maximum: Maximum possible value for the algorithmDefault Algorithm: Levenshtein
To run the application locally:
Start the FastMCP application:
mcp-nlp --transport streamable-http
Access the MCP server endpoint at http://127.0.0.1:8000/mcp (in case of streamable-http transport)
To run the MCP server in a Docker container:
Build the Docker image:
docker build -t mcp-nlp .
Run the Docker container:
docker run --rm -e TRANSPORT=streamable-http -p 8000:8000 mcp-nlp
Access the MCP server endpoint at http://127.0.0.1:8000/mcp (in case of streamable-http transport)
Make sure to set the TRANSPORT environment variable to streamable-http or sse when running the Docker container.
To use the MCP-NLP server with VS Code:
Make sure your MCP-NLP server is running
Add the server configuration to your VS Code settings.json (using stdio transport):
{
"servers": {
"mcp-nlp": {
"type": "stdio",
"command": "${workspaceFolder}/.venv/bin/mcp-nlp",
"env": {
"API_KEY_ENABLED": "false"
}
}
}
}
Enable MCP in VS Code:
"chat.mcp.enabled": true,
"github.copilot.advanced": {
"mcp.enabled": true
}
You can now use the MCP-NLP tools directly in VS Code through GitHub Copilot
MCP | Model Context Protocol | FastMCP | NLP
This project is licensed under the MIT License. See the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP-NLP: an NLP text-distance MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-nlp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.