Skip to main content

Official Reka MCP server for video understanding

Project description

Reka Vision MCP Server

mcp-name: ai.reka/mcp

MCP server that lets AI agents upload, index, search, and analyze videos through the Reka Vision API. Agents can search across videos using natural language, ask questions about video content with visual analysis, and read processed data like transcripts, captions, scenes, and detected objects.

Quick Start

# Run the published stdio server
uvx reka-mcp
# Run with an API key
REKA_VISION_API_KEY="your-api-key" uvx reka-mcp

For MCP clients that need explicit command configuration:

{
  "command": "uvx",
  "args": ["reka-mcp"],
  "env": {
    "REKA_VISION_API_KEY": "your-api-key-here"
  }
}

For local development:

uv sync
uv run pre-commit install
REKA_VISION_API_KEY="test-key" uv run reka-mcp

The stdio transport is the default. Use HTTP only when hosting the MCP server:

REKA_MCP_TRANSPORT=http REKA_MCP_AUTH_TOKEN="your-secret" uv run python -m reka_mcp

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "reka-vision": {
      "command": "uvx",
      "args": ["reka-mcp"],
      "env": {
        "REKA_VISION_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor Setup

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "reka-vision": {
      "command": "uvx",
      "args": ["reka-mcp"],
      "env": {
        "REKA_VISION_API_KEY": "your-api-key-here"
      }
    }
  }
}

Claude Code Setup

claude mcp add reka-vision -- uvx reka-mcp

Set the API key in your environment or .claude/settings.json.

Available Tools

Tool Description
upload_video Upload a video from a URL or local file path
list_videos List videos in your account or a group
get_video Get video details, metadata, and feature status
delete_video Permanently delete a video and all indexed data
create_group Create a new video group
list_groups List all video groups
delete_group Delete a video group
index_video Index a video for search/QA/analysis (2-10 min)
search_videos Semantic search across indexed videos
ask_video Ask questions about video content with visual analysis
get_transcript Get transcript as text, segments, or words
get_captions Get AI-generated visual descriptions
get_scenes Get detected scene boundaries
get_objects Get detected objects with bounding boxes
get_feature_catalog List available features and dependencies
summarize_video Compact overview of video content and status

Environment Variables

Variable Default Description
REKA_VISION_API_KEY (required) API key from https://platform.reka.ai
REKA_VISION_API_URL https://vision-api.reka.ai API base URL
REKA_MCP_INDEX_TIMEOUT 600 Max seconds to wait for indexing
REKA_MCP_POLL_INTERVAL 5 Seconds between index status polls
REKA_MCP_TRANSPORT stdio Transport: stdio or http
REKA_MCP_HTTP_PORT 8080 Port for HTTP transport
REKA_MCP_AUTH_TOKEN (none) Bearer token for HTTP transport auth. Clients must send Authorization: Bearer <token>. Recommended when using HTTP transport.

Release Checks

cd /path/to/reka-mcp
uv build
uv run twine check dist/*
# Publish only after explicit approval:
uv run twine upload dist/*

Example Workflows

Search and Visual Q&A

Agent: search_videos(query="revenue chart")
→ [{video_id: "v1", start: 30.0, end: 35.0, score: 0.95}]

Agent: ask_video(question="What numbers are on the chart?",
                 video_id="v1", start=30.0, end=35.0)
→ {answer: "Q3 revenue of $4.2M, up 32%...", conversation_id: "c1"}

Agent: ask_video(question="What's the percentage change?",
                 conversation_id="c1")
→ {answer: "Revenue increased by 32% quarter-over-quarter..."}

Cross-Video Comparison

Agent: search_videos(query="quarterly revenue")
→ [{video_id: "v1", start: 30.0, ...}, {video_id: "v2", start: 120.0, ...}]

Agent: ask_video(question="How do the revenue figures compare?",
                 videos=[
                   {video_id: "v1", start: 30.0, end: 35.0},
                   {video_id: "v2", start: 120.0, end: 125.0}
                 ])
→ {answer: "Video 1 shows Q3 at $4.2M while Video 2 shows Q4 at $5.1M..."}

Video Summary and Transcript Extraction

Agent: summarize_video(video_id="v1")
→ {name: "Lecture 3", duration_seconds: 3600, features: {...},
   scene_count: 42, transcript_preview: "Welcome to today's lecture..."}

Agent: get_transcript(video_id="v1", format="segments", start=0, end=60)
→ {data: [{start: 0.0, end: 5.2, text: "Welcome..."}, ...],
   total_count: 12, truncated: false}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reka_mcp-0.1.0.tar.gz (97.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reka_mcp-0.1.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file reka_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: reka_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 97.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reka_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 83b215d976b472fc7323332f13ee1557c85242cf74e65b7810b3eb5d4058c85c
MD5 b291a99f31e322879eaf7fac606af992
BLAKE2b-256 c6ac11d277f788ceb68fdd18a49389863ebe91df342f70b6621b1ceb3660eace

See more details on using hashes here.

Provenance

The following attestation bundles were made for reka_mcp-0.1.0.tar.gz:

Publisher: publish.yml on reka-ai/reka-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reka_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: reka_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for reka_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1007603039bd69cf061d36080e76ace4e0fc73dfa9d88f18201b12fbaa580472
MD5 be8012317b9da1fd66cb842478941b69
BLAKE2b-256 fa382fcc29215ddd1327a1f7cce197687daaedf980d92310a587e0903ae6fcc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for reka_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on reka-ai/reka-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page