
Fedlex Mcp
Pull Swiss federal law text and structure from the Fedlex SPARQL endpoint while scoping compliance, terms, or feature boundaries for CH-facing products.
Overview
io.github.malkreide/fedlex-mcp is a MCP server for the Validate phase that queries Swiss federal law via the Fedlex SPARQL endpoint from your agent.
What is this MCP server?
- Swiss federal law accessed through the Fedlex SPARQL endpoint
- Agent-queryable legal corpus for compliance and product scoping
- Stdio MCP via uvx PyPI package fedlex-mcp (1.0.3)
- Registry category Legal, Courts & Regulatory; publisher scope core
- Source repository: malkreide/fedlex-mcp on GitHub
- Package version 1.0.3; identifier fedlex-mcp on PyPI
- Transport: stdio; runtimeHint: uvx
- Publisher scope: core; registry category Legal, Courts & Regulatory
Community signal: 1 GitHub stars.
What problem does it solve?
Scoping a Swiss-facing product without Fedlex in the loop means manual legal site searches and copy-paste that agents cannot verify or cite consistently.
Who is it for?
Solo founders building for the Swiss market who need programmatic access to federal law during validation and documentation drafts.
Skip if: Builders who need non-Swiss jurisdictions, courtroom filing automation, or certified legal opinions without human review.
What do I get? / Deliverables
After install, your agent can retrieve federated law references from Fedlex during scope and compliance discussions, with citations you can trace back to the endpoint.
- MCP tools backed by Fedlex SPARQL responses
- Scope and policy drafts with retrievable Swiss legal references
Recommended MCP Servers
Journey fit
Canonical shelf is Validate because legal corpus lookup helps you define what you can ship and document obligations before full Build investment. Scope fits when you narrow product rules, privacy copy, or feature gates against authoritative Swiss federal law sources.
How it compares
Fedlex SPARQL MCP bridge, not a contract-review skill or generic web scraper.
Common Questions / FAQ
Who is fedlex-mcp for?
Developers and indie operators using MCP agents who must reference Swiss federal law while scoping products or compliance docs.
When should I use fedlex-mcp?
Use it in Validate when defining scope, policies, or feature constraints for Switzerland before you implement enforcement logic.
How do I add fedlex-mcp to my agent?
Configure MCP stdio with uvx running the PyPI package fedlex-mcp at version 1.0.3, then enable the server in your agent settings.