Plain Ballot

io.github.n8peace由 GitHub 账号 n8peace 发布v1.0.0更新于 Nov 4, 2026

按地址查看美国选民的选票,每位候选人的立场都附有确切引文和来源。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

A U.S. voter's ballot by address, with an exact quote and source behind every candidate position.

发布方自己的服务:Plain Insurance

已验证Streamable HTTP可网页运行

概览

Plain Ballot 的托管 MCP 服务(plainballot.com);无需登录;Streamable HTTP;3 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
plainballot.com
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Plain Ballot,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.n8peace%2Fplain-ballot/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "plain-ballot": {
      "type": "http",
      "url": "https://plainballot.com/mcp"
    }
  }
}

README

Plain Ballot

Every race on your ballot, matched to what you care about. Every position backed by a quote you can check.

plainballot.com · How it works · The open data · Contribute

[CI] [License: AGPL-3.0] [GitHub stars]

[Plain Ballot]

Who's running, and where do they stand? Pick the issues you care about, set a dial for each, and enter your address. Plain Ballot goes through your ballot and shows who fits you, why, and where that came from. Party labels stay hidden until you ask. No ads, no account, and your address isn’t stored.

Covering every race in California, plus U.S. House and Senate races in all 50 states, for Nov 3, 2026.

Two projects, both free and open:

  • Plain Ballot (this repo): the voter guide.
  • Open Election Data: the research behind it. Every candidate on the same 18 issues, each position with an exact quote and its source, researched by AI agents that have to agree. Free to use, including commercially, under the Open Database License, with a free API.

AI that has to show its work

Chatbots get voting facts wrong. Plain Ballot is built so no single model's word ever reaches a voter.

  • Agents have to agree. Every candidate is researched by independent agents on different models (Claude Code, Codex, GPT-5.6 Luna), each searching and reading on its own. A position is published only when they agree: 2 of 3 with no conflict, or a clear majority of 10 when they don't.
  • Every quote is verified. Each claim carries an exact quote, fetched from its source and matched word for word, or it's thrown out. A nightly job rechecks every published quote.
  • No guessing. An agent not finding a source never counts as a vote. No majority means the issue stays blank, and the ballot says so.
  • Matching isn't AI. It's plain, deterministic arithmetic in your browser (lib/match.ts). Same answers, same ballot, every time.
  • Voters can push back. "Not right?" on any claim files a public issue and reruns the research with fresh agents. Corrections are public.
  • Every change is checked for bias. Three models from different companies review each pull request for loaded wording and one-sided logic, and tests require that matching treats both ends of every dial the same.
  • Every word is public. The dial wording, the agreement rules and every researched position live in Open Election Data; the matching lives here.

Use the data

The research is its own project: Open Election Data. It has a free, static API with no key needed:

bash
curl -s https://n8peace.github.io/open-election-data/v1/divisions/ca/cd-10.json

Use it for anything, including commercial products, under the Open Database License: credit it, and share improvements to the data under the same terms.

Send your agent

Plain Ballot works without a browser. Point any AI agent that supports MCP (Claude, ChatGPT, Cursor and others) at:

https://plainballot.com/mcp

It has three read-only tools:

  • list_issues: the 18 issues and how each side is worded.
  • get_ballot: every researched race for a street address, with each choice's position, the exact quote, and the source.
  • score_fit: how closely each choice fits the priorities the voter gave, using the same arithmetic as the site. No model is involved.

The agent is told the same rules the site follows: stay nonpartisan, quote and link sources, never fill in a missing position, and only score priorities the voter actually stated. Addresses aren't stored.

Prefer plain JSON? GET https://plainballot.com/api/ballot?address=... returns the same ballot, and the research itself is a free static API.

What already exists, and why we still built this

Good sources are already out there, and Plain Ballot learns from them:

  • Ballotpedia is the most complete record of who's running, and the research agents read it. Its bulk data is a paid product, and its pages aren't ours to republish.
  • BallotReady offers candidate issue stances through a paid API for organizations.
  • Vote Smart collects positions through its Political Courage Test, a survey candidates fill in, along with voting records and ratings.
  • Google Civic and Democracy Works cover who's on the ballot and how to vote.

What we couldn't find was a free, open dataset of where candidates stand, with a checkable quote behind every position, with every candidate on the same issues so they can be compared, and free for anyone to reuse. So we built one: Open Election Data. Every claim still comes from the candidate's own words: agents follow a summary back to the candidate's site, voting record or interview and quote that.

Research your state

The research runs on your own Claude or ChatGPT plan, so anyone can add coverage without paying for API credits. It happens in Open Election Data, which has an open "research your state" issue for each state.

Run it locally

bash
npm installcp .env.example .env.localnpm run dev                        # http://localhost:3000

Without keys, it runs on a fictional sample ballot and the dials still work. Researched races come from the open data's API (set ELECTION_DATA_DIR to a local checkout's data/positions to work offline). Keys turn on typed priorities (AI_GATEWAY_API_KEY), real ballot lookup (GOOGLE_CIVIC_API_KEY) and address suggestions (GOOGLE_PLACES_API_KEY).

bash
npm test               # matching, neutrality, sharing, abuse limitsnpm run eval           # does the AI put people on the right side of each dial? (calls the model)npm run check:issues   # dial wording matches the research data

How it's built

Next.js on Vercel. The Census geocoder finds a voter's districts. Researched races come from the Open Election Data API, matched to voters by district. BotID, rate limits and a spending cap protect the paid endpoints (docs/security.md). The full picture, with a diagram: docs/ARCHITECTURE.md. Coding with an AI agent? Point it at AGENTS.md.

Contributing

The most useful help is research and checking research, and neither needs code. See CONTRIBUTING.md, or open a ready-to-run copy in your browser:

[Open in GitHub Codespaces]

License

AGPL-3.0. Anyone can run their own copy, but a hosted copy has to publish its changes, so nobody can quietly run a biased version.

Star history

[Star history]

来源:README.md,提交 da96633

工具

3

list_issues

List the issues

The 18 issues Plain Ballot tracks. Each has two sides, each worded the way its own supporters would say it. Use the short side labels ("l" and "r") when giving priorities to score_fit.

无需输入参数。

get_ballot

Get a ballot

Every researched race on the ballot for a U.S. street address, with each choice's position on the issues that office decides, the exact quote, and the source URL.

输入参数address必填

score_fit

Score fit with the voter's priorities

How closely each choice on the voter's ballot fits the priorities the voter stated, from 0 to 100. Plain arithmetic, the same as plainballot.com: issues where a choice has no sourced position are left out, never guessed. Only use priorities the voter actually gave you.

输入参数address必填priorities必填

版本历史

1
  1. v1.0.0最新Nov 4, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Plain 集成