One command:
claude mcp add --transport http lexgit https://app.lexgit.fr/mcp
The corpus exposes a read-only MCP server. Your assistant can open an article, find the version applicable on a date, compare two states, follow links between texts and leave with a citation that points to the official publication.
https://app.lexgit.fr/mcp| Tool | Use |
|---|---|
lg_list_documents | List texts: jurisdiction, type, volumes, official link and LexGit URL. |
lg_document_info | Text metadata: dates, status, source, licence, official identifier. |
lg_document_tree | Text tree (sections and articles) up to a given depth. |
lg_article | Exact article text, latest or explicit version, with dates and provenance. |
lg_article_at_date | Version applicable on a given date (YYYY-MM-DD). |
lg_versions | All versions of an article with dates, status and link. |
lg_diff | Exact diff between two versions, ranges in code points. |
lg_search | Full-text search across the corpus or one text, with dates and status. |
lg_search_nodes | Search by article number or heading within a text. |
lg_cite | Ready-to-copy citation: reference, official source and permanent link. |
lg_relations | Source-declared and automatically detected links, with origin and status. |
lg_annotations | V2 AST annotations of a version: cues, subjects, actions, time markers — candidates. |
lg_rule_candidates | V2 rule candidates and their review status. |
lg_graph_edges | V2 graph edges from an entity, with origin and resolution. |
lg_sources | Corpus sources: publisher, licence, URI, number of texts. |
lg_releases | Retrieval history: source, date, volumes, errors. |
One command:
claude mcp add --transport http lexgit https://app.lexgit.fr/mcp
Claude Desktop: Settings → Connectors → Add custom connector, then paste the server URL. Or add the JSON block below.
{
"mcpServers": {
"lexgit": {
"type": "http",
"url": "https://app.lexgit.fr/mcp"
}
}
}In ~/.cursor/mcp.json:
{
"mcpServers": {
"lexgit": { "url": "https://app.lexgit.fr/mcp" }
}
}In .vscode/mcp.json:
{
"servers": {
"lexgit": {
"type": "http",
"url": "https://app.lexgit.fr/mcp"
}
}
}The server also runs over stdio for local use: python -m app.mcp_server
60 requests per minute per anonymous IP. No prompt content is stored; only standard HTTP logs are kept.
Data remains under its sources’ licences: Licence Ouverte 2.0 (DILA), CC BY 4.0 and the SCL licence (Legilux), CC BY 4.0 (EUR-Lex).
See licences →