MCP server
Openlex MCP
Canton Zurich legislation via ZH-Lex with full-text search and article extraction
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
- 5 days ago
About Openlex MCP
Openlex MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add openlex-mcp -- uvx openlex-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"openlex-mcp": {
"command": "uvx",
"args": [
"openlex-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"openlex-mcp": {
"command": "uvx",
"args": [
"openlex-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"openlex-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"openlex-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"openlex-mcp": {
"command": "uvx",
"args": [
"openlex-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"openlex-mcp": {
"command": "uvx",
"args": [
"openlex-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Openlex MCP FAQ
Is Openlex MCP free?
Yes. Openlex MCP is open source, so you can use and self-host it for free.
How do I add Openlex MCP to Claude Code?
Run this command in your terminal: claude mcp add openlex-mcp -- uvx openlex-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.