mcp-video2text
Convert online video to text, read it quickly
Usage
## require
$ curl -LsSf https://astral.sh/uv/install.sh | sh # install uv package manager
$ brew install ffmpeg # or `sudo apt install ffmpeg` for linux
## install
$ uv pip install mcp-video2text[mlx] # recommend with mlx for silicon machine
$ uv pip install mcp-video2text[cpp]
for mcp client, pass uv run mpc-video2text to command field.
{
"mcpServers": {
"mcp-video2text": {
"command": "uv",
"args": ["run", "mcp-video2text"],
}
}
}
The first run will download the Whisper model and may take a few minutes.
It's recommended to update the timeout settings in your client.
or your can custom your own client, view example test_mcp_client.py
import asyncio
import os
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client
async def client():
server_params = StdioServerParameters(
command="uv", args=["run", "mcp-video2text"], env=os.environ
)
async with stdio_client(server_params) as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
print(await session.list_tools())
result = await session.call_tool(
"video2text", {"url": "https://www.bilibili.com/video/BV1gdERzuEYB/"}
)
print(result.content[0].text)
if __name__ == "__main__":
asyncio.run(client())
Thanks
Metadata
Release files for mcp-video2text 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_video2text-0.1.2.tar.gz | 3.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_video2text-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / mcp_video2text-0.1.2.tar.gz
| Download URL | mcp_video2text-0.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83a825e02dd68481e57299450ffb1aec1c722113604c22a7d1b7cb4da3c5dfb7
|
|
BLAKE2b-256 checksum How to use checksums |
21d86bb41c4aeea77ee0fab25bc1add963a0877623edf23a1563248a3ccb901d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Release files / mcp_video2text-0.1.2-py3-none-any.whl
| Download URL | mcp_video2text-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ecbe36a2fd371f5b5ecac9f1f1cb4001128fc956d528a2063cb480bac6cbfa8
|
|
BLAKE2b-256 checksum How to use checksums |
fe166f7a2f8046ec95a6e336c7c8d1a405c3c90f99d16a4d828cdba9a7911915
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Security for mcp-video2text 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.