france-parliament-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Overview
Search French parliamentary open data from the Assemblée nationale and Sénat. Use French search terms and pass the returned IDs to the detail tools to follow a bill, inspect a roll call, or read an amendment.
Tools
Name | Description |
| Find deputies and senators by name, status, group, department, or committee. |
| Read mandates, group history, committee roles, and recorded vote counts. |
| Find bills by title, origin, procedure, state, or date of last activity. |
| Follow the legislative timeline across chambers and find linked roll calls. |
| Find roll calls by title, dossier, member, date, or outcome. |
| Inspect tallies, group breakdowns, corrections, and named positions. |
| Find amendments by text, dossier, signer, group, article, stage, or fate. |
| Read complete amendment text, rationale, signers, and relationships by ID. |
| Read identifier formats, code tables, coverage, and mirror status. |
Related MCP server: @cyanheads/eu-parliament-mcp-server
Capability reference
All four search tools accept offset and limit, default to 25 results, and clamp at 100 unless otherwise noted. The chamber filter accepts assemblee or senat.
frparl_search_members tool
Filter by
query,chamber,status(currentorformer),group,department, orcommittee.Results include member IDs, a linked identity where verified, and current or last known group and constituency.
frparl_get_member tool
Supply an
idfrom member search, a Sénat matricule, or an official Sénat profile URL.Check
foundbefore reading mandates, roles, official links, and recorded position counts.
frparl_search_dossiers tool
Filter by
query,origin(assemblee,senat, orgouvernement),procedure,state(in_progress,adopted, orpromulgated),from_date, orto_date. Dates apply to the latest legislative activity.Linked chamber records appear once, with their IDs and
link_source.
frparl_get_dossier tool
Supply an
idfrom dossier search or an official dossier URL.Check
foundbefore reading the timeline, official citations, and the newest 25 linked roll calls. The result includesvote_totalandvote_continuationwhen more roll calls are available.
frparl_search_votes tool
Filter by
query,chamber,dossier_id,member_id,from_date,to_date, oroutcome(adoptedorrejected).type(ordinaire,solennel, orcensure) applies to the Assemblée.amendment_numberapplies to the Sénat.position(pour,contre,abstention, ornon_votant) andagainst_grouprequiremember_id. Member results include the recorded position and the source of the group majority when known.
frparl_get_vote tool
Supply either
idfrom vote search, including a supported Sénat vote URL, or the Sénatsessionandnumber.Check
foundbefore reading official tallies, group breakdowns, linked amendments, and corrections. Named positions can be filtered bypositionorgroup. Page them withoffsetandpositions_limit(default 25, maximum 600) and follownext_offset.
frparl_search_amendments tool
Filter by
query,chamber,text_idor Sénatsessionwithtext_number,dossier_id,author_id,group,article,stage(commissionorséance),fate(adopted,rejected,withdrawn,not_moved, orinadmissible), or filing datesfrom_dateandto_date. The author filter also matches cosigners.Results include amendment IDs, official links, and published fate. Set
include_textfor the complete dispositif and exposé. This changes the default limit to 10 and the maximum to 25.
frparl_get_amendment tool
Supply
idsfrom amendment search. Each call resolves the first ten, with additional IDs inremaining_idsand a continuation.Results include published text, fate, signers, and available relationships. A missing Assemblée ID can trigger a live lookup once the mirror is ready.
not_foundholds confirmed misses. Retry IDs infailurescarrying thelive_amendment_unavailablereason.
frparl_list_reference tool
Supply
topic:identifiers,coverage,data_status,groups,procedures,act_codes,vote_codes,organ_types, oramendment_fates.Read identifier guidance, known codes, and baseline coverage even with an empty mirror. Check
data_statusfor the active generation and source refresh status, andcoveragefor date ranges and counts after import.
Features
Local SQLite mirror shared by clients and the CLI. Searches read a published snapshot while imports prepare the next one.
Standard I/O and Streamable HTTP via
@cyanheads/mcp-ts-core.Dossier timelines join the two chambers where an official cross-reference identifies the same bill.
Agent-friendly output
Source provenance includes dataset credits and official record URLs where available. Sénat group breakdowns identify their derived majority, and sitting-based dossier links carry their provenance.
Search results include effective selectors and pagination. Amendment batch results distinguish confirmed misses from retryable lookup failures.
Text and structured MCP results carry the same data, including French amendment text and official links.
Coverage and attribution
Chamber | Coverage |
Assemblée nationale | 17th legislature exports, including carried-over dossiers and historical mandates in the covered roster. Recorded roll calls start in October 2024. The publication feed adds newer and republished amendments. |
Sénat | Senators since 1958 in ODSEN. DOSLEG dossiers start in October 1977, with some adopted texts from October 1958. Nominal roll calls start in October 2006. AMELI covers séance filings from October 2001 and commission filings from around October 2010. |
Use frparl_list_reference with topic: "coverage" for the ranges and counts in your snapshot. Assemblée votes expose published named positions. Sénat group breakdowns use dated group memberships. The service is unofficial. Data comes from Assemblée nationale open data and Sénat open data, under their respective Assemblée licence and Sénat licence.
Getting started
With Node.js 24 or later, initialize the mirror in a terminal before connecting your client. The public data sources require no API key.
npx -y @cyanheads/france-parliament-mcp-server mirror:initInitialization downloads and indexes the official datasets. A measured published SQLite snapshot occupied 8,069,689,344 bytes (about 8.1 GB). Budget additional local disk space for downloaded archives, indexes, SQLite staging, and the active snapshot retained during a refresh. The CLI checks available space as it imports.
The CLI and server use ~/.local/share/france-parliament-mcp-server by default. For a different location, set FRPARL_DATA_DIR to the same writable absolute path in the terminal and the client configuration. An empty directory still allows an MCP session and reference calls. Search and detail tools report mirror_not_ready until initialization publishes the first snapshot.
Add it to Claude Code:
claude mcp add france-parliament-mcp-server -- npx -y @cyanheads/france-parliament-mcp-serverFor other clients, add this to your MCP configuration:
{
"mcpServers": {
"france-parliament-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/france-parliament-mcp-server"]
}
}
}For a source build or local HTTP transport, see Running the server.
Configuration
Variable | Description | Default |
| Writable local mirror directory shared by the CLI and server. |
|
| Transport ( |
|
| HTTP bind address. |
|
| HTTP port. |
|
| MCP endpoint path over HTTP. |
|
See .env.example for optional overrides.
Running the server
Maintain the mirror
npx -y @cyanheads/france-parliament-mcp-server mirror:refresh
npx -y @cyanheads/france-parliament-mcp-server mirror:top-up
npx -y @cyanheads/france-parliament-mcp-server mirror:verifymirror:refresh checks for updated bulk archives. mirror:top-up imports standalone Assemblée amendments from today's and yesterday's publication lists in Paris time. mirror:verify checks the active snapshot and reports counts. STDIO sessions rely on explicit maintenance. HTTP mode schedules a daily bulk refresh at 04:20 and an hourly top-up at minute 00 in the server's time zone. Run mirror:init explicitly in either mode.
Local development
Requires Bun 1.4.4 or later for development and Node.js 24 or later for the start scripts.
git clone https://github.com/cyanheads/france-parliament-mcp-server.git
cd france-parliament-mcp-server
bun install
bun run rebuild
bun dist/index.js mirror:init
bun run start:stdio
# Or serve locally over HTTP at http://127.0.0.1:3010/mcp
bun run start:httpbun run bundle builds the Claude Desktop bundle. The bundle also uses the same mirror, which you prepare with the CLI before connecting.
Docker
Build locally and reuse one volume for initialization and serving. The container's bun user needs write access to the mounted directory.
docker build -t france-parliament-mcp-server .
docker run --rm -v frparl-mirror:/usr/src/app/.mirror france-parliament-mcp-server bun dist/index.js mirror:init
docker run --rm -p 127.0.0.1:3010:3010 -v frparl-mirror:/usr/src/app/.mirror france-parliament-mcp-serverProject structure
Path | Purpose |
| MCP entry point and mirror CLI dispatch. |
| The nine tool definitions and their shared response schema. |
| Chamber-specific archive readers and normalizers. |
| Archive downloads, generation publication, and refresh jobs. |
| Shared identifiers, schema, and read queries. |
| Tool and service tests. |
See the project tree and design notes for details.
Development guide
See CLAUDE.md or AGENTS.md for development guidance.
Register tools in the
createApp()tool array insrc/index.ts.Let handlers throw typed errors and use
ctx.logfor request-scoped logging.Validate raw source data, normalize to domain types, and return the output schema. Preserve missing fields as unknown and keep the provenance for derived values.
Contributing
Issues are welcome. Run checks and tests before submitting.
bun run devcheck
bun run testLicense
Apache-2.0. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Access U.S. congressional data (bills, votes, members, committees) via MCP.
Search MPs and Lords, fetch profiles, synopses, and Westminster constituencies
French and European parliament open data: bills, amendments, roll-call votes, MPs, decrees.
Act on your Check & Vote account (OAuth) and query French and EU parliament data in SQL.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables access to U.S. congressional data including bills, laws, members, committees, votes, nominations, CRS reports, and the Congressional Record through MCP, with stdio and Streamable HTTP support.301 npm2Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables discovery and retrieval of European Parliament procedures, MEPs, plenary votes, documents, speeches, and questions from the Open Data API over STDIO or Streamable HTTP.353 npm1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables searching and retrieving UK Parliament records — bills, members, Commons and Lords divisions, Hansard contributions, written questions, and committee business — from the official Parliament APIs. Runs over STDIO or Streamable HTTP with no API key, linking records across their distinct identifiers.316 npm1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables searching Japanese National Diet speeches and meeting minutes since 1947, reading sitting headers, agendas, and debate text, and looking up houses, eras, committees, sessions, and search syntax via MCP over STDIO or Streamable HTTP.Apache 2.0