ground-truth-mcp
Ground Truth MCP
Let AI agents validate their own claims with real, live data from the web.
Live URL: https://ground-truth-mcp.anish632.workers.dev
๐ฏ What is Ground Truth?
Ground Truth is an MCP server that provides AI agents with fact-checking and market research tools. Instead of hallucinating or guessing, agents can:
โ Check if an API endpoint actually exists
๐ Count real market competitors
๐ฐ Extract actual pricing from websites
๐ Compare packages side-by-side
๐งช Cross-reference claims against live sources
โ๏ธ Test hypotheses with structured tests
All results come from live data fetched in real-time, with 5-minute caching for performance.
๐ Quick Start
Free Tier (No Signup)
Try the check_endpoint tool immediately:
curl -X POST https://ground-truth-mcp.anish632.workers.dev/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "check_endpoint",
"arguments": {"url": "https://api.github.com"}
},
"id": 1
}'Pro Tier ($9/month)
Visit pricing page
Subscribe via Stripe
Get your API key:
gt_live_...Add to requests:
curl -X POST https://ground-truth-mcp.anish632.workers.dev/mcp \
-H "X-API-Key: gt_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"estimate_market","arguments":{"query":"react","registry":"npm"}},"id":1}'๐ ๏ธ Available Tools
Tool | Free? | Description |
| โ Yes | Probe any URL, get status, timing, auth requirements |
| ๐ณ Pro | Count packages in npm/PyPI to gauge market size |
| ๐ณ Pro | Extract pricing from any website |
| ๐ณ Pro | Side-by-side package comparison |
| ๐ณ Pro | Cross-reference claims with live sources |
| ๐ณ Pro | Automated fact-checking with structured tests |
Full API documentation: API_USAGE.md
๐ฐ Pricing
Free Tier
check_endpoint - Unlimited forever
Pro Tier - $9/month
All 5 premium tools - Unlimited usage
5-minute caching - Fast responses
99.9% uptime SLA
Cancel anytime - No questions asked
๐๏ธ Tech Stack
Runtime: Cloudflare Workers (edge computing)
Storage: Durable Objects with SQLite (caching + usage logs)
API Keys: Cloudflare KV (encrypted at rest)
Billing: Stripe Checkout + Subscriptions
Protocol: Model Context Protocol (MCP)
Language: TypeScript
๐ Documentation
SETUP.md - Deployment & configuration guide
API_USAGE.md - API reference & examples
IMPLEMENTATION_SUMMARY.md - Implementation details
๐ง Development
Prerequisites
Node.js 18+
npm or pnpm
Cloudflare account
Stripe account
Local Setup
Clone the repo:
cd "/Users/anishdas/Apps/Ground Truth/ground-truth-mcp"Install dependencies:
npm installCreate KV namespace:
npx wrangler kv namespace create API_KEYSUpdate wrangler.jsonc with KV namespace ID
Set secrets:
npx wrangler secret put STRIPE_SECRET_KEY npx wrangler secret put STRIPE_WEBHOOK_SECRETRun locally:
npm start # or npx wrangler devDeploy:
npm run deploy # or npx wrangler deploy
Full setup guide: SETUP.md
๐งช Testing
Test Free Tier (No Auth)
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "check_endpoint",
"arguments": {"url": "https://example.com"}
},
"id": 1
}'Test Auth Rejection
# Should return 402 (payment required)
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "estimate_market",
"arguments": {"query": "test", "registry": "npm"}
},
"id": 1
}'Test Stripe Checkout
Click "Subscribe Now"
Use test card:
4242 4242 4242 4242Complete checkout
Verify API key displayed on success page
๐ Security
API Keys: Stored in Cloudflare KV (encrypted at rest)
Stripe Keys: Stored as Worker secrets (encrypted)
Webhook Validation: Signature verification (simplified for MVP)
Key Revocation: Inactive keys marked on subscription cancellation
Audit Trail: Keys not deleted, only marked inactive
๐ฆ Status & Monitoring
Stripe Dashboard: https://dashboard.stripe.com
Cloudflare Dashboard: https://dash.cloudflare.com
๐ Architecture
โโโโโโโโโโโโโโโ
โ User โ
โโโโโโโโฌโโโโโโโ
โ
โโโโ Free Tier (no auth)
โ โโโบ check_endpoint
โ
โโโโ Pro Tier (API key)
โ โโโบ X-API-Key header
โ โโโบ Validate against KV
โ โโโบ estimate_market, check_pricing, etc.
โ
โโโโ x402 (fallback)
โโโบ Crypto payment for single call
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Cloudflare Worker โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ Auth โ โ Stripe โ โ
โ โ Middleware โ โ Integration โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ โ โ
โ โโโโโโโโผโโโโโโโ โโโโโโโโผโโโโโโโโโ โ
โ โ KV Store โ โ Durable โ โ
โ โ (API Keys) โ โ Objects โ โ
โ โโโโโโโโโโโโโโโ โ (Cache+Logs) โ โ
โ โโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ๐ค Contributing
Not accepting external contributions at this time (private project), but feel free to fork for your own use.
๐ License
MIT License - see LICENSE file for details
๐ Support
Email: anishdasmail@gmail.com
Twitter: @anish632
๐ฏ Use Cases
For AI Agents
Validate market research before presenting findings
Fact-check claims against live sources
Compare competitors with real data
Test hypotheses with structured verification
For Developers
Pre-validate APIs before recommending them
Check pricing without manual web scraping
Estimate package counts for market sizing
Automated fact-checking in CI/CD
For Researchers
Cross-reference claims with live data
Track package versions over time
Monitor pricing changes
Validate academic hypotheses
๐ What Makes Ground Truth Different?
โ
Live Data: No stale databases, all results from real-time fetching
โ
Caching: 5-minute cache for performance without sacrificing freshness
โ
MCP Native: Built for AI agents from day one
โ
Edge Computing: Fast responses from Cloudflare's global network
โ
Free Tier: No credit card required to try it
โ
Transparent Pricing: $9/month, unlimited usage, no hidden fees
โ
x402 Fallback: Pay-per-call with crypto if you don't want a subscription
๐ Roadmap
Core fact-checking tools
Stripe billing integration
API key authentication
Free tier (check_endpoint)
Webhook handling for subscriptions
Usage analytics dashboard
Email notifications
Team accounts
Enterprise tier
Custom integrations
๐ Acknowledgments
Built with MCP SDK
Powered by Cloudflare Workers
Payments by Stripe
x402 integration by @x402
Made with โค๏ธ by Anish Das
Last updated: March 20, 2026
Latest Blog Posts
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/anish632/ground-truth-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server