Parliament MCP (India)
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Parliament MCP (India) Which committee is examining the Data Protection Bill, and who sits on it?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Parliament MCP (India)
Lets AI assistants (Claude, ChatGPT and other tools that support MCP) look up accurate, current facts about India's Parliament instead of guessing from memory: who the MPs are, which committees they sit on, and which committee is examining a bill.
Built by CitizenView. Data from PRS Legislative Research, CC BY 4.0 — credit PRS when you use it.
Connect
Run it with uv, one command, no cloning:
uvx --from git+https://github.com/lhasao/parliament-mcp-india parliament-mcp-indiaClaude Desktop (claude_desktop_config.json):
{ "mcpServers": { "parliament-india": { "command": "uvx", "args": ["--from", "git+https://github.com/lhasao/parliament-mcp-india", "parliament-mcp-india"] } } }Claude Code: claude mcp add parliament-india -- uvx --from git+https://github.com/lhasao/parliament-mcp-india parliament-mcp-india
Related MCP server: Indian Legal MCP
What it answers
Tool | What it does |
| Current MPs, filtered by house, state or party (paginated) |
| Find MPs by name or constituency |
| One MP, with the committees they sit on |
| Committees, chairs and full membership |
| Tracked bills and the committees examining them |
| The MPs on the committee examining a bill |
Covers the 18th Lok Sabha, current Rajya Sabha members and all parliamentary committees. A bill is linked to a committee only when that committee's own PRS page names it. "Relevant" means the MP sits on the committee examining the bill — not that they support it. No contact details are included.
Running it as a web service
parliament-mcp-india --http --port 8000 serves MCP at /mcp with these protections:
Only
POST /mcpserves MCP;GET /and/healthreturn a short info page; everything else is refused.Per-client rate limit: 60 requests a minute with bursts of 20 (
RATE_LIMIT_PER_MINUTE,RATE_LIMIT_BURST). It's held in memory, per running instance. Behind a trusted reverse proxy, setTRUST_PROXY_HEADERS=1so it keys on the real client IP.Request bodies capped at 64 KB; tool inputs length-limited.
The MCP SDK's host and origin checks (DNS-rebinding protection). Only localhost is allowed by default; add your domain with
MCP_ALLOWED_HOSTS(and browser origins withMCP_ALLOWED_ORIGINS).Security headers on every response. The service is read-only and holds no secrets.
Develop
uv venv --python 3.12 && source .venv/bin/activate && uv pip install -e .
python -m unittest discover -s tests # unit and HTTP-protection tests
python tests/fixtures/smoke_test_client.py # real client over stdio
parliament-mcp-india --http --port 8000 & # local web server with its protections
python tests/fixtures/smoke_test_http.py # real client over HTTPRefresh the data
Run around parliamentary sessions. It waits 10 seconds between requests, as PRS's robots.txt asks, so a full run takes about 25 minutes.
python -m parliament_mcp_india.ingest --bills ../citizenview/src/data/bill-timelines.json \
--out src/parliament_mcp_india/dataset/parliament.json --cache /tmp/prs-cache
python -m parliament_mcp_india.export_site --out ../citizenview/src/data/bill-mps.json # MPs on CitizenView bill pagesLicense
Code: MIT (see LICENSE). Data: PRS Legislative Research, CC BY 4.0.
Available Tools
7 toolsget_committeeC
A committee's chair and full membership.
Inputs: committee_id (required).
get_memberC
One MP's details, including the committees they sit on.
Inputs: member_id (required).
list_billsB
Bills currently tracked, with the committees examining them.
Inputs: no named parameters. Returns: result
list_committeesA
All parliamentary committees with their chair and size.
Inputs: no named parameters. Returns: result
list_membersA
List current MPs. Filter by house ("Lok Sabha" or "Rajya Sabha"), state, or party. Paginated (limit 1–200).
Inputs: house, limit, party, state, +1 more.
relevant_mps_for_billA
The MPs on the committee examining a bill. Accepts a PRS bill slug or part of the bill's title.
Inputs: bill (required).
search_membersA
Find MPs by name or constituency (partial match, max 50 results).
Inputs: query (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools target distinct resources (members, committees, bills) and the list/get pairs are cleanly separated. The only real overlap is list_members vs search_members, which both answer 'find MPs' — one by structured filters, the other by partial text — and an agent could plausibly pick the wrong one for a name query. relevant_mps_for_bill is a join over list_bills/get_committee but its bill-centric framing makes its purpose clear.
Six of seven tools follow a consistent verb_noun snake_case pattern (list_members, get_member, list_committees, get_committee, list_bills, search_members). The exception is relevant_mps_for_bill, which is noun-phrase style rather than verb-first, but it remains readable and snake_case consistent.
Seven tools is a well-scoped set for a parliamentary data server: two list/get pairs for members and committees, a search, a bill listing, and one targeted cross-reference tool. Each tool has a distinct job and nothing feels padded.
Member and committee coverage is solid (list, search, get with committee membership), and bills can be listed and linked to committee members. However, there is no get_bill/detail tool for a specific bill (status, sponsors, text), so bill workflows dead-end at the list, and there is no committee search or bill-search operation.
Maintenance
Related MCP Connectors
U.S. civic data for AI agents: reps, votes, bills, finance, lobbying, cited gov sources. 47 tools.
Federal and 50-state legislative data for AI: bills, text, votes, members, and committees.
EU laws, live legislative procedures, calendar, EPRS and policy guides for any AI assistant.
Search MPs and Lords, fetch profiles, synopses, and Westminster constituencies
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to query bills, committees, and members from the Israeli Knesset parliamentary information API via MCP tools.99 npm3MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to retrieve the exact, structured text of 10 major Indian Acts — pulling individual sections or Constitution articles, browsing chapters and section ranges, and running ranked keyword searches — with repealed laws flagged and their replacements named. All results are sourced directly from the underlying Act texts rather than model memory, preventing hallucinated section numbers, punishments, or outdated law.1-
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to query and compare Indian MPs using parliamentary records, attendance, affidavits, and election results, including topic search, report cards, rankings, and source-backed answers.-
- AlicenseAqualityBmaintenanceEnables LLMs to query live Austrian Parliament data — current Nationalrat and Bundesrat members, plenary sessions and individual speeches, inquiries and answers, bills with their committee procedure and party votes, and committees — returning source-linked results, with full-text speech search and ready-made research prompts.1260 npmMIT