HuntAPI MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HuntAPI MCP Server grab the audio from this link and tell me when it's done"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: MCP yt-dlp Server
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/mcpClaude 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-mcpTools
Tool | Description |
| Download audio from a URL via HuntAPI and receive a job id. |
| Poll status, progress (0–100), and result of an async HuntAPI job. |
| Extract metadata from a media URL without downloading the file. |
| Infrastructure 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. |
| Retrieve real-time usage statistics and credit balance for your Huntapi account. |
| Video Download |
| Wait 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 3000The 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.jsBuilt on the SDK
The server uses the official Node.js SDK (@huntapi/sdk).
All HuntAPI SDKs
SDK | Package | Install |
Node.js |
| |
Python |
| |
Go |
| |
.NET |
| |
Ruby |
| |
PHP |
| |
Java | build from source, see its README | |
CLI |
| |
MCP server |
|
License
MIT — see LICENSE.
Available Tools
7 toolsaudio_downloadAudio DownloadBRead-onlyInspect
Audio Download. Download audio from a URL via HuntAPI and receive a job id. Credit cost: 1 credit per call.
Inputs: query (required), fields, webhook_url, audio_format, +4 more.
jobsJobsBRead-onlyInspect
Jobs. Poll status, progress (0–100), and result of an async HuntAPI job.
Inputs: id (required).
media_metadataMedia MetadataARead-onlyInspect
Media Metadata. Extract metadata from a media URL without downloading the file. Credit cost: 1 credit per call.
Inputs: query (required), fields.
statsStatsARead-onlyInspect
Stats. Infrastructure 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.
Inputs: path, engine.
usageUsageARead-onlyInspect
Usage. Retrieve real-time usage statistics and credit balance for your Huntapi account.
Inputs: no named parameters.
video_downloadVideo DownloadCRead-onlyInspect
Video Download. Credit cost: 1 credit per call.
Inputs: query (required), fields, webhook_url, max_duration, +4 more.
wait_for_jobWait for a jobARead-onlyInspect
Polls an async job (job_id returned by a download endpoint) until it reaches a terminal status (CompletedJob, Error, NotFound, BadRequest) or the timeout elapses, then returns the job document with the file link.
Inputs: job_id (required), timeout_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
audio_download vs video_download are cleanly split by media type, and stats (infrastructure health) vs usage (account credit balance) are clearly differentiated in their descriptions. The one soft overlap is jobs vs wait_for_job, both of which poll async job status, but the descriptions distinguish one-shot polling from blocking-until-terminal polling well enough that an agent can choose correctly.
There is a partial pattern with noun_verb names (audio_download, video_download, media_metadata) and a verb_phrase (wait_for_job), but the remainder are bare plural nouns (jobs, stats, usage). Mixed conventions across the set, though each name is readable and self-explanatory.
Seven tools is a well-scoped size for an async media download/metadata API — one tool per core operation plus job polling and account introspection. Each tool earns its place, with no filler.
The lifecycle of submit -> poll -> retrieve result is covered, along with usage and health introspection. However there is no cancel_job, no list_jobs (only single-job polling by id), and no broader media/image download despite media_metadata implying wider media coverage, leaving notable gaps.
Maintenance
Related MCP Connectors
Download YouTube videos and clips as MP4 or MP3/AAC, and look up video metadata.
Hosted MCP tools for FFmpeg-style video and audio processing through FFMPEG API.
MCP server for the FFmpeg Micro video transcoding API — create, monitor, download transcodes.
FFmpeg processing for video, audio and images via MCP with OAuth and shared account allowance.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceHosted MCP server that lets Claude, ChatGPT, Perplexity, Cursor and other AI assistants download videos as MP4 or audio as MP3/M4A from YouTube, TikTok, Instagram, Facebook, Vimeo, Twitch, SoundCloud and 6 more platforms. No install; free for 3 downloads a day.MIT
- AlicenseAqualityCmaintenanceEnables MCP-compatible clients to download videos and streams from YouTube and 1000+ supported sites, extract audio, download subtitles, and capture live streams.6-
- AlicenseAqualityCmaintenanceEnables AI clients to start and monitor Amazon product extraction jobs, retrieve cached product media, convert Amazon playlist videos to MP4, and check account usage through a hosted MCP endpoint or local stdio bridge.6MIT
- AlicenseAqualityBmaintenanceEnables AI agents and MCP clients to fetch details about, and download, videos and audio from YouTube, Instagram, TikTok, Facebook, X and Pinterest as MP4 video or MP3 audio through tool calls, returning a temporary download link rather than file bytes. It also supports checking, waiting on and cancelling download jobs with structured, machine-readable errors.4MIT