mcpField
H
HuntAPI

HuntAPI

Remote
huntapi.comMedia & Design0Updated 1w ago

About HuntAPI

HuntAPI MCP Server connects MCP clients to HuntAPI's media download API. It provides tools to download audio or video from public URLs, inspect metadata, and track asynchronous jobs, with hosted HTTP and local stdio options.

Key features

  1. 01Download audio and video from URLs
  2. 02Extract media metadata without downloading
  3. 03Poll or wait for async jobs
  4. 04View account usage and credit balance
  5. 05Return images inline and other files as resources

Use cases

  1. 01Download public media through an MCP client
  2. 02Inspect a media URL before downloading
  3. 03Track download progress and results

MCP support

Exposes HuntAPI media API operations as tools for MCP clients. It can run through the hosted Streamable HTTP endpoint or locally over stdio; self-hosted HTTP is also supported.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.huntapi.com/
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://mcp.huntapi.com/Auth required
Packages
npm@huntapi/mcp0.1.0

Tools

Details

From the project README

HuntAPI MCP Server

Official Model Context Protocol server for the HuntAPI media download API.

Download video and audio from public media URLs, or extract their metadata, with one async REST API.

It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over stdio (local) or Streamable HTTP (self-hosted).

Requirements

  • Node.js 20 or newer
  • a HuntAPI API key — sign up, then copy it from the dashboard

Hosted server (recommended)

HuntAPI runs this server for you at https://mcp.huntapi.com/ (Streamable HTTP). Send your API key in the x-api-key header; nothing to install.

claude mcp add --transport http huntapi https://mcp.huntapi.com/ --header "x-api-key: YOUR_API_KEY"
{
  "mcpServers": {
    "huntapi": {
      "url": "https://mcp.huntapi.com/",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

The hosted server and this package expose the same API; run the package locally when you want stdio, your own network egress, or to self-host it.

Run it locally

Claude Code
claude mcp add huntapi --env HUNTAPI_API_KEY=YOUR_API_KEY -- npx -y @huntapi/mcp
Claude Desktop, Cursor, Windsurf and other clients

Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json…):

{
  "mcpServers": {
    "huntapi": {
      "command": "npx",
      "args": ["-y", "@huntapi/mcp"],
      "env": {
        "HUNTAPI_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
VS Code
{
  "servers": {
    "huntapi": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@huntapi/mcp"],
      "env": {
        "HUNTAPI_API_KEY": "${input:huntapi-api-key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "huntapi-api-key",
      "description": "HuntAPI API key",
      "password": true
    }
  ]
}
Claude Desktop extension

Download the .mcpb bundle from the releases page and open it; Claude Desktop asks for your API key.

Docker
docker build -t huntapi-mcp .
docker run -i --rm -e HUNTAPI_API_KEY=YOUR_API_KEY huntapi-mcp

Tools

ToolDescription
audio_downloadDownload audio from a URL via HuntAPI and receive a job id.
jobsPoll status, progress (0–100), and result of an async HuntAPI job.
media_metadataExtract metadata from a media URL without downloading the file.
statsInfrastructure health for an engine or endpoint over the last hour. Not scoped to your account or tenant. Enabled per account: HTTP 403 means contact support to activate it.
usageRetrieve real-time usage statistics and credit balance for your Huntapi account.
video_downloadVideo Download
wait_for_jobWait for an async download job to finish.

Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.

Streamable HTTP

npx @huntapi/mcp --http --port 3000

The endpoint is POST /mcp (stateless, JSON responses). Each client sends its own key in the x-api-key header (or Authorization: Bearer <key>); the server never uses a key of its own. It binds to 127.0.0.1 by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.

createHttpHandler() is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):

import { createHttpHandler } from "@huntapi/mcp";

export default { fetch: createHttpHandler({ allowedOrigins: [] }) };

Security

  • The API key is read from HUNTAPI_API_KEY (stdio) or the request headers (HTTP) and removed from error messages.
  • Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.
  • See SECURITY.md to report a vulnerability.

Development

npm install
npm test
npm run build
npx @modelcontextprotocol/inspector node dist/stdio.js

Built on the SDK

The server uses the official Node.js SDK (@huntapi/sdk).

All HuntAPI SDKs

SDKPackageInstall
Node.js@huntapi/sdknpm install @huntapi/sdk
Pythonhuntapipip install huntapi
Gohuntapi-gogo get github.com/huntapi/huntapi-go
.NETHuntApidotnet add package HuntApi
Rubyhuntapigem install huntapi
PHPhuntapi/sdkcomposer require huntapi/sdk
Javahuntapi-javabuild from source, see its README
CLI@huntapi/clinpm install -g @huntapi/cli
MCP server@huntapi/mcpnpx -y @huntapi/mcp

License

MIT — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.