home / mcp / french law mcp server
Provides access to seeded French legal provisions with citation validation/formatting and EU cross-reference tools.
Configuration
View docs{
"mcpServers": {
"ansvar-systems-french-law-mcp": {
"url": "https://<your-vercel-domain>/mcp"
}
}
}You can use the French Law MCP Server to query French legal provisions, validate and format citations, cross-reference EU regulations, and run contract tests with drift checks. It combines seeded Legifrance data, citation tools, and EU references to enable fast, reliable access for legal research and development workloads.
Connect your MCP client to the deployed or local server to perform searches, fetch provisions, and validate citations. Use the HTTP endpoint for remote deployments, or run a local stdio version for development and testing. You will access tools for searching legislation, retrieving provisions, validating and formatting citations, and checking currency and EU references.
Prerequisites: Node.js and npm installed on your system. You will also need a readable internet connection to fetch dependencies and seed data.
# Local development setup
npm install
npm run build
npm run devDeployment and runtime information: you can run the MCP locally during development or deploy to a hosting environment that serves the MCP via HTTP. For remote access, you can connect clients to a Vercel-hosted endpoint at the standard path /mcp. Health and version endpoints are available at /health and /version.
Data sources and seeds: the primary legal data comes from Legifrance open data (DILA) with EU references linked to EUR-Lex metadata. Seed files live under data/seed and the built database is data/database.db.
Development and testing commands cover a comprehensive workflow, including building the SQLite database from seeds, running unit and contract tests, and performing drift detection against upstream data.
Vercel deployment uses a Streamable MCP HTTP transport with api/mcp.ts handling requests and api/health.ts providing health and version endpoints. Runtime configuration is defined in vercel.json.
Operational notes: this tool is for legal research and should not be used as legal advice. Always verify critical citations against official publications.
Only use the MCP endpoints and tools as intended for research and development. Do not rely on the MCP for legal advice. Ensure access and usage comply with your organizationās security practices and any applicable data-use restrictions.
Query the seed Legifrance-based data to locate relevant laws, regulations, and provisions by keywords, dates, or article numbers.
Retrieve the full text or metadata for a specific legal provision, including article references and cross-links.
Check the syntax and formatting of French legal citations to ensure they follow standard conventions.
Produce a properly formatted citation string for a given article or provision.
Construct a structured stance or interpretation for a given legal provision, useful for analysis and comparison.
Verify that cited provisions reflect current law by checking for updates or amendments.
Fetch EU directive or regulation basis related to a French provision for cross-referencing.
Retrieve information about French implementations of EU rules or directives.
Query EU implementations and mappings to support cross-border comparisons.
Obtain the EU basis for a specific French provision, linking national and EU texts.
Assess whether a French provision or its application complies with EU requirements.
Provide contextual information about the MCP server when running in certain runtimes.