Data API documentation
Connect with MCP
Use https://api.civicsound.org/mcp with Streamable HTTP and OAuth.
- In ChatGPT, open Plugins and add a custom MCP server. Choose OAuth with dynamic client registration. ChatGPT setup and workspace permissions
- In Claude, open Customize → Connectors and add a custom connector. Choose OAuth and Automatic registration (DCR). Claude setup and workspace permissions
Open the verification link in the browser where you began sign-in. After the connection is enabled, ask your assistant to list datasets, find historical records for a municipality, and include official source links.
REST
Get a key and set CIVIC_SOUND_API_KEY in your environment. Use it as a bearer token.
curl -H "Authorization: Bearer $CIVIC_SOUND_API_KEY" 'https://api.civicsound.org/v1/records?municipalityIds=bothell&limit=10'
Download the OpenAPI contract.
Use /v1/datasets to discover datasets and /v1/coverage for source freshness.
Follow nextCursor with the original filters to continue a list.
Corrections and withdrawals
Save a list’s changesCursor to start replay on /v1/changes.
Fetch each changed item by ID, and remove records marked withdrawn. If a cursor is too old, start a fresh list.
On a 429 response, wait for the time in Retry-After before trying again.