vid-agent-mcp
Enables Claude to transcribe Bilibili videos, search by intent, and analyze local video files, returning structured summaries with key points and verdicts.
README
vid-agent-mcp
MCP server for video understanding — transcribe Bilibili videos, search, and analyze local files through natural conversation with Claude.
Chat with Claude and ask it to watch a video for you. Send a Bilibili link, get back a structured summary with key points, visual moments, and a "worth watching" verdict — all through MCP tools.
How it works
You: "转录一下这个视频 BV1pzjy6GEkC"
Claude: *calls transcribe tool*
→ Downloads video via BBDown
→ Transcribes audio with faster-whisper
→ Identifies key visual moments via VLM
→ Returns structured summary
You: "最近有什么AI Agent新视频?"
Claude: *calls search_by_intent tool*
→ Expands intent into multiple search queries
→ Searches Bilibili concurrently
→ Merges & ranks results by popularity
Tools
| Tool | Description |
|---|---|
transcribe |
Download + analyze a Bilibili video |
transcribe_local |
Analyze a local video file |
search |
Search Bilibili by keyword |
search_by_intent |
AI-powered search with natural language |
get_result |
Read a previously saved result |
Setup
Prerequisites
- Python 3.11+
- ffmpeg (install via
conda install ffmpegor system package manager) - BBDown (for Bilibili downloads) — install from here or use an existing install
- A MiMo API key (or any OpenAI-compatible VLM API)
Install
# 1. Clone
git clone https://github.com/ikerrrrrrrrrrr/bili-vid-agent
cd bili-vid-agent
# Or install the MCP server directly
pip install vid-agent-mcp
# 2. Configure
cp .env.example .env
# Edit .env with your API key
# 3. Run
vid-agent-mcp
Claude Desktop configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"vid-agent": {
"command": "vid-agent-mcp",
"env": {
"VLM_API_KEY": "your-key-here"
}
}
}
}
Or point to a local install:
{
"mcpServers": {
"vid-agent": {
"command": "conda",
"args": ["run", "-n", "vid_agent", "vid-agent-mcp"]
}
}
}
Configuration
All config via .env file or environment variables:
| Variable | Default | Description |
|---|---|---|
VLM_API_KEY |
— | MiMo API key (required) |
VLM_BASE_URL |
https://api.xiaomimimo.com/v1 |
API base URL |
VLM_MODEL |
mimo-v2-omni |
Model for visual analysis |
SUMMARY_MODEL |
mimo-v2.5-pro |
Model for summary generation |
BBDOWN_PATH |
bbdown |
Path to BBDown binary |
WHISPER_MODEL |
turbo |
Whisper model size |
CACHE_DIR |
./cache |
Download/transcription cache |
WORK_DIR |
./work |
Working directory |
License
Apache 2.0
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.