mcp-contradiction-check
Scans markdown notes for contradictions, detecting quantitative and negation conflicts across note pairs in a markdown knowledge base.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-contradiction-check check my notes for contradictory claims"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-checkRelated MCP server: Vault Knowledge MCP Server
Usage
Claude Code
claude mcp add mcp-contradiction-check -- mcp-contradiction-checkClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"contradiction_check": {
"command": "uvx",
"args": ["mcp-contradiction-check"]
}
}
}MCP Tools
Tool | Tier | Description |
| 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. |
| 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. |
| Pro | Pull all quantitative claims (numbers with units) and negation patterns from a single note. Useful as input to your own verification pipeline. |
| 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.jwtLicenses 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
Available Tools
4 toolscheck_pairARead-only
Run the full contradiction check between two specific notes. Accepts absolute paths or filename stems (within a vault that can be inferred).
Inputs: note_a_path (required), note_b_path (required). Returns: result
extract_claimsCRead-only
[Pro] Pull all quantitative claims (numbers with units) and negation patterns from a single note — structured output for your verification pipeline.
Inputs: note_path (required). Returns: result
find_contradictionsBRead-only
Scan the vault for note pairs with high concept overlap but conflicting numerical or qualitative claims.
Inputs: vault_path (required), limit, min_shared_concepts. Returns: result
generate_reconciliation_promptARead-only
[Pro] For a detected contradiction between two notes, produce a structured LLM-ready prompt for reasoning through the conflict and suggesting resolution.
Inputs: note_a_path (required), note_b_path (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: scanning all notes, checking a specific pair, extracting claims from a single note, and generating a reconciliation prompt. No overlap or ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case (find_contradictions, check_pair, extract_claims, generate_reconciliation_prompt).
With 4 tools, the server is well-scoped for its domain of contradiction detection. Each tool serves a necessary function without redundancy or excess.
The tool set covers the complete workflow: discovery of contradictions, detailed analysis of specific pairs, extraction of claims for verification, and generation of resolution prompts. No obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Notes and memory assistant: one Markdown vault that Claude, ChatGPT and any MCP client can share.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides a read-only semantic layer over an Obsidian vault, enabling queries about projects, decisions, tasks, and related notes.1812 npm4-
- AlicenseAqualityDmaintenanceRead-only MCP server that surfaces contradictions in an Obsidian vault's knowledge graph via semantic search and reasoning edges.361 npmMIT
- AlicenseNot gradedqualityDmaintenanceDetects contradictions in markdown vaults by finding note pairs with high concept overlap but conflicting quantitative or negation claims. Helps prevent knowledge corruption by surfacing disputes before they propagate.MIT
- AlicenseBqualityCmaintenanceEnables read-only cognitive retrospect over Obsidian notes, surfacing stance changes, verifying claims with citable evidence, and avoiding unfounded causal stories via hybrid retrieval and eight read-only MCP tools.910MIT