{
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-04",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.3",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run"
  },
  "tool": {
    "category": "infrastructure",
    "endpoint": "https://mcp.fedlex-connector.ch/",
    "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/fedlex-connector.json",
    "kind": "mcp",
    "listed": "indexed",
    "liveUrl": "https://www.anchorterminal.com/api/v1/live/fedlex-connector.json",
    "markdownUrl": "https://www.anchorterminal.com/tools/fedlex-connector.md",
    "mcpTools": {
      "check": {
        "checker": "anchor-check/1.0",
        "totalTokens": 716,
        "counts": {
          "error": 0,
          "note": 1,
          "warn": 4
        },
        "findings": [
          {
            "rule": "TC16",
            "severity": "warn",
            "tool": "get_article",
            "message": "no readOnlyHint or destructiveHint",
            "fix": "Its name starts with \"get\"; if it only reads, set readOnlyHint: true so harnesses can run it without asking."
          },
          {
            "rule": "TC16",
            "severity": "warn",
            "tool": "get_law_text",
            "message": "no readOnlyHint or destructiveHint",
            "fix": "Its name starts with \"get\"; if it only reads, set readOnlyHint: true so harnesses can run it without asking."
          },
          {
            "rule": "TC16",
            "severity": "warn",
            "tool": "list_amendments",
            "message": "no readOnlyHint or destructiveHint",
            "fix": "Its name starts with \"list\"; if it only reads, set readOnlyHint: true so harnesses can run it without asking."
          },
          {
            "rule": "TC16",
            "severity": "warn",
            "tool": "search_by_title",
            "message": "no readOnlyHint or destructiveHint",
            "fix": "Its name starts with \"search\"; if it only reads, set readOnlyHint: true so harnesses can run it without asking."
          },
          {
            "rule": "TC24",
            "severity": "note",
            "message": "4 of 4 tools have no outputSchema",
            "fix": "Declare outputSchema for tools that return structured data, and return structuredContent that matches it."
          }
        ]
      },
      "checkedAt": "2026-10-04T22:21:23Z",
      "count": 4,
      "schemaTokens": 716,
      "status": "ok",
      "tools": [
        {
          "name": "search_by_title",
          "description": "Search 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.",
          "inputSchema": {
            "properties": {
              "language": {
                "description": "Language for results (default: de)",
                "enum": [
                  "fr",
                  "de",
                  "it"
                ],
                "type": "string"
              },
              "query": {
                "description": "Keywords to match against act titles (e.g. 'code civil', 'protection des données')",
                "type": "string"
              }
            },
            "required": [
              "query"
            ],
            "type": "object"
          }
        },
        {
          "name": "get_article",
          "description": "Retrieve 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.",
          "inputSchema": {
            "properties": {
              "article": {
                "description": "Article number (e.g. '3', '28a', '41')",
                "type": "string"
              },
              "date": {
                "description": "Consolidation date in YYYY-MM-DD format. Defaults to the latest available version.",
                "type": "string"
              },
              "language": {
                "description": "Language (default: de)",
                "enum": [
                  "fr",
                  "de",
                  "it"
                ],
                "type": "string"
              },
              "rs_number": {
                "description": "RS/SR number (e.g. '210' for CC, '220' for CO, '311.0' for CP)",
                "type": "string"
              }
            },
            "required": [
              "rs_number",
              "article"
            ],
            "type": "object"
          }
        },
        {
          "name": "get_law_text",
          "description": "Retrieve 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.",
          "inputSchema": {
            "properties": {
              "language": {
                "description": "Language (default: de)",
                "enum": [
                  "fr",
                  "de",
                  "it"
                ],
                "type": "string"
              },
              "page": {
                "description": "Page number for paginated results (default: 1). Large acts are split across multiple pages.",
                "type": "number"
              },
              "rs_number": {
                "description": "RS/SR number (e.g. '210' for CC, '220' for CO)",
                "type": "string"
              },
              "section": {
                "description": "Limit to a specific title, chapter, or part (e.g. 'Titre huitième', 'Zweiter Teil'). If omitted, returns the full act.",
                "type": "string"
              }
            },
            "required": [
              "rs_number"
            ],
            "type": "object"
          }
        },
        {
          "name": "list_amendments",
          "description": "List consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.",
          "inputSchema": {
            "properties": {
              "language": {
                "description": "Language for amendment titles (default: de)",
                "enum": [
                  "fr",
                  "de",
                  "it"
                ],
                "type": "string"
              },
              "rs_number": {
                "description": "RS/SR number",
                "type": "string"
              },
              "since": {
                "description": "Start date in YYYY-MM-DD format (default: 1 year ago)",
                "type": "string"
              }
            },
            "required": [
              "rs_number"
            ],
            "type": "object"
          }
        }
      ]
    },
    "name": "Fedlex Connector",
    "note": "Indexed from the official MCP registry: facts and our own checks, not reviewed, so no score, grade or rank.",
    "packages": null,
    "pageJsonUrl": "https://www.anchorterminal.com/tools/fedlex-connector.json",
    "popularity": {
      "githubStars": 6
    },
    "registryName": "ch.fedlex-connector/fedlex-connector",
    "remotes": [
      {
        "type": "streamable-http",
        "url": "https://mcp.fedlex-connector.ch/"
      }
    ],
    "repository": "https://github.com/JayTheSkier/fedlex-connector",
    "reviewed": false,
    "slug": "fedlex-connector",
    "source": "the official MCP registry",
    "sourceUrl": "https://registry.modelcontextprotocol.io/v0.1/servers?search=ch.fedlex-connector/fedlex-connector",
    "summary": "Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.",
    "updatedAt": "2026-04-09T19:51:36Z",
    "url": "https://www.anchorterminal.com/tools/fedlex-connector",
    "vendor": "fedlex-connector.ch",
    "vendorUrl": "https://fedlex-connector.ch",
    "version": "1.0.0",
    "websiteUrl": "https://fedlex-connector.ch",
    "where": "hosted",
    "why": [
      "vendor"
    ]
  }
}
