Fact-Checker MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Fact-Checker MCP Server
A Model Context Protocol (MCP) server that provides AI-powered fact-checking and claim verification. Uses Claude Haiku for claim extraction, SPO-based semantic fingerprinting, and Redis caching for deduplication.
Exposes both an MCP (StreamableHTTP) interface for AI agents and a REST API for HTTP clients.
Features
MCP Tools
Tool | Description |
| Extract verifiable claims from text with type and durability classification |
| Verify outbound content — extracts claims, checks each against cache + Haiku, returns verdicts and corrected content |
| Verify an inbound signal claim — returns a trust assessment with action recommendation |
| Search the fact-checker cache for previously verified claims |
REST API
Method | Endpoint | Description |
POST |
| Extract claims from text |
POST |
| Verify content (GATE tool) |
POST |
| Verify a signal claim (SENSE tool) |
GET |
| Search cached verifications |
GET |
| Health check |
Related MCP server: truth-anchor-agent
Quick Start
Prerequisites
Node.js 20+
Redis (optional — caching is gracefully skipped when unavailable)
Install from npm
npx -y @luminarylane/fact-checker-mcpThe command starts the server with Streamable HTTP on port 8005 by default.
Install from source
git clone https://github.com/luminarylane/fact-checker-mcp.git
cd fact-checker-mcp
npm install
npm run buildConfigure
Copy the example env file and add your Anthropic API key:
cp .env.example .env
# Edit .env and set ANTHROPIC_API_KEYRun
# Development (auto-reload)
npm run dev
# Production
npm startThe server starts two listeners:
REST API on port 8004 (configurable via
PORT)MCP transport on port 8005 (configurable via
MCP_PORT)
Connect an MCP client
Connect an MCP client to http://localhost:8005/mcp after starting the server.
The REST API is available on port 8004 by default. Configure both ports with
MCP_PORT and PORT if required.
How It Works
Claim Extraction (extractClaims)
Extracts verifiable claims from text using Claude Haiku. Each claim is classified by type (statistic, company_fact, quote, product_claim, market_assertion, opinion) and durability (permanent, durable, transient, volatile).
Content Verification (verifyContent / GATE)
Full content verification pipeline:
Extract claims from content
Fingerprint each claim using SPO (Subject-Predicate-Object) triples
Check Redis cache for previously verified claims
Verify uncached claims via Claude Haiku with optional brand data and web context
Return verdicts (
publish,revise,block) with corrected content
Signal Verification (verifySignal / SENSE)
Verifies a single inbound claim (e.g., "Company X raised $50M") and returns:
Signal verdict:
verified,likely_true,uncertain,likely_false,contradictedAction recommendation:
safe_to_act,proceed_with_caution,needs_human_review,do_not_act
Semantic Fingerprinting
Claims are normalized into Subject-Predicate-Object triples via Haiku, then hashed. Equivalent claims (different wording, same meaning) produce the same fingerprint, enabling cache deduplication.
Fact Memory (getFactMemory)
Search previously verified claims by keyword. Useful for avoiding re-verification during multi-step workflows.
Configuration
Env Var | Default | Description |
| — | Required. Anthropic API key |
|
| Model to use for verification |
| — | Redis connection URL (optional) |
|
| REST API port |
|
| MCP transport port |
|
| Bind address |
|
| Cache TTL for permanent facts (seconds, -1 = no expiry) |
|
| Cache TTL for durable facts (30 days) |
|
| Cache TTL for transient facts (1 day) |
|
| Cache TTL for volatile facts (1 hour) |
Architecture
Transport: StreamableHTTP (MCP) + Express (REST)
AI: Claude Haiku for claim extraction, verification, and SPO fingerprinting
Cache: Redis with durability-based TTLs (gracefully degrades without Redis)
Rate Limiting: Token-bucket rate limiter for Anthropic API calls (100 req/min)
Safety: Untrusted content wrapped with hashed markers for prompt injection defence
Development
# Development server (auto-reload)
npm run dev
# Type check
npx tsc --noEmit
# Run tests
npm test
# Test with coverage
npm run test:coverage
# Build
npm run buildLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Capability registry for the agentic economy. Semantic search over verified MCP server listings.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Cloud-hosted MCP server for durable AI memory
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceA sophisticated MCP server providing advanced memory capabilities with RAG, hallucination detection, and enterprise-grade AI infrastructure for intelligent agent ecosystems.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides fact-checking capabilities and truth anchoring for AI agents using verified data sources.MIT
- AlicenseNot gradedqualityDmaintenanceA local-first MCP server providing persistent, searchable knowledge base via SQLite, enabling AI agents to save and recall facts across sessions without cloud dependencies.MIT
- AlicenseAqualityDmaintenanceAn MCP server that verifies the existence, metadata accuracy, and claim support of academic citations by querying sources like OpenAlex, Crossref, and arXiv, enabling AI agents to fact-check references.732 PyPI2MIT