André — Analyse électorale française
vote.andre/elections
Serveur MCP OK 11 outils
Résultats des élections françaises 1999-2026 par bureau de vote, socio-démo INSEE et cartes.
Fiche technique
- Auteur
- andre.vote (espace de noms du registre)
- Dépôt
- github.com/joelgombin/andre-mcp
- Site
- andre.vote
- Version
- 1.28.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.andre.vote/mcp Streamable HTTP
- Outils
- 11
- Catégories
- —
- Dernière mise à jour
- 25 juil. 2026
- Publication
- 25 juil. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/vote.andre/elections)<a href="https://latlas.dev/mcp/vote.andre/elections"><img src="https://latlas.dev/badge/fiche/vote.andre/elections.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.andre.vote/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:45
- Temps de réponse
- 630 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- andré 1.30.0
- Outils
- 11
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:45 | OK | 630 ms | 11 |
Outils exposés (11, réponse à 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…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | string | oui | |
| election_id | string | null | non | |
| commune_code | string | null | non | |
| departement_code | string | null | non | |
| region_code | string | null | non | |
| bureau_id | string | null | non | |
| bureau_code | string | null | non | |
| candidate_name | string | null | non | |
| family_name | string | null | non | |
| by_family | boolean | non | |
| rank_metric | string | null | non | |
| order | string | null | non | |
| limit | integer | null | non | |
| offset | integer | null | non | |
| use_ferd_coding | boolean | non | |
| nuance_level | integer | null | non | |
| circonscription_code | string | null | non | |
| canton_code | string | null | non | |
| candidate_query | string | null | non | |
| candidate_search | string | null | non | |
| list_search | string | null | non | |
| nuance_code | string | null | non | |
| scrutin_type | string | null | non | |
| tour | integer | null | non | |
| compare_to_election | string | null | non | |
| famille | string | null | non | |
| elections | string | null | non | |
| commune_codes | string | null | non | |
| epci | string | null | non | |
| population_min | integer | null | non | |
| population_max | integer | null | non | |
| commune_metric | string | null | non | |
| group_by | string | null | non | |
| condition | string | null | non | |
| sort_by | string | null | non | |
| top_n | integer | null | non | |
| with_sociodem | boolean | non |
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | string | oui | |
| search_term | string | null | non | |
| commune_code | string | null | non | |
| postal_code | string | null | non | |
| departement_code | string | null | non | |
| epci_code | string | null | non |
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | string | oui | |
| search_term | string | null | non | |
| mandate_type | string | null | non | |
| departement_code | string | null | non |
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | string | oui | |
| commune_code | string | null | non | |
| variable | string | null | non | |
| commune_codes | string | null | non | |
| order | string | null | non |
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | string | oui | |
| commune_code | string | null | non | |
| departement_code | string | null | non | |
| classe | string | null | non | |
| sexe | string | null | non | |
| tetes_only | boolean | non | |
| sortants_only | boolean | non | |
| search | string | null | non |
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'
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| election_id | string | oui | |
| metric | string | non | |
| geography | string | non | |
| department | string | null | non | |
| commune | string | null | non | |
| region | string | null | non | |
| nuance | string | null | non | |
| circonscription | string | null | non | |
| canton | string | null | non |
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | string | oui | |
| election_id | string | oui | |
| commune_code | string | oui | |
| report_rate | number | non |
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| filename | string | oui | |
| file_format | string | non | |
| data | string | null | non | |
| source_path | string | null | non |
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chart_type | string | null | non | |
| data | array<object> | null | non | |
| data_file | string | null | non | |
| spec | object | null | non | |
| x | string | null | non | |
| y | string | null | non | |
| color | string | null | non | |
| title | string | null | non | |
| subtitle | string | null | non | |
| y2 | string | null | non | |
| source | string | null | non | |
| target | string | null | non | |
| values | string | null | non | |
| z | string | null | non | |
| path | array<string> | null | non | |
| a | string | null | non | |
| b | string | null | non | |
| c | string | null | non | |
| size | string | null | non | |
| reference_line | object | null | non | |
| sample_size | string | null | non |
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é.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| title | string | oui | |
| columns | array<object> | oui | |
| rows | array<object> | oui | |
| description | string | null | non |
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
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.andre.vote/mcp. Formats repris de la documentation de chaque client.
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"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
André — Analyse électorale française · L’Atlas · Test du
[André — Analyse électorale française — L’Atlas](https://latlas.dev/mcp/vote.andre/elections)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.