mcp

v1.2.1
io.github.sedis-ab/mcp Checked 1 day ago Published 1 month ago

Read-only MCP tools for the Sedis PartnerAPI v2 (Bolagsanalys + Fastighetsbenchmark).

Values you need

VariableWhat it is
SEDIS_API_KEYrequired secret Your Sedis PartnerAPI v2 key (sent only as the X-Api-Key header; never logged).
SEDIS_API_BASE_URLoptional Override the PartnerAPI v2 base URL (defaults to https://api.sedis.se).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'SEDIS_API_KEY=<SEDIS_API_KEY>' -- npx -y --package=@sedis/mcp@1.2.1 sedis
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sedis/mcp@1.2.1",
        "sedis"
      ],
      "command": "npx",
      "env": {
        "SEDIS_API_KEY": "<SEDIS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sedis/mcp@1.2.1",
        "sedis"
      ],
      "command": "npx",
      "env": {
        "SEDIS_API_KEY": "<SEDIS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SEDIS_API_KEY",
      "id": "sedis-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sedis/mcp@1.2.1",
        "sedis"
      ],
      "command": "npx",
      "env": {
        "SEDIS_API_KEY": "${input:sedis-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@sedis/mcp@1.2.1", "sedis"]
env = { "SEDIS_API_KEY" = "<SEDIS_API_KEY>" }

For AI agents

  1. Ask the user for: SEDIS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: bolagsanalys_list_companies, bolagsanalys_find_parameter, bolagsanalys_get_data, bolagsanalys_search_data, fastighetsbenchmark_find_parameter, fastighetsbenchmark_search_property_units, fastighetsbenchmark_list_samlingar, fastighetsbenchmark_list_jamforelseobjekt, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json