Election.org

Read sourced U.S. civic records: candidates, offices, campaign finance, elections and governments.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
87%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~2,155Token(工具定義)
~3.1 KB典型回應大小
中等的注意力影響(128k 上下文的 1.68%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "election-org": {
      "url": "https://election.org/api/mcp"
    }
  }
}

遠端端點

https://election.org/api/mcpstreamable-http

它能做什麼

工具清單

工具(6)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢search_candidates(q, state, office, district, limit)

Search Election.org's 2026 FEC candidate filings by public name or FEC ID, state, office, or district. Returns party, filing status, available campaign totals, source dates and record links. FEC records stay in data.records. A separately sourced data.state_authority_records list currently adds Mississippi federal qualifying entries, including candidates with no matched FEC ID. Check both collections; neither proves final ballot certification or complete nationwide/local coverage. Do not request federal finance for a null FEC ID. Federal filings are ordered by reported receipts, not an endorsement. No party is excluded.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "state": {
      "description": "Two-letter state or territory code of the public records being researched, not the user's location.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "office": {
      "type": "string",
      "enum": [
        "H",
        "S",
        "P"
      ]
    },
    "district": {
      "type": "string",
      "pattern": "^\\d{1,2}$"
    },
    "limit": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {},
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "citation": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "data",
    "coverage",
    "sources",
    "citation",
    "links"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢search_offices(q, state, level, limit)

Search permanent public offices and their sourced holders by official name, office title, or jurisdiction. Federal, state, executive and selected local coverage is included; local coverage is incomplete and source verification dates must be retained. Not an address-to-representative lookup. A missing holder is not proof of a vacancy.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "state": {
      "description": "Two-letter state or territory code of the public records being researched, not the user's location.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "level": {
      "description": "State includes legislative and executive offices.",
      "type": "string",
      "enum": [
        "federal",
        "state",
        "local"
      ]
    },
    "limit": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {},
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "citation": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "data",
    "coverage",
    "sources",
    "citation",
    "links"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_campaign_finance(candidate_id)

Retrieve published 2026 federal campaign receipts, spending, cash, debts, linked committees and separately labeled outside-spending totals for an FEC candidate ID. Returns reporting periods, sources and coverage limits. Campaign balances are not a candidate's personal net worth. Contributions do not establish influence or wrongdoing. Missing financial summaries remain null.

輸入結構描述

{
  "type": "object",
  "properties": {
    "candidate_id": {
      "description": "Public FEC candidate identifier, as returned by search_candidates, e.g. H8CA28054.",
      "type": "string",
      "pattern": "^[HSP][0-9A-Z]{8}$"
    }
  },
  "required": [
    "candidate_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {},
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "citation": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "data",
    "coverage",
    "sources",
    "citation",
    "links"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_election_calendar(state)

Return the published 2026 federal general election date and congressional primary/runoff schedule, optionally filtered to a state's public election jurisdiction. Source dates and tentative/changeable status are included. Does not include every local election, registration deadline or polling location; confirm actionable dates with the state's election authority.

輸入結構描述

{
  "type": "object",
  "properties": {
    "state": {
      "description": "Two-letter state or territory code of the public records being researched, not the user's location.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {},
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "citation": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "data",
    "coverage",
    "sources",
    "citation",
    "links"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_election_results(year, state, office, district, candidate, ...)

Retrieve source-backed U.S. House and Senate results for an explicitly requested year. The archive currently covers 2016, 2018, 2020, 2022 and 2024. Other years return an unsupported-year error, never substituted historical results. Includes votes, sources, record links and calculation caveats. Not live returns, projections or presidential results.

輸入結構描述

{
  "type": "object",
  "properties": {
    "year": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2100
    },
    "state": {
      "description": "Two-letter state or territory code of the public records being researched, not the user's location.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "office": {
      "type": "string",
      "enum": [
        "H",
        "S"
      ]
    },
    "district": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30
    },
    "candidate": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120
    },
    "limit": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "required": [
    "year"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {},
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "citation": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "data",
    "coverage",
    "sources",
    "citation",
    "links"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢search_governments(q, state, limit)

Search named cities, counties, school systems and special districts in Election.org's Census-based public-body directory. Returns source-backed institution records, available office contacts and enriched coverage, with record links. Similar names can refer to different jurisdictions. Directory inclusion does not establish current officials or exact service boundaries. Does not locate a user's home or provide private personal contacts.

輸入結構描述

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "maxLength": 100,
      "description": "A distinctive partial institution name, e.g. Bethel Township Municipal. Search matches consecutive text; shorten the query if punctuation or parenthetical words cause no matches."
    },
    "state": {
      "description": "Two-letter state or territory code of the public records being researched, not the user's location.",
      "type": "string",
      "pattern": "^[A-Za-z]{2}$"
    },
    "limit": {
      "default": 3,
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    }
  },
  "required": [
    "q"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "data": {},
    "coverage": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "citation": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "data",
    "coverage",
    "sources",
    "citation",
    "links"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本6 個工具