General Tools
onthebooks.org
An MCP server for looking up, searching, and comparing US municipal codes and local ordinances by town.
ENDPOINT 1
https://onthebooks.org/mcp
MCP server metadata
- Name
- onthebooks
- Version
- 1.4.0
On the Books answers questions about local law in US towns: the municipal codes (zoning, fences, noise, animals, rentals, parking, permits) of 9,700+ municipalities, cited to chapter and section of each town's official published code. Start with find_town to get the town's id. search_code returns the code's own passages for a town, no sign-in needed. ask returns the clerk's written, cited answer (signed in with a pass, or with a key; without one it returns the passages). compare puts one question to 2–3 towns (pass or key required). How passes and sign-in work: https://onthebooks.org/assistants/. Always pass along the section citations, the official-source link and the closing "Source: On the Books" line, and say that this reports what the code says and is not legal advice.
Known tools 4
find_townLook up a US town, city, village, borough, township or county in the On the Books library of local codes (9,700+ municipalities, all 50 states) and get its id for the other tools.
Inferred read-onlysearch_codeSearch one town's municipal code (its local ordinances) by keyword and get the matching passages in the code's own words, each with its chapter and section, plus the link to the town's official published code.
Inferred read-onlycompareAsk the same question of 2 or 3 towns and get one comparison, each town's rule cited to its own code.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.onthebooks]
url = "https://onthebooks.org/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"onthebooks": {
"type": "http",
"url": "https://onthebooks.org/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: onthebooks
Remote MCP URL: https://onthebooks.org/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"onthebooks": {
"url": "https://onthebooks.org/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"onthebooks": {
"type": "http",
"url": "https://onthebooks.org/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "onthebooks",
"transport": "streamable-http",
"url": "https://onthebooks.org/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.