Server definition
- Hash
- sha256:858ea7a4eacb86b5b39dd1a1992a684153ab4847eecf84096994b8d0f8efcaad
- What it is
- What a remote MCP server returned when asked what it offers: 4 tools
The blob, as servednamed by its sha256
{
"instructions": "The New Hampshire Liberty Alliance's Liberty Ratings: a letter grade and score for every New Hampshire state representative and senator in each session since 2006, and the roll call votes behind them.\n\nThree things to carry into any answer:\n\n1. A town almost always has more than one district, across both chambers. Report every district a lookup returns; Auburn, for example, has six legislators across three districts. In a city divided into wards, ask which ward.\n2. CT (\"Constitutional Threat\") is a published grade below F, not missing data. INC, DER and SPKR are not ratings at all. Order grades by gradeRank rather than alphabetically.\n3. This data covers legislators who have served. It says nothing about who is running for office, and holds no endorsements. NHLA publishes those separately.\n\nEvery result opens with a one-sentence summary, the counts, and any notes, before the data itself. Read those first and answer from all of the data, not only its first entry.\n\nThe grades, and the choice of which votes count, are NHLA's; the votes themselves come from the New Hampshire General Court's public record.",
"tools": [
{
"description": "What each grade means for a given year, the percentage band it covered, and how many legislators received it. The bands change from year to year.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"year": {
"description": "the rating year; defaults to the most recent session",
"type": "integer"
}
},
"type": "object"
},
"name": "grade_key",
"outputSchema": {
"additionalProperties": false,
"properties": {
"grades": {
"items": {
"additionalProperties": false,
"properties": {
"grade": {
"type": "string"
},
"gradeRank": {
"type": [
"null",
"integer"
]
},
"meaning": {
"type": "string"
},
"percentMax": {
"type": "number"
},
"percentMin": {
"type": "number"
},
"representatives": {
"type": "integer"
},
"senators": {
"type": "integer"
}
},
"required": [
"grade",
"meaning",
"percentMin",
"percentMax",
"representatives",
"senators"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"notes": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"source": {
"additionalProperties": false,
"properties": {
"attribution": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"attribution",
"url"
],
"type": "object"
},
"summary": {
"type": "string"
},
"year": {
"type": "integer"
}
},
"required": [
"year",
"notes",
"grades",
"source"
],
"type": "object"
}
},
{
"description": "One legislator's Liberty Rating in every session they served, found by name, slug, personId or employeeNo. Joins the two employee numbers a member holds if they moved between the House and the Senate.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"fromYear": {
"description": "earliest session to report",
"type": "integer"
},
"legislator": {
"description": "a name, slug, personId or employeeNo",
"type": "string"
},
"toYear": {
"description": "latest session to report",
"type": "integer"
}
},
"required": [
"legislator"
],
"type": "object"
},
"name": "legislator_record",
"outputSchema": {
"additionalProperties": false,
"properties": {
"candidates": {
"items": {
"additionalProperties": false,
"properties": {
"chambers": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"name": {
"type": "string"
},
"personId": {
"type": "integer"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
},
"years": {
"items": {
"type": "integer"
},
"type": [
"null",
"array"
]
}
},
"required": [
"name",
"slug",
"personId",
"chambers",
"years",
"url"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"chambers": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"currentlyServing": {
"additionalProperties": false,
"properties": {
"asOf": {
"type": "string"
},
"chamber": {
"type": "string"
},
"county": {
"type": [
"null",
"string"
]
},
"district": {
"type": "integer"
},
"formattedDistrict": {
"type": "string"
},
"membershipStatus": {
"type": "string"
},
"organizationDay": {
"type": "string"
},
"party": {
"type": [
"null",
"string"
]
}
},
"required": [
"chamber",
"party",
"county",
"district",
"formattedDistrict",
"asOf",
"membershipStatus",
"organizationDay"
],
"type": [
"null",
"object"
]
},
"employeeNos": {
"items": {
"type": "integer"
},
"type": [
"null",
"array"
]
},
"found": {
"type": "boolean"
},
"name": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"personId": {
"type": "integer"
},
"sessionsHeld": {
"type": "integer"
},
"slug": {
"type": "string"
},
"source": {
"additionalProperties": false,
"properties": {
"attribution": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"attribution",
"url"
],
"type": "object"
},
"summary": {
"type": "string"
},
"terms": {
"items": {
"additionalProperties": false,
"properties": {
"chamber": {
"type": "string"
},
"county": {
"type": "string"
},
"district": {
"type": "string"
},
"grade": {
"type": "string"
},
"gradeRank": {
"type": [
"null",
"integer"
]
},
"gradeStatus": {
"type": "string"
},
"name": {
"type": "string"
},
"notYetRated": {
"type": "boolean"
},
"party": {
"type": "string"
},
"percent": {
"type": "number"
},
"personId": {
"type": "integer"
},
"ratedChamber": {
"type": "string"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
},
"year": {
"type": "integer"
}
},
"required": [
"name",
"chamber",
"percent",
"slug",
"personId",
"url"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"url": {
"type": "string"
}
},
"required": [
"found",
"sessionsHeld",
"notes",
"source"
],
"type": "object"
}
},
{
"description": "The roll calls NHLA scored in one session, how a legislator voted on each, and whether that matched NHLA's position. Optionally filtered to one bill.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bill": {
"description": "limit to one bill, e.g. HB609",
"type": "string"
},
"legislator": {
"description": "a name, slug, personId or employeeNo",
"type": "string"
},
"limit": {
"description": "how many roll calls to return; default 50, maximum 200",
"type": "integer"
},
"year": {
"description": "the session; defaults to the most recent one they served",
"type": "integer"
}
},
"required": [
"legislator"
],
"type": "object"
},
"name": "legislator_votes",
"outputSchema": {
"additionalProperties": false,
"properties": {
"candidates": {
"items": {
"additionalProperties": false,
"properties": {
"chambers": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"name": {
"type": "string"
},
"personId": {
"type": "integer"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
},
"years": {
"items": {
"type": "integer"
},
"type": [
"null",
"array"
]
}
},
"required": [
"name",
"slug",
"personId",
"chambers",
"years",
"url"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"chamber": {
"type": "string"
},
"found": {
"type": "boolean"
},
"name": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"personId": {
"type": "integer"
},
"returned": {
"type": "integer"
},
"slug": {
"type": "string"
},
"source": {
"additionalProperties": false,
"properties": {
"attribution": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"attribution",
"url"
],
"type": "object"
},
"summary": {
"type": "string"
},
"tally": {
"additionalProperties": false,
"properties": {
"againstNhla": {
"type": "integer"
},
"didNotVote": {
"type": "integer"
},
"withNhla": {
"type": "integer"
}
},
"required": [
"withNhla",
"againstNhla",
"didNotVote"
],
"type": "object"
},
"total": {
"type": "integer"
},
"truncated": {
"type": "boolean"
},
"url": {
"type": "string"
},
"votes": {
"items": {
"additionalProperties": false,
"properties": {
"bill": {
"type": "string"
},
"date": {
"type": "string"
},
"motion": {
"type": "string"
},
"nhlaPosition": {
"type": "string"
},
"result": {
"type": "string"
},
"rollCallNumber": {
"type": "integer"
},
"title": {
"type": "string"
},
"voteCast": {
"type": "string"
},
"votedWithNhla": {
"type": [
"null",
"boolean"
]
},
"weight": {
"type": "integer"
}
},
"required": [
"bill",
"voteCast"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"year": {
"type": "integer"
}
},
"required": [
"found",
"year",
"total",
"returned",
"truncated",
"tally",
"notes",
"votes",
"source"
],
"type": "object"
}
},
{
"description": "Every state representative and senator for a New Hampshire town, with their Liberty Rating. Use this for \"who represents me\". A town is usually in more than one district; report all of them. For a city divided into wards, pass the ward. Given only a ZIP code, pass zip; a ZIP code covering several towns comes back asking which one.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"town": {
"description": "the town or city, spelled as a person would type it; pass this or zip",
"type": "string"
},
"ward": {
"description": "the ward number, in a city divided into wards",
"type": "integer"
},
"year": {
"description": "the rating year; defaults to the most recent session",
"type": "integer"
},
"zip": {
"description": "a five-digit ZIP code, when the person gave that instead of a town",
"type": "string"
}
},
"type": "object"
},
"name": "legislators_for_town",
"outputSchema": {
"additionalProperties": false,
"properties": {
"districtCount": {
"type": "integer"
},
"districts": {
"items": {
"additionalProperties": false,
"properties": {
"chamber": {
"type": "string"
},
"county": {
"type": "string"
},
"district": {
"type": "string"
},
"floterial": {
"type": [
"null",
"boolean"
]
},
"legislators": {
"items": {
"additionalProperties": false,
"properties": {
"chamber": {
"type": "string"
},
"county": {
"type": "string"
},
"district": {
"type": "string"
},
"grade": {
"type": "string"
},
"gradeRank": {
"type": [
"null",
"integer"
]
},
"gradeStatus": {
"type": "string"
},
"name": {
"type": "string"
},
"notYetRated": {
"type": "boolean"
},
"party": {
"type": "string"
},
"percent": {
"type": "number"
},
"personId": {
"type": "integer"
},
"ratedChamber": {
"type": "string"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
},
"year": {
"type": "integer"
}
},
"required": [
"name",
"chamber",
"percent",
"slug",
"personId",
"url"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"url": {
"type": "string"
},
"wards": {
"items": {
"type": "integer"
},
"type": [
"null",
"array"
]
}
},
"required": [
"district",
"chamber",
"url",
"legislators"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"gradeKey": {
"items": {
"additionalProperties": false,
"properties": {
"grade": {
"type": "string"
},
"gradeRank": {
"type": [
"null",
"integer"
]
},
"meaning": {
"type": "string"
},
"percentMax": {
"type": "number"
},
"percentMin": {
"type": "number"
},
"representatives": {
"type": "integer"
},
"senators": {
"type": "integer"
}
},
"required": [
"grade",
"meaning",
"percentMin",
"percentMax",
"representatives",
"senators"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"legislatorCount": {
"type": "integer"
},
"matched": {
"type": "boolean"
},
"membersAsOf": {
"type": "string"
},
"notes": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"source": {
"additionalProperties": false,
"properties": {
"attribution": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"attribution",
"url"
],
"type": "object"
},
"suggestions": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"summary": {
"type": "string"
},
"town": {
"type": "string"
},
"url": {
"type": "string"
},
"ward": {
"type": "integer"
},
"year": {
"type": "integer"
},
"zip": {
"type": "string"
},
"zipTowns": {
"items": {
"additionalProperties": false,
"properties": {
"landShare": {
"type": "number"
},
"town": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"town",
"landShare",
"url"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"required": [
"matched",
"year",
"districtCount",
"legislatorCount",
"notes",
"districts",
"source"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:858ea7a4eacb86b5b39dd1a1992a684153ab4847eecf84096994b8d0f8efcaad | sha256sum