Fact Checker MCP Server
Click on "Install 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., "@Fact Checker MCP ServerIs the capital of France Paris?"
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.
Fact Checker MCP Server
This is a Model Context Protocol (MCP) server that verifies simple factual claims by checking them against knowledge sources like Wikidata.
Features
Accepts claims in natural language
Verifies the accuracy of the claim
Returns an MCP-compliant response with the claim, correct answer, and confidence score
Includes an MCP client that integrates with Ollama LLM
Related MCP server: Fact Check MCP
MCP Payload Format
{
"version": "1.0",
"context": {
"type": "fact_check",
"claim": "The capital of France is London",
"correct_answer": "Incorrect. The capital of France is Paris, not London.",
"confidence": 0.95
}
}Setup and Installation
Clone this repository
Install dependencies:
pip install -r requirements.txtRun the server:
python app.py
Usage
Server API
Send a POST request to the /fact-check endpoint with a JSON payload containing the claim:
curl -X POST http://localhost:5000/fact-check \
-H "Content-Type: application/json" \
-d '{"claim": "The capital of France is London"}'MCP Client with Ollama Integration
The project includes an MCP client that demonstrates integration with Ollama LLM:
Make sure Ollama is installed and running:
ollama serveRun the demo script:
bash run_demo.shOr run the client directly:
python mcp_client.py --model llama3
The client will:
Detect factual claims about capitals in your prompts
Verify these claims using the MCP server
Augment the LLM's knowledge with accurate information
Ensure the LLM provides factually correct responses
Testing
Basic Testing
Run the test client with a specific claim:
python test_client.py "The capital of France is Paris"Or run the default test suite with multiple claims:
python test_client.pyComprehensive Test Suite
Run the comprehensive test suite that includes both correct and incorrect claims:
python test_client.py --test-suiteUnit Tests
Run the unit tests to verify the server's functionality:
python -m unittest test_unit.pySupported Claim Types
Currently, the server can verify:
Capital city claims (e.g., "The capital of [Country] is [City]")
More claim types will be added in future updates.
Extending the Server
To add support for new types of claims:
Add a new pattern matching regex in the
check_fact()functionImplement a corresponding verification function similar to
check_capital_claim()
License
Author
© Anthony Lim
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityBmaintenanceEnables AI agents to fact-check claims, verify citations, and check source freshness using Wikipedia, Wikidata, Crossref, and Wayback Machine.Last updated1
- Alicense-qualityAmaintenanceVerifies claims with verdicts (supported/disputed/unverifiable), confidence scores, and cited sources by cross-referencing FoundryNet Data Network and web search.Last updatedMIT
- AlicenseAqualityBmaintenanceVerifies factual claims against live sources and returns a verdict, confidence score, and citations for any agent to use before stating uncertain facts.Last updated6MIT
- Alicense-qualityBmaintenanceEnables per-claim citation verification for AI-generated text by fetching cited sources and judging whether they support the claim, with verdicts and evidence quotes.Last updated45MIT
Related MCP Connectors
Verify claims with verdict, confidence & cited sources; batch verify, source checks, daily brief.
Fact-check claims against independent sources — fast verdict or deep multi-step investigation.
Real-time fact-check, citation verification, and source-freshness for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/devshark/fact-checker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server