differino-mcp
v0.2.0
Published
MCP server for Differino document comparison
Readme
differino-mcp
MCP (Model Context Protocol) server for Differino -- compare PDF, DOCX, and TXT documents from any AI agent.
Setup
1. Install
cd mcp
npm install
npm run buildOr install globally:
npm install -g differino-mcp2. Configure
Set environment variables:
export DIFFERINO_EMAIL="[email protected]"
export DIFFERINO_PASSWORD="your-password"
export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_ANON_KEY="your-anon-key"| Variable | Required | Description |
|----------|----------|-------------|
| DIFFERINO_EMAIL | Yes | Your Differino account email |
| DIFFERINO_PASSWORD | Yes | Your Differino account password |
| SUPABASE_URL | Yes | Supabase project URL (also accepts DIFFERINO_SUPABASE_URL) |
| SUPABASE_ANON_KEY | Yes | Supabase anon/public key (also accepts DIFFERINO_SUPABASE_ANON_KEY) |
| DIFFERINO_URL | No | Base URL for the web app (default: https://differino.com) |
3. Add to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"differino": {
"command": "node",
"args": ["/path/to/comparadocs/mcp/dist/index.js"],
"env": {
"DIFFERINO_EMAIL": "[email protected]",
"DIFFERINO_PASSWORD": "your-password",
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_ANON_KEY": "your-anon-key"
}
}
}
}Or if installed globally via npm:
{
"mcpServers": {
"differino": {
"command": "npx",
"args": ["differino-mcp"],
"env": {
"DIFFERINO_EMAIL": "[email protected]",
"DIFFERINO_PASSWORD": "your-password",
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_ANON_KEY": "your-anon-key"
}
}
}
}Tools
compare_documents
Compare two local files and get a diff summary.
Parameters:
file_a_path(required) -- Absolute path to the original documentfile_b_path(required) -- Absolute path to the modified documentaccuracy_mode(optional) --fast,balanced(default), orthorough
The tool uploads both files, waits for text extraction and diff computation, and returns a summary with added/removed/modified block counts plus a link to the full visual comparison.
Files under 4 MB are uploaded directly. Larger files use a signed-URL flow that bypasses Vercel's body size limit.
get_comparison
Check the status and results of a comparison by its UUID.
list_comparisons
List recent comparisons in your workspace (default: 10).
list_documents
List documents in your Differino library (default: 20).
get_credits
Check your credit balance, current plan, and free comparison usage for the month.
Supported Formats
- PDF (.pdf)
- Word (.docx)
- Plain Text (.txt)
Credits
3 free comparisons per month. After that, each comparison costs 1 credit. Buy credit packs at differino.com/pricing.
