Skip to main content

Find where your notes disagree — contradiction detection for markdown vaults.

Project description

mcp-contradiction-check

Find where your notes disagree — contradiction detection for markdown vaults.

Find pairs of notes in your markdown knowledge base that have high concept overlap but disagree — quantitative conflicts (different numbers with the same unit on the same concept) and negation conflicts (one note claims "X is not Y", another claims "X is Y"). Prevents knowledge corruption by surfacing disputes before they propagate. Designed to pair with hebbian-vault's usage-weighted retrieval to flag notes that shouldn't be strengthened yet.

Install

pip install mcp-contradiction-check
# or
uvx mcp-contradiction-check

Usage

Claude Code

claude mcp add mcp-contradiction-check -- mcp-contradiction-check

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "contradiction_check": {
      "command": "uvx",
      "args": ["mcp-contradiction-check"]
    }
  }
}

MCP Tools

Tool Tier Description
find_contradictions Free Scan the vault for note pairs with high concept overlap but conflicting numerical or qualitative claims. Returns all detected conflicts with the specific issues flagged.
check_pair Free Run the full contradiction check between two specific notes (by path or filename stem). Returns the detailed conflict analysis — shared concepts, quantitative conflicts, negation conflicts.
extract_claims Pro Pull all quantitative claims (numbers with units) and negation patterns from a single note. Useful as input to your own verification pipeline.
generate_reconciliation_prompt Pro For a detected contradiction, produce a structured prompt you can feed to an LLM to reason through the conflict and suggest a resolution. Preserves the exact claims + shared concepts + both notes' context windows.

Pro tier

Unlocks detailed claim extraction per note and LLM-ready reconciliation prompt generation for resolving disputes.

License activation — any one of these works:

# 1. Environment variable
export CONTRADICTION_CHECK_LICENSE="eyJhbGc..."

# 2. CLI flag
mcp-contradiction-check --license-key "eyJhbGc..."

# 3. Config file
echo "eyJhbGc..." > ~/.mcp-contradiction-check/license.jwt

Licenses are verified fully offline — no phone-home, no activation server. Get a license at https://github.com/onetrueclaude-creator/mcp-contradiction-check#pro-tier.

Requirements

  • Python 3.10+

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_contradiction_check-0.1.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_contradiction_check-0.1.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_contradiction_check-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_contradiction_check-0.1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for mcp_contradiction_check-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f52e682eaac109bb64bb2f21960991df09deff9ac7e15fabc69c498c844d5253
MD5 51fbe97ef5aaf406c0b904128db21374
BLAKE2b-256 334b24326702893b6c0933670d15b5e0beb3720b4af3918248cc21984261c29a

See more details on using hashes here.

File details

Details for the file mcp_contradiction_check-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_contradiction_check-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3b16857b86dec4541071dc418b30c0be193c8df92700692df7d3fae563723c2
MD5 2524f0893cc284cfdd89a197b32ae97d
BLAKE2b-256 96daeb82fc863e3ba1fea1898eff3ae9578851808dbf11684d57e07638902de8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page