A

Amtsblatt MCP

by malkreide · io.github.malkreide/amtsblatt-mcp

MCP server for amtsblattportal.ch — the Swiss official gazette portal (SHAB + 27 cantonal gazettes). Public procurement and official notices, person-data rubrics excluded by design.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-malkreide-amtsblatt-mcp": {
      "command": "uvx",
      "args": [
        "amtsblatt-mcp"
      ],
      "env": {
        "MCP_HOST": "127.0.0.1",
        "LOG_LEVEL": "INFO",
        "MCP_API_KEY": "<VALUE>",
        "RUBRICS_TTL": "86400",
        "MCP_TRANSPORT": "stdio",
        "MCP_RATE_LIMIT": "60",
        "MCP_RATE_WINDOW": "60",
        "MCP_CORS_ORIGINS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-malkreide-amtsblatt-mcp": {
      "command": "uvx",
      "args": [
        "amtsblatt-mcp"
      ],
      "env": {
        "MCP_HOST": "127.0.0.1",
        "LOG_LEVEL": "INFO",
        "MCP_API_KEY": "<VALUE>",
        "RUBRICS_TTL": "86400",
        "MCP_TRANSPORT": "stdio",
        "MCP_RATE_LIMIT": "60",
        "MCP_RATE_WINDOW": "60",
        "MCP_CORS_ORIGINS": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-malkreide-amtsblatt-mcp": {
      "command": "uvx",
      "args": [
        "amtsblatt-mcp"
      ],
      "env": {
        "MCP_HOST": "127.0.0.1",
        "LOG_LEVEL": "INFO",
        "MCP_API_KEY": "<VALUE>",
        "RUBRICS_TTL": "86400",
        "MCP_TRANSPORT": "stdio",
        "MCP_RATE_LIMIT": "60",
        "MCP_RATE_WINDOW": "60",
        "MCP_CORS_ORIGINS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-malkreide-amtsblatt-mcp": {
      "command": "uvx",
      "args": [
        "amtsblatt-mcp"
      ],
      "env": {
        "MCP_HOST": "127.0.0.1",
        "LOG_LEVEL": "INFO",
        "MCP_API_KEY": "<VALUE>",
        "RUBRICS_TTL": "86400",
        "MCP_TRANSPORT": "stdio",
        "MCP_RATE_LIMIT": "60",
        "MCP_RATE_WINDOW": "60",
        "MCP_CORS_ORIGINS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-malkreide-amtsblatt-mcp": {
      "command": "uvx",
      "args": [
        "amtsblatt-mcp"
      ],
      "env": {
        "MCP_HOST": "127.0.0.1",
        "LOG_LEVEL": "INFO",
        "MCP_API_KEY": "<VALUE>",
        "RUBRICS_TTL": "86400",
        "MCP_TRANSPORT": "stdio",
        "MCP_RATE_LIMIT": "60",
        "MCP_RATE_WINDOW": "60",
        "MCP_CORS_ORIGINS": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-malkreide-amtsblatt-mcp": {
      "command": "uvx",
      "args": [
        "amtsblatt-mcp"
      ],
      "env": {
        "MCP_HOST": "127.0.0.1",
        "LOG_LEVEL": "INFO",
        "MCP_API_KEY": "<VALUE>",
        "RUBRICS_TTL": "86400",
        "MCP_TRANSPORT": "stdio",
        "MCP_RATE_LIMIT": "60",
        "MCP_RATE_WINDOW": "60",
        "MCP_CORS_ORIGINS": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MCP_HOST No SSE bind address. Set to 0.0.0.0 to expose on all interfaces. Default: 127.0.0.1
LOG_LEVEL No Log level: DEBUG, INFO, WARNING, ERROR Default: INFO
MCP_API_KEY No Bearer token for SSE authentication. Required when MCP_TRANSPORT is sse; fails loud if unset.
RUBRICS_TTL No Taxonomy cache TTL in seconds Default: 86400
MCP_TRANSPORT No Transport protocol: stdio or sse Default: stdio
MCP_RATE_LIMIT No Sliding-window rate limit (number of requests) Default: 60
MCP_RATE_WINDOW No Sliding-window rate limit window in seconds Default: 60
MCP_CORS_ORIGINS No Comma-separated origins allowed to call the SSE endpoint from a browser. Unset means no cross-origin browser access.

Similar servers