mcp-server-legifrance
MCP Server Legifrance is an experimental server that provides access to French legal resources via a Model Context Protocol, facilitating interactions with Legifrance in Large Language Models like Claude. It enhances legal research by providing real-time access to legal data and structured search capabilities.
MCP Server Legifrance
This project implements an experimental MCP server that allows access to French legal resources via the Legifrance API directly from a Large Language Model (LLM). The server is designed to facilitate legal research by making Legifrance's data accessible through interactive tools.
Features
- Search legal texts (laws, ordinances, decrees, orders)
- Consult articles from French legal codes
- Search judicial jurisprudence
- Future extensions to include additional Legifrance resources
Requirements
- Python 3.9+
- API key for Legifrance
- A model compatible with the MCP protocol (e.g., Claude)
Usage
Integration primarily involves utilizing the server with Claude Desktop for legal content processing. Initial results show promise in overcoming some limitations of traditional research methods.
Available Tools
1. Search Legal Texts
Search articles in legal texts using keywords and specific search modes.
2. Search Legal Codes
Search articles in French legal codes, supporting custom sorting and fetch parameters.
3. Search Judicial Jurisprudence
Conduct detailed searches for judicial jurisprudence and analyze specific case decisions.