← Back to Labs
UnGovr MCP
LiveOverview
The UnGovr Open Data MCP is a Model Context Protocol server that exposes government entity data to AI assistants. Instead of navigating APIs manually, users can ask Claude or any MCP-compatible AI assistant to look up government entities, fetch boundary data, or query grand jury reports — all through natural conversation.
It wraps the UnGovr Open Data API, giving AI models structured access to 320,000+ government entities across 200+ countries, geographic boundaries, open records laws, and California Grand Jury reports.
Available Tools
# Tools exposed via MCP
→ search_entities Search by name, type, or country
→ get_entity Fetch entity details by slug
→ get_children List child entities (cities in a county, etc.)
→ get_boundary Fetch GeoJSON boundary for an entity
→ get_open_records_law Look up FOI/RTI law for a jurisdiction
→ search_cgj_reports Search California Grand Jury reports
→ search_entities Search by name, type, or country
→ get_entity Fetch entity details by slug
→ get_children List child entities (cities in a county, etc.)
→ get_boundary Fetch GeoJSON boundary for an entity
→ get_open_records_law Look up FOI/RTI law for a jurisdiction
→ search_cgj_reports Search California Grand Jury reports
How It Works
# User asks Claude a question
Human: What counties are in Ventura County's region?
# Claude calls the MCP tool
Claude → MCP: search_entities("ventura county", type="county")
# MCP queries the UnGovr API
→ GET /api/entities?q=ventura+county&type=county
→ { "slug": "us/ca/ventura", "name": "Ventura County", ... }
# Claude assembles the answer
Claude: Ventura County has 10 incorporated cities and 12 unincorporated communities...
✓ No API key or manual navigation needed
Human: What counties are in Ventura County's region?
# Claude calls the MCP tool
Claude → MCP: search_entities("ventura county", type="county")
# MCP queries the UnGovr API
→ GET /api/entities?q=ventura+county&type=county
→ { "slug": "us/ca/ventura", "name": "Ventura County", ... }
# Claude assembles the answer
Claude: Ventura County has 10 incorporated cities and 12 unincorporated communities...
✓ No API key or manual navigation needed
Tech Stack
MCP (Model Context Protocol)
Claude
JSON API
TypeScript
Node.js
UnGovr Open Data API