{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.BEG-lag/mcp-leyes",
  "slug": "io.github.beg-lag.mcp-leyes",
  "title": "Leyes MX: Mexican federal law at any date",
  "summary": "Mexican federal law at any date: articles, reform history, diffs and search over leyes-mx.",
  "version": "1.0.0",
  "serverKey": "mcp-leyes",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.beg-lag.mcp-leyes",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.beg-lag.mcp-leyes/install.md",
  "trust": {
    "score": 87,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T10:21:07.109570134Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/beg-lag/mcp-leyes:1.0.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-leyes -- docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-leyes\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/beg-lag/mcp-leyes:1.0.0\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-leyes\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/beg-lag/mcp-leyes:1.0.0\"\n      ],\n      \"command\": \"docker\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp-leyes\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"ghcr.io/beg-lag/mcp-leyes:1.0.0\"\n      ],\n      \"command\": \"docker\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-leyes]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"ghcr.io/beg-lag/mcp-leyes:1.0.0\"]"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "MCP_LEYES_REFRESH_HOURS",
      "required": false,
      "secret": false,
      "description": "Hours between git fetches of leyes-mx (default 24; 0 never fetches and uses the snapshot in the image).",
      "help": "Hours between git fetches of leyes-mx (default 24; 0 never fetches and uses the snapshot in the image).",
      "default": "24",
      "placeholder": "24"
    }
  ],
  "expectedTools": [
    "list_laws",
    "get_article",
    "article_history",
    "diff_article",
    "diff_reform",
    "search",
    "reforms",
    "transitorios"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_laws, get_article, article_history, diff_article, diff_reform, search, reforms, transitorios.",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T10:21:07.109570134Z"
}
