Local law in US towns: municipal code passages and answers cited to chapter and section.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional. "Bearer <key>" unlocks written answers and town comparisons. How it works: https://onthebooks.org/assistants/
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Ask a plain-English question about one town's local law ("Can I keep chickens?", "How tall can my fence be?") and get a written answer cited to the chapter and section of the town's code. Takes 10–40 seconds. With a key, each answer uses one credit. Without a key, it returns the matching passages of the code instead of a written answer. Read-only.
The town's id from find_town, e.g. "maplewood-nj".
The question, with the facts that matter (property type, zone, what is being built or done).
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http onthebooks https://onthebooks.org/mcp
Headers
Authorization (optional, not in the config above): Optional. "Bearer <key>" unlocks written answers and town comparisons. How it works: https://onthebooks.org/assistants/Ask a plain-English question about one town's local law ("Can I keep chickens?", "How tall can my fence be?") and get a written answer cited to the chapter and section of the town's code. Takes 10–40 seconds. With a key, each answer uses one credit. Without a key, it returns the matching passages of the code instead of a written answer. Read-only.
| Argument | Type | Description |
|---|---|---|
| town* | string | The town's id from find_town, e.g. "maplewood-nj". |
| question* | string | The question, with the facts that matter (property type, zone, what is being built or done). |
{
"type": "object",
"required": [
"town",
"question"
],
"properties": {
"town": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "The town's id from find_town, e.g. \"maplewood-nj\"."
},
"question": {
"type": "string",
"maxLength": 2000,
"minLength": 3,
"description": "The question, with the facts that matter (property type, zone, what is being built or done)."
}
},
"additionalProperties": false
}Ask the same question of 2 or 3 towns and get one comparison, each town's rule cited to its own code. Key required; uses one credit per town. Takes 20–60 seconds. Read-only.
| Argument | Type | Description |
|---|---|---|
| towns* | array | Two or three town ids from find_town. |
| question* | string | The question to put to every town. |
{
"type": "object",
"required": [
"towns",
"question"
],
"properties": {
"towns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "The town's id from find_town, e.g. \"maplewood-nj\"."
},
"maxItems": 3,
"minItems": 2,
"description": "Two or three town ids from find_town."
},
"question": {
"type": "string",
"maxLength": 2000,
"minLength": 3,
"description": "The question to put to every town."
}
},
"additionalProperties": false
}Look 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. No key needed. Read-only.
| Argument | Type | Description |
|---|---|---|
| name* | string | The place name, e.g. "Maplewood" or "Austin, TX". |
| state | string | Optional state, as a two-letter code or full name, to narrow same-named towns. |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The place name, e.g. \"Maplewood\" or \"Austin, TX\"."
},
"state": {
"type": "string",
"maxLength": 20,
"description": "Optional state, as a two-letter code or full name, to narrow same-named towns."
}
},
"additionalProperties": false
}Search 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. No key needed, no model call. Leave "town" out to search every town's code at once (needs a key). Read-only.
| Argument | Type | Description |
|---|---|---|
| town | string | The town's id from find_town, e.g. "maplewood-nj". Omit to search all towns (key required). |
| query* | string | A few keywords for the rule, e.g. "fence height", "backyard chickens", "short-term rental permit". |
{
"type": "object",
"required": [
"query"
],
"properties": {
"town": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "The town's id from find_town, e.g. \"maplewood-nj\". Omit to search all towns (key required)."
},
"query": {
"type": "string",
"maxLength": 300,
"minLength": 2,
"description": "A few keywords for the rule, e.g. \"fence height\", \"backyard chickens\", \"short-term rental permit\"."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.