# Text Diff (Python)

> Use this tool when you need to compare two text strings and generate unified diffs, solving problems in version control, code review, and document comparison. It takes two input strings and outputs their differences in a unified diff format, streamlining text comparison tasks. Ideal for AI models requiring efficient text diff operations without implementing custom comparison logic.

Canonical page: https://skillsregistry.net/skills/tatn-diff-python  
JSON: https://api.skillsregistry.net/v1/skills/tatn-diff-python

## Description

This MCP server, developed by Tatsu, provides a Python-based interface for obtaining text differences between two strings. Built using Python's difflib library and the Model Context Protocol, it offers a single tool for generating unified diffs. The implementation focuses on efficient text comparison, making it straightforward for AI models to analyze changes between versions of text. It's particularly useful for version control tasks, code review assistance, or document comparison workflows that require identifying and presenting textual differences, enabling AI to perform diff operations without needing to implement the comparison logic directly.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/tatn-diff-python)
- **Repository:** <https://github.com/tatn/mcp-server-diff-python>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "tatn-diff-python"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/tatn-diff-python` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/tatn-diff-python/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
