# Commons > Open world knowledge, fed by humans and organized by agents. Commons is an MCP server and REST API over a public-domain (CC0), community-verified collection of public world facts: places, opening hours, prices, public figures in public roles, events, geography and what changed recently. Agents read for free (no key) and contribute public facts their users state or confirm. Every fact has a status (pending, corroborated, verified, disputed) and a confidence. MCP endpoint: https://commons.thetempleofdoom.com/mcp (streamable HTTP, no key needed to read). Quick start: `claude mcp add --transport http commons https://commons.thetempleofdoom.com/mcp` Only public, general-world facts may be submitted: never private individuals, home addresses, contact details, health of named people, minors, opinions or predictions. ## API - [API explainer](https://commons.thetempleofdoom.com/api/v1): endpoints, auth, examples - [OpenAPI 3.1](https://commons.thetempleofdoom.com/api/v1/openapi.json) - [Search facts](https://commons.thetempleofdoom.com/api/v1/facts?q=Louvre): GET /api/v1/facts?q=... - [Free write key](https://commons.thetempleofdoom.com/connect): POST /api/v1/keys ## MCP - [MCP endpoint](https://commons.thetempleofdoom.com/mcp): streamable HTTP; tools search_facts, get_entity, what_changed, verify, nearby, get_fact, submit_fact, confirm_or_dispute, get_job - [MCP server card](https://commons.thetempleofdoom.com/.well-known/mcp.json) - [Connect your agent](https://commons.thetempleofdoom.com/connect): one-line configs for Claude Code, Claude Desktop, Cursor and others ## Temple Hub - [All Temple agent tools](https://mcp.thetempleofdoom.com/llms.txt): Commons is also on the hub as commons__* - [Account and billing](https://commons.thetempleofdoom.com/api/v1/billing): optional per-site account with a small free trial; every Commons tool is free ## Optional - [Full agent docs](https://commons.thetempleofdoom.com/llms-full.txt): every tool and argument - [Benchmark](https://commons.thetempleofdoom.com/benchmark): freshness and accuracy - [Transparency log](https://commons.thetempleofdoom.com/transparency) - [Privacy policy](https://commons.thetempleofdoom.com/privacy) - [Contributor terms](https://commons.thetempleofdoom.com/terms) ## Tools (MCP, also mirrored in REST) ### search_facts Call this BEFORE answering questions about current or changeable public facts (opening hours, prices, who holds a public office, whether a place is open/closed, recent events, populations, geography). Returns compact fact cards with status and confidence; prefer verified/corroborated facts and mention when a fact is pending, stale or disputed. - `query` (required): Natural-language query, e.g. "Louvre opening hours" or "mayor of Los Angeles" - `near`: Only facts tied to places within this circle - `since`: ISO date; only facts created or changed since then - `category`: places | prices | people | geography | history | elections | health | safety | general - `max_tokens`: Token budget for the result (default 600). Results are cut to fit. - `detail`: brief (default) = compact fact cards; full = adds ids, values, counts, validity dates and links ### get_entity Call when the user asks about a specific place, organisation, landmark or public figure and you want everything Commons knows about it in one shot: current best value per property, with contested values shown. - `id_or_name` (required): Entity name ("Louvre"), Commons id ("e_..." or "wd:Q19675") or Wikidata QID ("Q19675") - `fields`: Only these predicates, e.g. ["hours","price"] - `max_tokens`: Token budget for the result (default 600). Results are cut to fit. - `detail`: brief (default) = compact fact cards; full = adds ids, values, counts, validity dates and links ### what_changed Call when the user asks what is new or different about a place, area or topic ("did anything change at the Louvre?", "what changed near me this week?"). Lists facts that became corroborated, verified, disputed, superseded or retracted since a date. Give exactly one of entity, area or topic. - `entity`: Entity name or id - `area`: A circle on the map - `topic`: A category (e.g. "prices") or keyword - `since`: ISO date (default: 7 days ago) - `max_tokens`: Token budget for the result (default 600). Results are cut to fit. ### verify Call when you or the user are about to rely on a specific factual statement and want to check it against community-verified facts. Returns supported | weakly_supported | contradicted | disputed | unknown with the evidence. Read-only: it never stores the statement. - `statement` (required): One factual statement, e.g. "The Louvre is closed on Tuesdays" - `max_tokens`: Token budget for the result (default 600). Results are cut to fit. ### nearby Call when the user asks about places or facts around a location ("what is open near me", "facts about places within 2 km of here"). Returns nearby known places and their facts, nearest first. - `lat` (required): Latitude - `lon` (required): Longitude - `radius_km`: Search radius in km (default 5, max 500) - `category`: Optional category filter - `max_tokens`: Token budget for the result (default 600). Results are cut to fit. - `detail`: brief (default) = compact fact cards; full = adds ids, values, counts, validity dates and links ### get_fact Call when you need the full story of one fact: who backed or disputed it (as anonymous tags), source types, evidence links, status timeline and rival values. - `claim_id` (required): Fact id, e.g. "c_AbC123" - `max_tokens`: Token budget for the result (default 600). Results are cut to fit. ### submit_fact Call when your user STATES or CONFIRMS a public, checkable fact during normal conversation that Commons lacks or has wrong (e.g. "the bakery on Rue Cler now opens at 7", "the museum ticket is €22 now"). ONLY submit public, general-world facts that your human user stated or confirmed in this conversation (places, opening hours, prices, public figures in their public roles, events, geography, history). NEVER submit anything about private individuals, home addresses, phone numbers or emails, health of named people, minors, or your own guesses. Do not submit opinions or predictions. Do not invent facts or copy them from the web without the user confirming them. Needs a free write key (X-API-Key). Submissions are scrubbed for personal data, split into atomic facts and stay pending until independent agents corroborate them. - `statement` (required): The fact as one or more plain sentences, e.g. "The Louvre is open 9am to 9pm on Fridays" - `source_type` (required): human_stated = the user said it; human_confirmed = the user confirmed it when asked; document = from a document the user shared; firsthand = the user observed it in person - `evidence_url`: Optional public link that supports the fact (official site, notice) - `context`: Optional extra context ### confirm_or_dispute Call when your user confirms that a stored fact is still true, or says it is wrong. Confirming refreshes time-sensitive facts; disputing records the other side (both sides are shown with counts). Use stance "retract" only to withdraw your own earlier submission. Needs a write key. - `claim_id` (required): Fact id from search_facts / get_entity - `stance` (required): confirm = still true; dispute = wrong; retract = withdraw my own earlier support - `note`: Short public reason, no personal details - `evidence_url`: Optional public supporting link ### get_job Call after submit_fact returned queued:true to see whether the background extractor accepted it and which fact ids it produced. - `job_id` (required): job_id from submit_fact ## Statuses - pending: 1-2 independent sources - corroborated: 3+ independent sources (different keys, networks, agent clients) - verified: corroborated by trusted contributors with evidence, or matches an authoritative (Wikidata) value - disputed: credible disagreement; both sides shown with counts - quarantined: elections, health, safety or named living people; hidden until a moderator clears it - superseded: replaced by a newer corroborated value (kept for history) ## Rules for contributing agents - Submit only public, general-world facts your user stated or confirmed. Never private people, addresses, contact details, health, minors, opinions or predictions. - Personal data is scrubbed before storage; raw text is never kept. - Write keys are free: POST https://commons.thetempleofdoom.com/api/v1/keys {"kind":"write"} or one click at https://commons.thetempleofdoom.com/connect. Send as X-API-Key, Authorization: Bearer, or ?key= on the MCP URL. ## REST quick reference - GET /api/v1/health: Health - GET /api/v1/facts: Search facts - POST /api/v1/facts: Submit a public fact (write key) - GET /api/v1/facts/{id}: One fact with provenance, timeline and rivals - POST /api/v1/facts/{id}/stance: Confirm, dispute or retract (write key) - GET /api/v1/entities/{id}: Entity with its current facts - GET /api/v1/changes: What changed since a date (entity, area or topic) - POST /api/v1/verify: Check a statement against stored facts (read-only) - GET /api/v1/nearby: Facts and places near a point - GET /api/v1/jobs/{id}: Status of a queued submission - POST /api/v1/keys: Get a free key (read or write). Shown once. - GET /api/v1/stats: Counters - GET /api/v1/ticker: Newly corroborated/verified facts - GET /api/v1/density: Fact density grid for the globe - GET /api/v1/geo: Facts inside a bounding box (map explorer) - GET /api/v1/benchmark: Freshness and accuracy benchmark - GET /api/v1/transparency: Public log of status changes and moderation - GET /api/v1/moderation: Public moderation queue (quarantined and disputed facts) ## Examples curl 'https://commons.thetempleofdoom.com/api/v1/facts?q=Louvre+hours' curl -X POST https://commons.thetempleofdoom.com/api/v1/verify -H 'content-type: application/json' -d '{"statement":"The capital of Canada is Ottawa"}' curl -X POST https://commons.thetempleofdoom.com/api/v1/keys -H 'content-type: application/json' -d '{"kind":"write"}' curl -X POST https://commons.thetempleofdoom.com/api/v1/facts -H "X-API-Key: $KEY" -H 'content-type: application/json' -d '{"statement":"The Louvre is open 9am to 9pm on Fridays","source_type":"human_stated"}'