{"id":"7db1690b-fb94-45cf-8d52-0119c7ea95d5","slug":"plainballot","kind":"mcp","name":"plainballot","summary":"A free source of candidates and their positions, every position backed by a quote you can check. Plus a nonpartisan voter guide built on it.","owner":"n8peace","repoUrl":"https://github.com/n8peace/plainballot","license":"AGPL-3.0","licenseTier":"strong-copyleft","trust":"community","stars":0,"match":null,"fewStars":true,"format":"mcp","createdAt":"2026-09-24T05:05:30.000Z","addedAt":"2026-11-05T22:04:28.093Z","logoUrl":"https://avatars.githubusercontent.com/u/6845330?u=d653bac4bd8a16d4c7db390154b66e4204e4166d&v=4","linkOnly":false,"collection":null,"skillPath":null,"categories":["data-analytics"],"tags":["civic-tech","democracy","elections","hacktoberfest","nextjs","nonpartisan","open-data","voter-guide"],"runtime":"remote","local":false,"cloudCapable":false,"cloudCapability":"unknown","cloudReadyOnPlatform":false,"needsApiKey":false,"reviewed":false,"syncedAt":"2026-11-08T04:31:36.299Z","sample":false,"url":"https://conduits.dev/tools/plainballot","language":"TypeScript","transports":["http"],"install":{"remoteUrl":"https://plainballot.com/mcp"},"requirements":{"env":[],"upstreamMayCharge":false},"tools":null,"readme":"<div align=\"center\">\n\n# Plain Ballot\n\n**Every race on your ballot, matched to what you care about. Every position backed by a quote you can check.**\n\n[plainballot.com](https://plainballot.com) · [How it works](https://plainballot.com/methodology) · [The open data](https://github.com/n8peace/open-election-data) · [Contribute](CONTRIBUTING.md)\n\n[![CI](https://github.com/n8peace/plainballot/actions/workflows/ci.yml/badge.svg)](https://github.com/n8peace/plainballot/actions/workflows/ci.yml)\n[![License: AGPL-3.0](https://img.shields.io/badge/license-AGPL--3.0-black)](LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/n8peace/plainballot?style=social)](https://github.com/n8peace/plainballot/stargazers)\n\n<img src=\"docs/img/preview.png\" alt=\"Plain Ballot\" width=\"720\">\n\n</div>\n\nWho'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.\n\nCovering every race in California, plus U.S. House and Senate races in all 50 states, for Nov 3, 2026.\n\n**Two projects, both free and open:**\n\n- **[Plain Ballot](https://plainballot.com)** (this repo): the voter guide.\n- **[Open Election Data](https://github.com/n8peace/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](https://n8peace.github.io/open-election-data/).\n\n## AI that has to show its work\n\nChatbots get voting facts wrong. Plain Ballot is built so no single model's word ever reaches a voter.\n\n- **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.\n- **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.\n- **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.\n- **Matching isn't AI.** It's plain, deterministic arithmetic in your browser ([lib/match.ts](lib/match.ts)). Same answers, same ballot, every time.\n- **Voters can push back.** \"Not right?\" on any claim files a public issue and reruns the research with fresh agents. Corrections are public.\n- **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.\n- **Every word is public.** The dial wording, the agreement rules and every researched position live in [Open Election Data](https://github.com/n8peace/open-election-data); the matching lives here.\n\n## Use the data\n\nThe research is its own project: **[Open Election Data](https://github.com/n8peace/open-election-data)**. It has a free, static API with no key needed:\n\n```bash\ncurl -s https://n8peace.github.io/open-election-data/v1/divisions/ca/cd-10.json\n```\n\nUse it for anything, including commercial products, under the Open Database License: credit it, and share improvements to the data under the same terms.\n\n## Send your agent\n\nPlain Ballot works without a browser. Point any AI agent that supports MCP (Claude, ChatGPT, Cursor and others) at:\n\n```\nhttps://plainballot.com/mcp\n```\n\nIt has three read-only tools:\n\n- `list_issues`: the 18 issues and how each side is worded.\n- `get_ballot`: every researched race for a street address, with each choice's position, the exact quote, and the source.\n- `score_fit`: how closely each choice fits the priorities the voter gave, using the same arithmetic as the site. No model is involved.\n\nThe 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.\n\nPrefer plain JSON? `GET https://plainballot.com/api/ballot?address=...` returns the same ballot, and the research itself is a [free static API](https://n8peace.github.io/open-election-data/).\n\n## What already exists, and why we still built this\n\nGood sources are already out there, and Plain Ballot learns from them:\n\n- **[Ballotpedia](https://ballotpedia.org)** 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.\n- **[BallotReady](https://organizations.ballotready.org/ballotready-api)** offers candidate issue stances through a paid API for organizations.\n- **[Vote Smart](https://www.votesmart.org/votesmart-api)** collects positions through its Political Courage Test, a survey candidates fill in, along with voting records and ratings.\n- **[Google Civic](https://developers.google.com/civic-information)** and **[Democracy Works](https://democracy.works/elections-api)** cover who's on the ballot and how to vote.\n\nWhat 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](https://github.com/n8peace/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.\n\n## Research your state\n\nThe 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](https://github.com/n8peace/open-election-data), which has an open \"research your state\" issue for each state.\n\n## Run it locally\n\n```bash\nnpm install\ncp .env.example .env.local\nnpm run dev                        # http://localhost:3000\n```\n\nWithout 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`).\n\n```bash\nnpm test               # matching, neutrality, sharing, abuse limits\nnpm run eval           # does the AI put people on the right side of each dial? (calls the model)\nnpm run check:issues   # dial wording matches the research data\n```\n\n## How it's built\n\nNext.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](docs/security.md)). The full picture, with a diagram: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). Coding with an AI agent? Point it at [AGENTS.md](AGENTS.md).\n\n## Contributing\n\nThe most useful help is research and checking research, and neither needs code. See [CONTRIBUTING.md](CONTRIBUTING.md), or open a ready-to-run copy in your browser:\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/n8peace/plainballot)\n\n## License\n\nAGPL-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.\n\n## Star history\n\n[![Star history](https://api.star-history.com/svg?repos=n8peace/plainballot&type=Date)](https://star-history.com/#n8peace/plainballot&Date)\n"}