Civic Library MCP server
io.github.adriancisnerosspeed-hub/civic-library-mcp·v0.1.1·1 starsUS civic & property data: geocoding, census tracts, Opportunity Zones, FEMA flood zones.
1 stars49 downloads/wk
Reviews
Write oneNobody has reviewed Civic Library yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Civic Library tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_flood_zoneReturn the FEMA flood-hazard zone for a latitude/longitude point, including whether it falls in a Special Flood Hazard Area (SFHA, where flood insurance is typically required). Free, no API key. Source: FEMA National Flood Hazard Layer.
check_opportunity_zoneDetermine whether a location is in a designated Qualified Opportunity Zone (Round 1, Tax Cuts and Jobs Act of 2017). Accepts an address, a lat/lng, or an 11-digit 2010 census tract GEOID. OZ designations are keyed to 2010 tracts, so address/coordinate inputs are resolved to their 2010 tract automatically. Free, no API key.
geocode_addressConvert a US street address into latitude/longitude plus its Census geographies (state, county, 2020 census tract GEOID). Free, no API key. Source: U.S. Census Bureau Geocoder.
get_tract_demographicsReturn demographic indicators for an 11-digit census tract GEOID from the American Community Survey 5-Year (…).
lookup_census_tractReturn the 2020 census tract (with county and state) that contains a latitude/longitude point. Free, no API key. Source: U.S. Census Bureau Geocoder.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan14 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 103 days ago8/15
- Maintainer identityregistry namespace matches repository owner6/10
How Civic Library compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 69/100
- higher than 33% of 48,255 servers
- Tools
- 5
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 49
- more than 41% of 12,191 servers with a package
What its tools let an agent do: 5 read
Install Civic Library in Claude Code, Cursor or VS Code
Runs npx -y civic-library-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add civic-library-mcp -- npx -y civic-library-mcp
What the publisher says
From the Civic Library repository's README, as published. We do not edit it. Read it on GitHub
civic-library-mcp
An MCP server that gives AI agents clean, token-efficient access to US civic & property data — geocoding, census tracts, Opportunity Zones, ACS demographics, and FEMA flood zones — sourced entirely from free federal open data.
No scraping, no paid keys for the core tools, no proprietary databases. Just the official sources (U.S. Census Bureau, U.S. Treasury CDFI Fund, FEMA), wrapped in a small set of well-described tools that return compact JSON instead of the bloated payloads most data MCPs dump into your context window.
Built for developers working on proptech, real-estate, fintech, civic tech, GIS, and housing research with AI agents.
Tools
Four of the five tools work with zero configuration. Only gettractdemographics needs a free Census API key (see below).
Install
Claude Desktop / Cursor / any MCP client
Add to your MCP config (e.g. claudedesktopconfig.json):
{
"mcpServers": {
"civic-library": {
"command": "npx",
"args": ["-y", "civic-library-mcp"],
"env": {
"CENSUS_API_KEY": "your-free-census-key-optional"
}
}
}
}Claude Code
claude mcp add civic-library -- npx -y civic-library-mcpThe CENSUSAPIKEY line is optional — leave it out and four of the five tools still work.
Census API key (only for demographics)
gettractdemographics calls the U.S. Census ACS Data API, which requires a free key. Get one in ~30 seconds at * and set it as CENSUSAPI_KEY in the server's environment.
Examples
Check whether a property is in an Opportunity Zone:
// check_opportunity_zone({ "address": "900 Camp St, New Orleans, LA 70130" })
{
"is_opportunity_zone": true,
"tract_geoid_2010": "22071013400",
"designation_type": "Low-Income Community",
"round": "1.0",
"authority": "Tax Cuts and Jobs Act of 2017 (26 U.S.C. § 1400Z-1)",
"resolved_from": "address",
"source": "U.S. Treasury CDFI Fund (designated 2018-12-14)"
}Flood risk for a coordinate:
// check_flood_zone({ "latitude": 29.9511, "longitude": -90.0715 })
{
"flood_zone": "X",
"zone_subtype": "0.2 PCT ANNUAL CHANCE FLOOD HAZARD",
"in_special_flood_hazard_area": false,
"zone_description": "Moderate-to-minimal risk (outside the 1% annual-chance floodplain).",
"source": "FEMA National Flood Hazard Layer"
}Tract demographics (needs a key):
// get_tract_demographics({ "tract_geoid": "22071013400",
// "fields": ["population", "median_household_income", "poverty_rate"] })
{
"tract_geoid": "22071013400",
"tract_name": "Census Tract 134, Orleans Parish, Louisiana",
"acs_dataset": "ACS 5-Year 2023",
"population": 2276,
"median_household_income": 41250,
"poverty_rate": 0.231
}A note on correctness: Opportunity Zones use 2010 census tracts
Opportunity Zone designations are keyed to 2010 census tract boundaries, but the default Census geocoder returns 2020 tracts — and tract GEOIDs changed between the two vintages. A naive lookup that matches a 2020 GEOID against the OZ list will silently return wrong answers near any boundary that moved.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Civic Library: common questions
- Is Civic Library MCP server safe?
- With care: it is graded C, so read the findings first (69/100). Read the Civic Library safety report
- How do I install Civic Library?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Civic Library need an API key?
- Yes. The registry entry asks for
CENSUS_API_KEY. - Is Civic Library maintained?
- The last commit was 141 days ago (2026-06-16). The latest release is v0.1.1.
- How does Civic Library compare with other MCP servers?
- safety score 69/100 (higher than 33% of 48,255 servers); tools 5 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.