Fedlex Connector vs Context7
A side-by-side look at the Fedlex Connector and Context7 MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Fedlex Connector for legal work over a hosted endpoint; choose Context7 for developer tools. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose Fedlex Connector when
- You need dedicated capabilities in the Legal domain.
- You prefer a remote HTTP/SSE transport.
- You want tools like
search_by_title, get_article, get_law_text.
Choose Context7 when
- You need dedicated capabilities in the Developer Tools domain.
- Its auth model fits you: API key required.
- You want tools like
resolve-library-id, query-docs.
Feature & specification comparison
Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Legal | Developer Tools |
| Quality signal | 59/100 · Good | 55/100 · Good |
| Install command | Confirmed | Not confirmed yet |
| Transport | Remote HTTP/SSE | — |
| Auth | Not declared | API key required |
| Pricing | Not declared | Free |
| Required env vars | None listed | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 7 | 63,540 |
| Directory activity | 2 views 0 installs 0 upvotes | 14 views 0 installs 0 upvotes |
| Tools | 4 | 2 |
| Full listing | View Fedlex Connector | View Context7 |
Tools & capabilities
Fedlex Connector tools 4
search_by_titleSearch Swiss federal legislation titles in the Classified Compilation (RS/SR) on Fedlex. Use to find the RS number of a law when you know its name but not its number. Searches titles only, not article content. Returns only acts currently in force.get_articleRetrieve a single article when you already know the EXACT article number (e.g. from a cross-reference). Do NOT call this tool repeatedly to search for provisions — use get_law_text instead to fetch the full act or a section and locate relevant articles in the text.get_law_textRetrieve the official consolidated text of a Swiss federal act (or a specific title/chapter) directly from Fedlex (fedlex.admin.ch). This is the PRIMARY tool for answering Swiss law questions — always start here. Fetch the full act or a specific section, then locate relevant provisions in the returned text. Prefer this over get_article unless you already know the exact article number.list_amendmentsList consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.
Context7 tools 2
resolve-library-idResolves a general library name into a Context7-compatible library ID.query-docsRetrieves documentation for a library using a Context7-compatible library ID.
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
Fedlex Connector
{
"mcpServers": {
"fedlex-connector": {
"url": "https://mcp.fedlex-connector.ch"
}
}
}
Context7
No confirmed install command for Context7 yet — follow the setup steps linked from its listing page rather than a guessed package name.
Frequently asked questions
Fedlex Connector is categorized under Legal and uses a remote HTTP/SSE transport. Context7 belongs to Developer Tools and uses an install path we have not confirmed yet. Pick Fedlex Connector for legal work and Context7 for developer tools.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client. Context7 has no confirmed install command yet — follow its own setup instructions.
Fedlex Connector has no declared pricing — check the project's own site. Context7 is listed as free. Auth: api key required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add fedlex-connector and upstash-context7 as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, Fedlex Connector has a quality signal of 59/100 (Good) with 2 views, 0 installs and 7 GitHub stars. Context7 has 55/100 (Good) with 14 views, 0 installs and 63,540 GitHub stars.