Bango API(法人番号・インボイス)

v0.3.1
io.github.taku1211/bango-mcp Checked 14 hours ago Published 2 hours ago

Japanese companies: corporate numbers, invoice status, and company lists by area and industry.

Values you need

VariableWhat it is
BANGO_API_KEYrequired secret Bango API key (free plan available at https://bango-api.jp/signup)

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

Run in a terminal
claude mcp add --transport http bango-mcp https://mcp.bango-api.jp/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "bango-mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.bango-api.jp/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "bango-mcp": {
      "url": "https://mcp.bango-api.jp/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "bango-mcp": {
      "type": "http",
      "url": "https://mcp.bango-api.jp/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.bango-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.bango-api.jp/mcp"]

For AI agents

  1. Ask the user for: BANGO_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: bango_find_company, bango_get_company, bango_check_invoice, bango_match_companies, bango_list_companies, bango_count_companies, bango_export_companies_csv.
  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