Developers and AI agents

Dossiermap measures real processing times for French naturalisation and residence permits, office by office, from dates reported by applicants. AI assistants can read the aggregated numbers and help a user report their own case. The same functions are available as an MCP server and as a REST API.

MCP server

Endpoint: https://dossiermap.com/mcp (Streamable HTTP, stateless, no authentication for reading).

{
  "mcpServers": {
    "dossiermap": {
      "type": "http",
      "url": "https://dossiermap.com/mcp"
    }
  }
}

REST API

All read endpoints accept lang=fr|en. Errors are JSON: {"error": "code", "message": "…"}.

Reporting a case: drafts only

An agent can never publish data on a user's behalf. submit_report stores a draft and emails the user a link. The user reviews the dates on dossiermap.com, corrects them if needed, gives consent there, and confirms. Only then is the case counted; confirming also signs the user in to "My dossier", where they can track the case. Unconfirmed drafts are deleted with the email address after 7 days.

{
  "procedure": "fr_naturalisation_decret",
  "department": "69",
  "events": [
    {
      "stage": "depot",
      "date": "2025-03-10"
    },
    {
      "stage": "recepisse_completude",
      "date": "2025-05"
    },
    {
      "stage": "entretien",
      "date": "2025-11-20"
    }
  ],
  "outcome": "open",
  "channel": "anef",
  "email": "user@example.org",
  "lang": "fr"
}

Rules