下面是为你的 bilibili-mcp 工具生成的 README.md 示例: 一个用于获取 B 站热榜的 MCP 工具,基于 FastMCP 和 B 站公开接口。你可以通过注册到 Cursor 或其他 MCP 客户端,实时调用热门视频数据。 确保使用 Python ≥ 3.12,并安装以下依赖项: 你的主代码文件可以是 bilibilimcp.py,项目结构如下: 使用 uv 运行工具: FastMCP 会自动暴露一个名为 getpopular 的工具: 获取 B 站热榜视频信息,返回最多 topk 个条目(最大 10 条)。 - 使用 httpx 实现异步请求 - 通过 FastMCP 注册为标准 MCP 工具 - 支持通过 stdio 与 MCP 客户端通信(例如 Cursor) - 仅用于学习与研究,B 站接口为公开接口,使用时请避免过于频繁访问。 - 默认 User-Agent
Add this skill
npx mdskills install xspadex/bilibili-mcpWell-documented MCP server for fetching Bilibili trending videos with clear setup and usage examples
No forks yet. Be the first to fork and customize this skill.
Visual fork tree and fork list coming soon.