# HuntAPI MCP server

> Download video and audio from public media URLs or extract metadata using an asynchronous REST API.

- Repository: https://github.com/huntapi/huntapi-mcp
- Page: https://hostedmcp.org/servers/huntapi/huntapi-mcp
- Transport: stdio, remote
- Stars: 0
- License: MIT
- Latest version: 0.1.0

## Install

### Claude Code

```sh
claude mcp add --env 'HUNTAPI_API_KEY=<YOUR_HUNTAPI_API_KEY>' huntapi-mcp -- npx -y @huntapi/mcp
```

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

```json
{
  "mcpServers": {
    "huntapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@huntapi/mcp"
      ],
      "env": {
        "HUNTAPI_API_KEY": "<YOUR_HUNTAPI_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "huntapi-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@huntapi/mcp"
      ],
      "env": {
        "HUNTAPI_API_KEY": "<YOUR_HUNTAPI_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"huntapi-mcp","type":"stdio","command":"npx","args":["-y","@huntapi/mcp"],"env":{"HUNTAPI_API_KEY":"<YOUR_HUNTAPI_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "huntapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@huntapi/mcp"
      ],
      "env": {
        "HUNTAPI_API_KEY": "<YOUR_HUNTAPI_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add huntapi-mcp --env 'HUNTAPI_API_KEY=<YOUR_HUNTAPI_API_KEY>' -- npx -y @huntapi/mcp
```

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

```toml
[mcp_servers.huntapi-mcp]
command = "npx"
args = ["-y", "@huntapi/mcp"]

[mcp_servers.huntapi-mcp.env]
HUNTAPI_API_KEY = "<YOUR_HUNTAPI_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'HUNTAPI_API_KEY=<YOUR_HUNTAPI_API_KEY>' huntapi-mcp npx -- -y @huntapi/mcp
```

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

```json
{
  "mcpServers": {
    "huntapi-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@huntapi/mcp"
      ],
      "env": {
        "HUNTAPI_API_KEY": "<YOUR_HUNTAPI_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `HUNTAPI_API_KEY` | yes | yes | HuntAPI API key. |

## Tools (7)

- `audio_download`
- `jobs`
- `media_metadata`
- `stats`
- `usage`
- `video_download`
- `wait_for_job`

## FAQ

### How do I use HuntAPI with Claude Desktop?

You can download the .mcpb bundle from the releases page and open it, or add the server to your configuration file using npx.

### Can I extract metadata without downloading the whole file?

Yes, the media_metadata tool allows you to extract metadata from a media URL without downloading the file.

### What are the requirements to run the server?

You need Node.js version 20 or newer and a valid HuntAPI API key.

### Does using the tools cost anything?

Yes, every tool that calls the API consumes credits.
