Developer Tools

MCP Server

Let AI agents compare documents through Differino. Works with Claude, Cursor, and any MCP-compatible client.

What is MCP?

The Model Context Protocol is a standard for AI agents to use external tools. Differino's MCP server lets agents upload and compare documents programmatically — no browser needed. Your AI assistant can compare contracts, review document changes, and summarize differences on its own.

Quick Start

1

Install

bash
pnpm add -g differino-mcp
2

Configure Claude Desktop

Generate an API key at Settings → API Key, then add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "differino": {
      "command": "pnpm",
      "args": ["dlx", "differino-mcp"],
      "env": {
        "DIFFERINO_API_KEY": "dfn_your_api_key_here"
      }
    }
  }
}
3

Set environment variables

VariableRequiredDescription
DIFFERINO_API_KEYYesYour API key — generate one at Settings → API Key
DIFFERINO_URLNoBase URL (default: https://www.differino.com)

Available Tools

compare_documents

Upload two local files and get fast text or grouped visual comparison metadata.
file_a_pathrequiredAbsolute path to first document
file_b_pathrequiredAbsolute path to second document
comparison_modeoptionalvisual or text

get_comparison

Check status, text summary, and visual artifact results.
comparison_idrequiredThe comparison UUID

Response Contract

Comparison responses include a text summary and, when available, visual artifact metadata for page renders and highlighted regions.

visual.statusOne of ready, pending, missing, or disabled.
visual.manifestPage image URLs, red/green highlighted regions, grouped change identities, and salience metadata when visual.status is ready.
regions[].groupIdStable identity for paired fragments, including modifications that cross page boundaries.
regions[].salienceIndicates subtle, visible, structural, or technical changes so clients can surface hard-to-see differences.
visual.diffUrlSigned URL for the visual diff JSON when available.

If visual.status is not ready, use the text diff summary and full comparison URL instead of treating the visual result as no changes.

Supported Formats

PDF
DOCX
TXT

REST API

You can also use the API directly. Authenticate with your API key via the Authorization header.

Compare two files

bash
curl -X POST https://www.differino.com/api/v1/compare \
  -H "Authorization: Bearer dfn_your_api_key" \
  -F "file_a=@original.pdf" \
  -F "file_b=@modified.pdf" \
  -F "comparison_mode=visual"

Check comparison status

bash
curl https://www.differino.com/api/v1/comparisons/{id} \
  -H "Authorization: Bearer dfn_your_api_key"

Credits

Every account gets 3 free comparisons per month. After that, comparisons use credits from your balance. Credit packs start at €1.99 for 10 comparisons.

View Pricing
MCP Server — Differino | Differino