André — Analyse électorale française
vote.andre/elections
MCP server OK 11 tools
Résultats des élections françaises 1999-2026 par bureau de vote, socio-démo INSEE et cartes.
Technical sheet
- Author
- andre.vote (registry namespace)
- Repository
- github.com/joelgombin/andre-mcp
- Site
- andre.vote
- Version
- 1.28.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.andre.vote/mcp Streamable HTTP
- Tools
- 11
- Categories
- —
- Last updated
- 25 Jul 2026
- Published
- 25 Jul 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/vote.andre/elections)<a href="https://latlas.dev/en/mcp/vote.andre/elections"><img src="https://latlas.dev/badge/fiche/vote.andre/elections.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.andre.vote/mcp
- Last result
- OK 28 Nov 2026, 10:45
- Response time
- 630 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- andré 1.30.0
- Tools
- 11
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:45 | OK | 630 ms | 11 |
Exposed tools (11, from tools/list, 28 Nov 2026)
query_elections
Résultats électoraux
Requête les données électorales françaises (1999-2026). Niveaux territoriaux : NATIONAL (aucun filtre), RÉGIONAL (region_code), DÉPARTEMENTAL (departement_code), COMMUNAL (commune_code). Actions de base : list_elections, query_results, list_bureaux, query_bureau, query_by_bureau, rank_bureaux, list_circonscriptions, query_circonscription, list_cantons, query_canton, search_candidate, query_candidatures, etc. Actions « panel » (1 appel = analyse complète, évite les boucles) : - compare_elections : compare deux scrutins pour un territoire (election_id + compare_to_election + commune_code|departement_code, candidate_name optionnel). - query_all_circonscriptions : vainqueur de CHAQUE circonscription d'un territoire en un appel (election_id + commune_code|departement_code, législatives uniquement). - vote_reserve : score d'une famille + abstention par bureau de vote sur les scrutins récents comparables (commune_code + famille). - select_communes : sélectionne/classe des communes par critères géo + population + électoraux (region_code/departement_code/epci/commune_codes, population_min/max, commune_metric, condition, sort_by, limit, order ; commune_metric/condition nécessitent election_id). commune_metric accepte PLUSIEURS métriques séparées par des virgules — une colonne chacune, en un seul appel ; condition et sort_by portent alors sur la première. - cross_election_panel : évolution d'un sujet (famille ou nuance_code) par commune sur N scrutins (elections=ids séparés par des vir…
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | |
| election_id | string | null | no | |
| commune_code | string | null | no | |
| departement_code | string | null | no | |
| region_code | string | null | no | |
| bureau_id | string | null | no | |
| bureau_code | string | null | no | |
| candidate_name | string | null | no | |
| family_name | string | null | no | |
| by_family | boolean | no | |
| rank_metric | string | null | no | |
| order | string | null | no | |
| limit | integer | null | no | |
| offset | integer | null | no | |
| use_ferd_coding | boolean | no | |
| nuance_level | integer | null | no | |
| circonscription_code | string | null | no | |
| canton_code | string | null | no | |
| candidate_query | string | null | no | |
| candidate_search | string | null | no | |
| list_search | string | null | no | |
| nuance_code | string | null | no | |
| scrutin_type | string | null | no | |
| tour | integer | null | no | |
| compare_to_election | string | null | no | |
| famille | string | null | no | |
| elections | string | null | no | |
| commune_codes | string | null | no | |
| epci | string | null | no | |
| population_min | integer | null | no | |
| population_max | integer | null | no | |
| commune_metric | string | null | no | |
| group_by | string | null | no | |
| condition | string | null | no | |
| sort_by | string | null | no | |
| top_n | integer | null | no | |
| with_sociodem | boolean | no |
query_admin
Divisions administratives
Requête les divisions administratives françaises. Actions : search_commune, get_commune, search_postal, list_epci, get_epci, list_cantons, list_departements, list_regions.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | |
| search_term | string | null | no | |
| commune_code | string | null | no | |
| postal_code | string | null | no | |
| departement_code | string | null | no | |
| epci_code | string | null | no |
query_elus
Élus de la République
Requête les élus de la République française (base BRÉF). Actions : search_elu, list_mandate_types, list_elus.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | |
| search_term | string | null | no | |
| mandate_type | string | null | no | |
| departement_code | string | null | no |
query_sociodem
Données socio-démographiques
Requête les données socio-démographiques au niveau bureau de vote. Données INSEE RP 2022 + Filosofi 2021, interpolées IRIS→BDV. Actions : list_variables, profile, indices, rank, compare.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | |
| commune_code | string | null | no | |
| variable | string | null | no | |
| commune_codes | string | null | no | |
| order | string | null | no |
query_dlp
Profil social des candidats municipaux
Requête les données DLP (composition sociale des candidats municipaux 2020). ~546 000 candidats dans ~10 000 communes (≥1 000 hab.). Classes : CDOM (dominant), CMOY (moyen), CSUB (subalterne), RET (retraité), AUTRES. Actions : summary, composition, parite, listes, candidats, professions, sortants.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | |
| commune_code | string | null | no | |
| departement_code | string | null | no | |
| classe | string | null | no | |
| sexe | string | null | no | |
| tetes_only | boolean | no | |
| sortants_only | boolean | no | |
| search | string | null | no |
generate_map
Carte électorale
Génère une carte électorale (PNG) pour une élection. Paramètres : - election_id : identifiant élection (ex: '2024_legi_t1', '2020_muni_t2') - metric : 'family' (famille politique en tête), 'nuance' (score d'une nuance), 'abstention' (abstentions / inscrits) ou 'participation' (votants / inscrits). Abstention et participation sont en % des inscrits ; au-dessus du bureau, somme des abstentions (ou votants) sur la somme des inscrits. - geography : 'bv' (bureau de vote, défaut) ou 'commune' (carte nationale) - department : code département (ex: '13'). Requis pour geography='bv' sauf si commune fourni. - commune : code commune (ex: '13055' pour Marseille). Centre la carte sur cette commune. - nuance : code nuance quand metric='nuance' (ex: 'RN', 'LFI', 'ENS') - region : code région pour geography='commune' (ex: '93' pour PACA) Exemples : - Carte par famille, Bouches-du-Rhône : election_id='2024_legi_t1', department='13' - Carte score RN, Marseille : election_id='2024_legi_t1', commune='13055', metric='nuance', nuance='RN' - Carte nationale : election_id='2024_euro_t1', geography='commune' - Carte d'abstention, Marseille : election_id='2024_legi_t1', commune='13055', metric='abstention' - Participation par commune, Bouches-du-Rhône : election_id='2024_legi_t1', geography='commune', department='13', metric='participation'
| Parameter | Type | Required | Description |
|---|---|---|---|
| election_id | string | yes | |
| metric | string | no | |
| geography | string | no | |
| department | string | null | no | |
| commune | string | null | no | |
| region | string | null | no | |
| nuance | string | null | no | |
| circonscription | string | null | no | |
| canton | string | null | no |
simulate_fusions
Simulation de fusions de listes
Simule les scénarios de fusion de listes municipales entre T1 et T2. Actions : 'status' (classer les listes après T1), 'simulate' (projections T2). Uniquement pour les élections municipales.
| Parameter | Type | Required | Description |
|---|---|---|---|
| action | string | yes | |
| election_id | string | yes | |
| commune_code | string | yes | |
| report_rate | number | no |
export_data
Export de données
Exporte des données électorales vers un fichier téléchargeable (CSV, JSON, TSV). Deux modes : data (contenu inline) ou source_path (chemin vers fichier existant).
| Parameter | Type | Required | Description |
|---|---|---|---|
| filename | string | yes | |
| file_format | string | no | |
| data | string | null | no | |
| source_path | string | null | no |
visualize
Visualisation graphique
Crée une visualisation Plotly (retourne le spec JSON). Deux modes : - Spec libre : fournir 'spec' (dict Plotly complet {data, layout}) - Assisté : fournir chart_type + data + mappings Types supportés : bar, line, scatter, histogram, box, violin, heatmap, treemap, grouped_bar, stacked_bar, dumbbell, diverging_bar, dual_axis (x + y + y2), sankey (source + target + values), hemicycle (x=groupe, y=sièges), ternary (a + b + c = trois parts). Paramètres transversaux : subtitle (sous-titre technique), reference_line ({value, label, orientation}) pour un seuil/référence. sample_size (bar) : colonne d'effectif (inscrits, nombre de bureaux) affichée « n = … » sous chaque catégorie.
| Parameter | Type | Required | Description |
|---|---|---|---|
| chart_type | string | null | no | |
| data | array<object> | null | no | |
| data_file | string | null | no | |
| spec | object | null | no | |
| x | string | null | no | |
| y | string | null | no | |
| color | string | null | no | |
| title | string | null | no | |
| subtitle | string | null | no | |
| y2 | string | null | no | |
| source | string | null | no | |
| target | string | null | no | |
| values | string | null | no | |
| z | string | null | no | |
| path | array<string> | null | no | |
| a | string | null | no | |
| b | string | null | no | |
| c | string | null | no | |
| size | string | null | no | |
| reference_line | object | null | no | |
| sample_size | string | null | no |
create_data_table
Tableau de données
Crée un tableau de données formaté à partir de données structurées. Utile pour présenter des résultats calculés ou combinés. Retourne un tableau texte formaté.
| Parameter | Type | Required | Description |
|---|---|---|---|
| title | string | yes | |
| columns | array<object> | yes | |
| rows | array<object> | yes | |
| description | string | null | no |
query_sql
Requête SQL (lecture seule)
Exécute une requête SQL directe sur la base DuckDB (read-only). Tables principales : - general_results : résultats généraux par bureau de vote - candidats_results : résultats par candidat par bureau de vote - elections_disponibles : liste des élections (id_election, nb_bureaux, total_inscrits) - candidats_avec_nuances : candidats avec famille politique (si nuances enrichies) - resultats_par_famille : résultats agrégés par famille politique - communes, epci, departements, regions : divisions administratives - bv_sociodemographique : données socio-démo par bureau de vote ATTENTION — colonnes de general_results (noms avec espaces, à quoter) : id_election, id_brut_miom, "Code du département", "Code de la commune" (SANS préfixe dept, ex: '055' pour Marseille), "Libellé de la commune", Inscrits, Abstentions, Votants, Blancs, Nuls, Exprimés. PRÉFÉRER query_elections pour les analyses standard — query_sql est pour les requêtes ad hoc avancées. Exemple : SELECT id_election, ROUND(100.0 * SUM(Abstentions) / NULLIF(SUM(Inscrits), 0), 1) as abstention_pct FROM general_results WHERE "Code du département" = '13' AND "Code de la commune" = '055' GROUP BY id_election ORDER BY id_election DESC LIMIT 5
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.andre.vote/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http elections https://mcp.andre.vote/mcpCustomize > Connectors > + Add > Add custom connector ; Name : elections ; URL : https://mcp.andre.vote/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : elections ; Server URL : https://mcp.andre.vote/mcp ; Create as a plugin{
"mcpServers": {
"elections": {
"url": "https://mcp.andre.vote/mcp"
}
}
}{
"mcpServers": {
"elections": {
"type": "http",
"url": "https://mcp.andre.vote/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"elections": {
"url": "https://mcp.andre.vote/mcp"
}
}
}{
"mcpServers": {
"elections": {
"httpUrl": "https://mcp.andre.vote/mcp"
}
}
}[mcp_servers.elections]
url = "https://mcp.andre.vote/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
André — Analyse électorale française · L’Atlas · Tested on
[André — Analyse électorale française — L’Atlas](https://latlas.dev/en/mcp/vote.andre/elections)Source : Registre officiel MCP · retrieved 30 Nov 2026. L’Atlas adds no data beyond this source and its own tests.