mcp-server-diff-python
An MCP server for obtaining text differences between two strings.
This server leverages Pythonβs standard library difflib to efficiently generate and provide differences between two texts in Unified diff format, making it ideal for text comparison and version control purposes.
Features
Tools
The server provides a single tool:
- get-unified-diff: Get differences between two texts in Unified diff format
- Arguments:
string_a: Source text for comparison (required)string_b: Target text to compare against (required)
- Return value: A string containing the differences in Unified diff format
- Arguments:
Usage
Claude Desktop
Using with Claude Desktop To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"mcp-server-diff-python": {
"command": "uvx",
"args": [
"mcp-server-diff-python"
]
}
}
or Add the following configuration:
git clone https://github.com/tatn/mcp-server-diff-python.git
cd mcp-server-diff-python
uv sync
uv build
"mcpServers": {
"mcp-server-diff-python": {
"command": "uv",
"args": [
"--directory",
"path\to\mcp-server-diff-python",
"run",
"mcp-server-diff-python"
]
}
}
Development
Debugging
You can start the MCP Inspector using npxwith the following commands:
npx @modelcontextprotocol/inspector uvx mcp-server-diff-python
npx @modelcontextprotocol/inspector uv --directory pathtomcp-server-diff-python run mcp-server-diff-python
Diff Server
Project Details
- tatn/mcp-server-diff-python
- MIT License
- Last Updated: 4/16/2025
Recomended MCP Servers
An MCP server paired with a browser extension that enables LLM clients to control the user's browser.
Official Notion MCP Server
π¨βπ§ δΊΊιγMCPγ΅γΌγγΌγ¨γγ¦ε©η¨γγπ©βπ§
Fully functional AI Logic Calculator utilizing Prover9/Mace4 via Python based Model Context Protocol (MCP-Server)- tool for Windows Claude...
A Model Context Protocol server for Jira.
Model Context Protocol (MCP) server for DeepSource
An intelligent MCP server that serves as a guardian of development knowledge, providing Cline assistants with curated access...
A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server...
A Model Context Protocol (MCP) server that integrates AI assistants with the Terraform Cloud API, allowing you to...
The Cursor10x MCP is a persistent multi-dimensional memory system for Cursor that enhances AI assistants with conversation context,...
Model Context Protocol (MCP) Server for Apify's Actors
cloudflare workers MCP server





