KnownTowns Federated Civic Network · TownSpec v1

National Civic MCP Server & Open API

One verified, primary-sourced Model Context Protocol (MCP) and REST endpoint for American small towns. Every record carries explicit provenance URLs, SHA-256 dataset signatures, and strict closed-book abstention.

Server: knowntowns-civic-mcp v1.0.0 MCP JSON-RPC 2.0: POST /mcp Verified Towns: 2 Zero Auth Required · CORS Open

1. Connect an MCP Client (Claude, Cursor, Agents)

{
  "mcpServers": {
    "knowntowns-civic": {
      "url": "https://mcp.knowntowns.com/mcp",
      "transport": "streamable-http"
    }
  }
}
# Quick JSON-RPC 2.0 smoke test
curl -s -X POST https://mcp.knowntowns.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

2. Exposed MCP Tools (5 Verified Civic Primitives)

Tool NameDescription
list_townsList all verified towns published in the KnownTowns National TownSpec v1 registry, with optional filtering by 2-letter state code or town archetype.
get_town_profileRetrieve the complete primary-sourced TownSpec v1 profile for a verified town — including population, median home price, municipal tax rate, active advisories, verified civic entities, upcoming events, media licenses, and SHA-256 signature. Deterministically abstains if the town is not verified.
compare_townsGenerate a side-by-side, primary-sourced comparison between two verified towns covering population, median home price, municipal tax rate, estimated annual tax on a median home, enabled civic modules, and provenance URLs. Abstains if either town is unverified.
search_civic_entitiesSearch verified local civic entities (town halls, emergency hubs, parks & trails, museums, attractions, farmers markets, merchants) across one or all verified towns with primary-source provenance URLs.
get_storm_readinessRetrieve active official advisories, verified emergency shelter/resource hubs, municipal emergency contacts, and <15 KB offline survival mode links for a verified town. Strictly abstains for unverified towns.

3. Open REST API Endpoints (TownSpec v1)

EndpointPurpose
GET /healthService health, server version, and verified town count
GET /v1/townsList all verified TownSpec v1 towns (optional ?state=NC, ?archetype=...)
GET /v1/towns/:slugFull signed TownSpec v1 profile with provenance URLs
GET /v1/compare?a=...&b=...Primary-sourced side-by-side comparison of two verified towns
GET /v1/search?q=...Search verified civic entities by keyword, town slug, or category
GET /v1/storm/:slugActive official advisories, emergency shelter hubs, and <15 KB offline links

4. Currently Verified Flagship Towns

tourism-mountain

Franklin, NC

Macon County · Pop. 4,287 · Tax $0.340/$100

suburb-relocation

Mount Holly, NC

Gaston County · Pop. 17,703 · Tax $0.405/$100