About せいじのまど (Seiji no Mado)
せいじのまど is a Japanese politics information site and read-only public data API for people seeking sourced, nonpartisan facts. It separates facts from opinions, publishes its editorial rules, and checks generated articles against source materials before release.
Key features
- 01Laws, bills, votes, parties, and members
- 02Public API with no registration or key
- 03Daily automated data updates
- 04Source-based article checks
- 05Published editorial rules
Use cases
- 01Look up a law's status or a Diet vote
- 02Retrieve public political data through the API
- 03Review the site's sourcing and neutrality rules
MCP support
The project includes an MCP API on Cloudflare Workers that provides read-only access to its public data.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.seijinomado.com/mcpclaude mcp add --transport http kanameyamamoto-seiji-no-mado https://api.seijinomado.com/mcp{"mcpServers":{"kanameyamamoto-seiji-no-mado":{"type":"http","url":"https://api.seijinomado.com/mcp"}}}Open in Cursor{"servers":{"kanameyamamoto-seiji-no-mado":{"type":"http","url":"https://api.seijinomado.com/mcp"}}}Open in VS Code{"mcpServers":{"kanameyamamoto-seiji-no-mado":{"type":"http","url":"https://api.seijinomado.com/mcp"}}}{"mcpServers":{"kanameyamamoto-seiji-no-mado":{"serverUrl":"https://api.seijinomado.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEせいじのまど
政治の情報を、どの党にもメディアにも偏らずに届けるサイトです。 事実と意見を分けて、結論は書きません。書き方のルールは、すべて公開しています(data/rules.json)。
- サイト:GitHub Pages で公開。検索と AI からの入口だけ、公開データを読むだけの小さなサーバー(Cloudflare Workers)を使います(ルール S-1〜S-3)
- 更新:GitHub Actions が毎朝、次のことを行います(くわしくは docs/運用.md)
- 会派別の議員数・国会の会期・法律の公布日・質問主意書の一覧を、元の資料から機械で更新
- 新しく成立した法律・予算・条約と、否決された法律案の記事を、Claude(スケジュール)が書き、機械と Gemini で確かめて公開
- 出典が変わったページ・確認日から日数がたったページを、出典と照らして見直す(出典は週1回すべて見張る)
しくみ
参議院 議案情報 ──▶ update_laws.py ──▶ data/pending/(下書き:資料をそのまま保存)
│
ai_draft.py ◀────┘
├ 書く担当(Claude のスケジュール。work/ で受け渡し)が4つのレベルで書く
├ 数字・日付を、AIを使わずに元の資料と照合(C-2)
├ 確かめる担当(Google Gemini)が誤り・もれ・評価語・偏りを確認(C-1)
└ 通らなければ書き直し(最大3回、だめなら公開しない:C-3)
│
publish.py ──▶ data/feed.json ──▶ validate.py ──▶ GitHub Pages
│
data/logs/(指示文・モデル名・チェック結果:C-4)
| ファイル | 役割 |
|---|---|
index.html | サイト本体(1ファイル。data/*.json を読んで表示) |
data/*.json | 中身(国会で決まったこと・学ぶ・政党・メディア・つながり・用語・ルール) |
data/config.json | 確かめる国会の回次、見直しの間隔と1日の上限 |
data/watch.json | 出典の見張りの記録と、見直し待ちのページ |
data/logs/ | AIへの指示文・モデル名・チェックの結果(記事・見直しごと) |
pipeline/ | 更新のプログラム(Python) |
work/ | Claude(スケジュール)への依頼と答えの受け渡し(docs/claude-writer.md) |
prompts/ | AIへの指示文(そのまま公開) |
.github/workflows/ | 毎日の更新・公開・チェック |
pipeline/councils.py | 国の審議会(内閣人事局「審議会総覧」の PDF から。ルール D-18)→ data/councils.json |
pipeline/db.py・worker/ | 検索API・MCP(api.seijinomado.com)。公開データを読むだけの Cloudflare Workers と D1(ルール S-1〜S-3) |
間違いを見つけたら・ルールを変えたいとき
- 間違い:Issue の「訂正の依頼」から(ルールT-2)
- ルール:Issue の「ルール変更の提案」から。変更案と理由を公開してから反映します(ルールT-1)
運用の手順は docs/運用.md にまとめています。
データを使う(公開API)
登録・キーなしで、無料で使えます(CC BY 4.0)。一覧:https://seijinomado.com/api/v1/index.json
(国会で決まったこと・政党・国会議員〈参議院議員は法律ごとの賛否つき〉・知事・学ぶ・つながり・ことば・ルール)
ライセンス
- プログラム(
index.htmlの中のコード、pipeline/、.github/):MIT License(LICENSE) - 文章・データ(
data/、prompts/、docs/):CC BY 4.0(LICENSE-CONTENT) - 出典として引用している官公庁などの資料は、それぞれの出典の利用条件に従います。
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.