Download
Docs / MCP server

API docs · Tools

MCP server

A Model Context Protocol server so Claude, Cursor and other MCP clients can process video with FrameQuery. Coming with SDK 0.2.

View as Markdown

What it will do

@framequery/mcp is a local (stdio) MCP server built on the TypeScript SDK. It lets an assistant such as Claude Desktop, Claude Code or Cursor process a video or audio file and read the results, using your own API key.

ToolWhat it doesCosts credits
process_videoCreate a job from a URL or a local file (resumable upload) and wait briefly for itYes
wait_for_jobWait for a job, with progress updatesNo
get_jobRead a job's state and stagesNo
get_transcriptRead a transcript as compact text, paged by timeNo
get_scenesRead scenes, paged, with selectable fieldsNo
list_jobsList recent jobsNo
get_balanceRead your credit balanceNo
estimate_costPrice a job before running itNo
cancel_jobCancel a running jobNo

Planned safety limits: local files only from directories you allow, a per-session spending cap, a maximum job duration, and a read-only mode that hides process_video and cancel_job. Tool retries reuse a deterministic idempotency key, so an assistant retrying a call does not pay twice.

Planned configuration

The server will read FRAMEQUERY_API_KEY from its environment, like the SDKs. For Claude Desktop, Cursor and other clients that use an mcpServers block:

json
{
  "mcpServers": {
    "framequery": {
      "command": "npx",
      "args": ["-y", "@framequery/mcp"],
      "env": { "FRAMEQUERY_API_KEY": "fq_live_..." }
    }
  }
}

Until it ships, any agent can use the API directly: start with the Agent quickstart, or point it at /llms.txt and the OpenAPI document.