Skip to content
apikeg avatar

API Keg — Document Redline & Table Diff

com.apikeg/doc-redline

Compares document versions and structured tables with exact edit and row-level diffs.

CCM score
67 of 100
tools
2
transport
HTTP
last updated
Nov 30, 2026
Open website

Own this MCP server? Claim it

What it does

  • Reads and compares via diff_documents for section, paragraph, and word hunks in CriticMarkup or inline HTML, plus numeric and date change alerts
  • Compares via diff_tables for CSV or JSON arrays keyed by a single or composite primaryKey, with added, removed, and cell-level modified rows
  • Requires a per-request x402 micropayment in USDC on Base, or a monthly API key sent as a Bearer token; runs over remote Streamable HTTP
  • Designed for reviewing contract, SOW, and RFP revisions and auditing changes in catalogs or data exports

Install

$ npx -y add-mcp https://doc-redline.apikeg.com/mcp --name doc-redline -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http doc-redline https://doc-redline.apikeg.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Dec 1, 2026.

diff_documentsCompares two document versions at section, paragraph, and word level, returning sectionBreadcrumb-tagged hunks, CriticMarkup ({--old--}{++new++}), inline HTML (<del>/<ins>), numericAndDateChanges alerts, and optional .docx Track Changes. Pricing: $0.002 USD per document redlin...8 params

Compares two document versions at section, paragraph, and word level, returning sectionBreadcrumb-tagged hunks, CriticMarkup ({--old--}{++new++}), inline HTML (<del>/<ins>), numericAndDateChanges alerts, and optional .docx Track Changes. Pricing: $0.002 USD per document redlin...

Parameters* required
changedHunksOnlyboolean
When true (default), omits 100% identical sections from hunks, criticMarkup, and htmlRedline so multi-page documents shrink by 90-98% in tokens.default: true
contextParagraphsinteger
Number of surrounding unchanged paragraphs to include around each changed hunk (0-5).default: 0
docxAuthorstring
Author attribution recorded on OpenXML <w:ins> and <w:del> Track Changes tags when includeDocxTrackChanges is true.default: API Keg Redline Engine
docxTitlestring
Optional document title stored in .docx Dublin Core package metadata.
ignoreWhitespaceboolean
Normalize repeated inline whitespace when aligning paragraphs while preserving exact text inside word-level diffs.default: true
includeDocxTrackChangesboolean
When true, generates a base64 OpenXML .docx archive containing native Microsoft Word Track Changes (<w:ins> and <w:del>/<w:delText>) for Accept/Reject review.default: false
original*string
Baseline/original document text or Markdown (e.g. RFP, SOW, specification, SLA, or policy v1).
revised*string
Revised/updated document text or Markdown to compare deterministically against original.
diff_tablesCompares two JSON object arrays or RFC 4180 CSV strings keyed by a single or composite primaryKey, returning exact summary counts, added rows, removed rows, and cell-level modified diffs with exact decimal numericDelta. Pricing: $0.002 USD per structured table or catalog diff...7 params

Compares two JSON object arrays or RFC 4180 CSV strings keyed by a single or composite primaryKey, returning exact summary counts, added rows, removed rows, and cell-level modified diffs with exact decimal numericDelta. Pricing: $0.002 USD per structured table or catalog diff...

Parameters* required
after*value
Table dataset passed either as a JSON array of row objects (e.g. [{"sku":"A1","region":"US","price":49.99}]) or an RFC 4180 CSV string with a header row.
before*value
Table dataset passed either as a JSON array of row objects (e.g. [{"sku":"A1","region":"US","price":49.99}]) or an RFC 4180 CSV string with a header row.
coerceCsvTypesboolean
Automatically parse unquoted numeric and boolean literals in CSV cells while preserving leading-zero identifiers.default: true
csvDelimiterstring
Single-character column delimiter used when before or after is a CSV string (default ',').default: ,
ignoreFieldsarray
Optional column names (such as "updated_at" or "etag") to exclude from cell comparison.
numericTolerancenumber
Optional non-negative tolerance; numeric cell differences with |delta| <= numericTolerance are treated as unchanged.default: 0
primaryKey*value
Single primary-key column name (e.g. "sku") or composite primary-key column list (e.g. ["sku", "region"]).

Details

Website
doc-redline.apikeg.com/llms.txt
Transport
HTTP
Registry
MCP registry, active
Resources
3
Prompts
2
Tools verified
Dec 1, 2026

More from apikeg

All 12