A community-driven registry for the Claude Code ecosystem. Not affiliated with Anthropic.
Are you the author? Sign in to claim
bilibili-mcp
下面是为你的 bilibili-mcp 工具生成的 README.md 示例:
一个用于获取 B 站热榜的 MCP 工具,基于 FastMCP 和 B 站公开接口。你可以通过注册到 Cursor 或其他 MCP 客户端,实时调用热门视频数据。
确保使用 Python ≥ 3.12,并安装以下依赖项:
pip install httpx "mcp[cli]>=1.6.0"
你的主代码文件可以是 bilibili_mcp.py,项目结构如下:
bilibili_mcp/
├── bilibili_mcp.py
├── pyproject.toml
└── README.md
使用 uv 运行工具:
uv tool run bilibili-mcp
或通过配置文件引用:
"bilibili-j": {
"command": "uv",
"args": [
"tool",
"run",
"bilibili-mcp"
]
}
FastMCP 会自动暴露一个名为 get_popular 的工具:
get_popular(top_k: int = 3)获取 B 站热榜视频信息,返回最多 top_k 个条目(最大 10 条)。
[
{
"title": "“战火啊,能不能在黎明前停歇一次”",
"link": "https://b23.tv/BV1...z",
"desc": "喜欢的朋友可以点赞投币关注一下哦,你的支持是我最大的动力!!",
"view": 1234567,
"like": 98765
},
...
]
httpx 实现异步请求stdio 与 MCP 客户端通信(例如 Cursor)User-Agent 为 "qwq",可根据实际情况更改为更合理的字符串。MIT License.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
MCP server integration for DaVinci Resolve Studio
Secure MCP server for MySQL database interaction, queries, and schema management