Civic Library MCP logo

Civic Library MCP

US civic and property data tools for geocoding, census tracts, Opportunity Zones, demographics, and FEMA flood zones.

Install Civic Library MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "civic-library-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "civic-library-mcp"
      ],
      "env": {
        "CENSUS_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 5 tools correctly ().

Overview

The civic-library-mcp MCP server gives AI agents access to US geocoding, census tract, Opportunity Zone, ACS demographic, and FEMA flood data. It runs as an npx-launched MCP process and returns compact JSON from federal open-data sources. Four tools work without configuration; tract demographics require a free Census API key. Use it for proptech, real-estate, fintech, civic-tech, GIS, and housing research workflows.

Use cases

  • Geocode US property addresses
  • Check properties for Opportunity Zone status
  • Retrieve tract-level demographic indicators
  • Assess FEMA flood-hazard classifications
  • Identify census tracts from coordinates

Key features

  • US address geocoding
  • 2020 census tract lookup
  • 2010-based Opportunity Zone checks
  • ACS 5-Year tract demographics
  • FEMA flood-zone lookup
  • Compact JSON responses

Tools5

What Civic Library MCP lets your agent do. Expand a tool for its parameters.

Verified live~845 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/17 checks healthy over the last 111d

What it can do

From the 5 tools this server returned when we ran it.

Handles credentials · 5Read-only tools · 5
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age155 days
Maintainers1

Observed 2026-11-18 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · civic-library-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads258Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Civic Library MCP works

What civic-library-mcp does

The civic-library-mcp MCP server exposes five tools for analyzing US addresses, coordinates, and census tracts. It can geocode a street address, identify the 2020 census tract containing a coordinate, test whether a location belongs to a Qualified Opportunity Zone, retrieve selected ACS 5-Year demographic indicators, and look up FEMA flood-hazard information.

Results are designed for agent workflows: responses use compact JSON and identify the relevant public source. The data comes from the U.S. Census Bureau, U.S. Treasury CDFI Fund, and FEMA rather than scraped pages, paid proprietary databases, or private datasets.

How it works

The server accepts MCP tool calls through a standard process launched with npx -y civic-library-mcp. Address geocoding uses the Census Bureau Geocoder. Census tract demographic requests use the ACS 5-Year Data API, while flood checks use FEMA’s National Flood Hazard Layer. Opportunity Zone checks use a bundled list of Round 1 designations from the Treasury CDFI Fund.

Opportunity Zones require special handling because their designations use 2010 census tract boundaries, while ordinary geocoding returns 2020 tracts. The civic-library-mcp MCP server re-resolves an address or coordinate to its 2010 tract before matching an Opportunity Zone. A directly supplied tract_geoid is interpreted as a 2010 GEOID.

Setup and configuration

Add the server to an MCP client configuration with the npx command. For example, configure the server name and command, then optionally provide CENSUS_API_KEY in its environment. Claude Code can add it with claude mcp add civic-library -- npx -y civic-library-mcp.

No environment variable is needed for geocoding, tract lookup, Opportunity Zone checks, or flood-zone checks. get_tract_demographics requires a free Census API key, which must be stored as CENSUS_API_KEY. Without that variable, the other four tools remain available.

Tools and capabilities

  • geocode_address converts a US street address into latitude, longitude, state, county, and a 2020 tract GEOID.
  • lookup_census_tract finds the 2020 tract, county, and state containing a latitude/longitude pair.
  • check_opportunity_zone checks an address, point, or tract against designated Qualified Opportunity Zones.
  • get_tract_demographics returns requested ACS 5-Year indicators, including population, income, home value, and poverty rate.
  • check_flood_zone returns a FEMA hazard zone, zone subtype, description, and Special Flood Hazard Area status for coordinates.

Limitations and notes

Coverage is focused on the United States and the listed federal datasets. Opportunity Zone results represent Round 1 designations and should be interpreted using the 2010 tract boundary rules described above. Census demographics depend on the requested ACS dataset and available fields.

The civic-library-mcp MCP server provides public data for informational use, not legal, financial, tax, insurance, or investment advice. Opportunity Zone, flood-zone, and demographic results should be checked against the official source before use in a transaction. The software is MIT-licensed, and the underlying federal datasets are public domain.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Civic Library MCP

civic-library-mcp is an MCP server that connects AI agents to US federal civic and property data from the Census Bureau, Treasury CDFI Fund, and FEMA. Its main tools geocode addresses, identify census tracts, check Opportunity Zones, retrieve ACS tract demographics, and classify FEMA flood zones.

Install it by configuring an MCP client to run `npx -y civic-library-mcp`. Claude Desktop and Cursor can use the command in their MCP configuration, while Claude Code supports `claude mcp add civic-library -- npx -y civic-library-mcp`.

No, a Census API key is not required for four of the five tools. Only `get_tract_demographics` requires a free key, provided through the optional `CENSUS_API_KEY` environment variable.

It resolves addresses and coordinates to 2010 census tracts before matching Treasury Opportunity Zone designations. This avoids incorrectly matching the 2010 designation list against the 2020 tract GEOIDs returned by standard Census geocoding.

It uses FEMA’s National Flood Hazard Layer to return a flood-hazard zone, zone subtype, description, and whether the coordinate is in a Special Flood Hazard Area.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCivic Library MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/civic-library-mcp?style=directory)](https://allmcps.com/mcp/civic-library-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/civic-library-mcp"><img src="https://allmcps.com/api/badge/civic-library-mcp?style=directory" alt="Civic Library MCP on AllMCPs" /></a>