# Hosaka MCP server

> Provides verified company data, including third-party vendor usage and contact information, via DNS and RDAP records.

- Repository: https://github.com/plus8bit/deadchannel
- Page: https://hostedmcp.org/servers/plus8bit/hosaka
- Transport: stdio
- Stars: 1
- Latest version: 0.3.2

## Install

### Claude Code

```sh
claude mcp add --env 'HOSAKA_PRIVATE_KEY=<YOUR_HOSAKA_PRIVATE_KEY>' hosaka -- npx -y hosaka-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "hosaka": {
      "command": "npx",
      "args": [
        "-y",
        "hosaka-mcp"
      ],
      "env": {
        "HOSAKA_PRIVATE_KEY": "<YOUR_HOSAKA_PRIVATE_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "hosaka": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hosaka-mcp"
      ],
      "env": {
        "HOSAKA_PRIVATE_KEY": "<YOUR_HOSAKA_PRIVATE_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"hosaka","type":"stdio","command":"npx","args":["-y","hosaka-mcp"],"env":{"HOSAKA_PRIVATE_KEY":"<YOUR_HOSAKA_PRIVATE_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "hosaka": {
      "command": "npx",
      "args": [
        "-y",
        "hosaka-mcp"
      ],
      "env": {
        "HOSAKA_PRIVATE_KEY": "<YOUR_HOSAKA_PRIVATE_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add hosaka --env 'HOSAKA_PRIVATE_KEY=<YOUR_HOSAKA_PRIVATE_KEY>' -- npx -y hosaka-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.hosaka]
command = "npx"
args = ["-y", "hosaka-mcp"]

[mcp_servers.hosaka.env]
HOSAKA_PRIVATE_KEY = "<YOUR_HOSAKA_PRIVATE_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'HOSAKA_PRIVATE_KEY=<YOUR_HOSAKA_PRIVATE_KEY>' hosaka npx -- -y hosaka-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "hosaka": {
      "command": "npx",
      "args": [
        "-y",
        "hosaka-mcp"
      ],
      "env": {
        "HOSAKA_PRIVATE_KEY": "<YOUR_HOSAKA_PRIVATE_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `HOSAKA_PRIVATE_KEY` | yes | yes | Private key of a wallet holding a little USDC on Base. It signs payments locally and never leaves the machine. |
| `HOSAKA_URL` | no | no | Override the shop endpoint. Defaults to https://hosaka-agents.vercel.app |

## FAQ

### What kind of company data does Hosaka provide?

It provides domain age, registrar, mail and DNS provider, DMARC, HTTPS, vendor counts, company contacts, and a dossier of proven third-party vendors.

### How is the vendor information verified?

Vendors are identified through DNS verification records and SPF records that companies use to prove ownership to SaaS products.

### How do I pay for the services?

Payments are made in USDC on the Base network using a private key provided in the environment variables.

### Can I use this with Claude or ChatGPT?

Yes, it is available as an MCP server which allows any MCP client to use the tools directly.
