Pour utiliser OpenLegi MCP avec Claude Desktop, ajoutez cette configuration dans votre fichier claude_desktop_config.json :
Claude Desktop
Ajoutez cette configuration dans ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) ou %APPDATA%\Claude\claude_desktop_config.json (Windows) :
{
"mcpServers": {
"OpenLegi": {
"type": "streamable-http",
"url": "https://mcp.openlegi.fr/legifrance/mcp",
"headers": {
"Authorization": "Bearer VOTRE_TOKEN_ICI"
}
}
}
}
Pour accéder aux 3 services (Légifrance, RNE, EUR-Lex) :
{
"mcpServers": {
"Légifrance": {
"type": "streamable-http",
"url": "https://mcp.openlegi.fr/legifrance/mcp",
"headers": {
"Authorization": "Bearer VOTRE_TOKEN_ICI"
}
},
"RNE": {
"type": "streamable-http",
"url": "https://mcp.openlegi.fr/rne/mcp",
"headers": {
"Authorization": "Bearer VOTRE_TOKEN_ICI"
}
},
"EUR-Lex": {
"type": "streamable-http",
"url": "https://mcp.openlegi.fr/eurlex/mcp",
"headers": {
"Authorization": "Bearer VOTRE_TOKEN_ICI"
}
}
}
}