BRAINIAC Bills & eCFR Section Lookup
Paid Bills & eCFR Section Lookup API via x402. Unpaid tool calls return 402.
使うべきか
品質と安全性
検出事項(6)
- LOWlegislative-intelligence_congress-bill-status 内
- LOWlegislative-intelligence_congress-bill-status 内
- LOWlegislative-intelligence_uk-parliament-bill-status 内
- LOWlegislative-intelligence_uk-parliament-bill-status 内
- LOWlegislative-intelligence_ecfr-section-lookup 内
- LOWlegislative-intelligence_ecfr-section-lookup 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"legislative-intelligence": {
"url": "https://www.brainiac.software/mcp/legislative-intelligence"
}
}
}リモートエンドポイント
https://www.brainiac.software/mcp/legislative-intelligencestreamable-httpできること
ツール一覧
ツール(3)
🟢legislative-intelligence_congress-bill-status(congress, billType, number, query, limit)
Return status, titles, sponsor, committees, latest action and public law for a bill or resolution of the 119th Congress from the vendored GPO BILLSTATUS extract. Docs: https://www.brainiac.software/api/legislative-intelligence/congress-bill-status Keywords: when looking up a bill or eCFR section, congress, billType, number, query, limit, found, bill, Look up US Congress bill status (119th), congress bill status.
入力スキーマ
{
"type": "object",
"properties": {
"congress": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "congress, integer, from -9007199254740991 to 9007199254740991. Required."
},
"billType": {
"description": "billType, string, one of hr, s, hjres, sjres, hres, sres. Optional.",
"type": "string",
"enum": [
"hr",
"s",
"hjres",
"sjres",
"hres",
"sres",
"hconres",
"sconres"
]
},
"number": {
"description": "number, integer, from 1 to 9007199254740991. Optional.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"query": {
"description": "query, string, length 3 to 200. Optional.",
"type": "string",
"minLength": 3,
"maxLength": 200
},
"limit": {
"default": 10,
"description": "limit, integer, from 1 to 50. Required.",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"required": [
"congress"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "found. Boolean."
},
"bill": {
"type": "object",
"properties": {
"congress": {
"type": "number",
"description": "congress. Number."
},
"type": {
"type": "string",
"description": "type. String."
},
"number": {
"type": "number",
"description": "number. Number."
},
"introducedDate": {
"type": "string",
"description": "introducedDate. String."
},
"originChamber": {
"type": "string",
"description": "originChamber. String."
},
"title": {
"type": "string",
"description": "title. String."
},
"shortTitles": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "shortTitles. Array."
},
"popularTitle": {
"type": "string",
"description": "popularTitle. String."
},
"sponsors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"bioguideId": {
"type": "string",
"description": "bioguideId. String."
},
"party": {
"type": "string",
"description": "party. String."
},
"state": {
"type": "string",
"description": "state. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sponsors. Array."
},
"cosponsorCount": {
"type": "number",
"description": "cosponsorCount. Number."
},
"policyArea": {
"type": "string",
"description": "policyArea. String."
},
"committees": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "committees. Array."
},
"latestAction": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"text": {
"type": "string",
"description": "text. String."
}
},
"additionalProperties": {},
"description": "latestAction. Object."
},
"laws": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "type. String."
},
"number": {
"type": "string",
"description": "number. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "laws. Array."
},
"updateDate": {
"type": "string",
"description": "updateDate. String."
},
"congressGovUrl": {
"type": "string",
"description": "congressGovUrl. String."
}
},
"additionalProperties": {},
"description": "bill. Object."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢legislative-intelligence_uk-parliament-bill-status(billId, query, sessionId, limit)
Return the current stage and outcome of a UK Parliament bill from the vendored Bills API export. Docs: https://www.brainiac.software/api/legislative-intelligence/uk-parliament-bill-status Keywords: when looking up a bill or eCFR section, found, results, exportedAt, Look up UK Parliament bill status, uk parliament bill status, Bills & eCFR Section Lookup, legislative intelligence.
入力スキーマ
{
"type": "object",
"properties": {
"billId": {
"description": "billId, integer. Optional.",
"type": "number"
},
"query": {
"description": "query, string. Optional.",
"type": "string"
},
"sessionId": {
"description": "sessionId, integer. Optional.",
"type": "number"
},
"limit": {
"description": "limit, integer. Optional.",
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}出力スキーマ
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "found. Boolean."
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"billId": {
"type": "number",
"description": "billId. Number."
},
"status": {
"type": "string",
"description": "status. String."
},
"shortTitle": {
"type": "string",
"description": "shortTitle. String."
},
"formerShortTitle": {
"type": "null",
"description": "formerShortTitle. Null."
},
"longTitle": {
"type": "string",
"description": "longTitle. String."
},
"originatingHouse": {
"type": "string",
"description": "originatingHouse. String."
},
"currentHouse": {
"type": "string",
"description": "currentHouse. String."
},
"currentStage": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "description. String."
},
"house": {
"type": "string",
"description": "house. String."
},
"lastSittingDate": {
"type": "string",
"description": "lastSittingDate. String."
}
},
"additionalProperties": {},
"description": "currentStage. Object."
},
"isAct": {
"type": "boolean",
"description": "isAct. Boolean."
},
"isDefeated": {
"type": "boolean",
"description": "isDefeated. Boolean."
},
"withdrawnDate": {
"type": "null",
"description": "withdrawnDate. Null."
},
"introducedSessionId": {
"type": "number",
"description": "introducedSessionId. Number."
},
"includedSessionIds": {
"type": "array",
"items": {
"type": "number",
"description": "item. Number."
},
"description": "includedSessionIds. Array."
},
"sponsors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "name. String."
},
"party": {
"type": "string",
"description": "party. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sponsors. Array."
},
"lastUpdate": {
"type": "string",
"description": "lastUpdate. String."
},
"url": {
"type": "string",
"description": "url. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "results. Array."
},
"exportedAt": {
"type": "string",
"description": "exportedAt. String."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢legislative-intelligence_ecfr-section-lookup(title, section, format)
Return the text of one CFR section from the vendored eCFR snapshot of titles 16, 17 and 29. Docs: https://www.brainiac.software/api/legislative-intelligence/ecfr-section-lookup Keywords: when looking up a bill or eCFR section, title, section, format, found, heading, reserved, text, citation, hierarchy, asOf, ecfrUrl, Look up an eCFR section (titles 16, 17, 29), ecfr section lookup.
入力スキーマ
{
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "number",
"const": 16
},
{
"type": "number",
"const": 17
},
{
"type": "number",
"const": 29
}
],
"description": "title, value. Required."
},
"section": {
"type": "string",
"pattern": "^\\d+[A-Za-z]?\\.[0-9A-Za-z-]+$",
"description": "section, string. Required."
},
"format": {
"default": "text",
"description": "format, string, one of text, xml. Required.",
"type": "string",
"enum": [
"text",
"xml"
]
}
},
"required": [
"title",
"section"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "found. Boolean."
},
"title": {
"type": "number",
"description": "title. Number."
},
"section": {
"type": "string",
"description": "section. String."
},
"heading": {
"type": "string",
"description": "heading. String."
},
"reserved": {
"type": "boolean",
"description": "reserved. Boolean."
},
"text": {
"type": "string",
"description": "text. String."
},
"citation": {
"type": "string",
"description": "citation. String."
},
"hierarchy": {
"type": "object",
"properties": {
"chapter": {
"type": "string",
"description": "chapter. String."
},
"subchapter": {
"type": "string",
"description": "subchapter. String."
},
"part": {
"type": "string",
"description": "part. String."
}
},
"additionalProperties": {},
"description": "hierarchy. Object."
},
"asOf": {
"type": "string",
"description": "asOf. String."
},
"ecfrUrl": {
"type": "string",
"description": "ecfrUrl. String."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "source. String."
},
"url": {
"type": "string",
"description": "url. String."
},
"retrievedAt": {
"type": "string",
"description": "retrievedAt. String."
},
"status": {
"type": "string",
"description": "status. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "sources. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}コミュニティ
エビデンス