mcp server weibo

Local 2025-08-31 23:56:15 0

A Model Context Protocol server for scraping Weibo user information, feeds, and search functionality. It helps retrieve detailed user profiles, timeline content, and perform user searches on Weibo.


这是一个基于 Model Context Protocol 的服务器,用于抓取微博用户信息、动态和搜索功能。该服务器可以帮助获取微博用户的详细信息、动态内容以及进行用户搜索。

安装

从源代码安装:

{
    "mcpServers": {
        "weibo": {
            "command": "uvx",
            "args": [
                "--from",
                "git+https://github.com/qinyuanpei/mcp-server-weibo.git",
                "mcp-server-weibo"
            ]
        }
    }
}
从包管理器安装:

{
    "mcpServers": {
        "weibo": {
            "command": "uvx",
            "args": ["mcp-server-weibo"],
        }
    }
}

组件

工具

  • search_users(keyword, limit): 用于搜索微博用户
  • get_profile(uid): 获取用户详细信息
  • get_feeds(uid, limit): 获取用户动态

资源

提示

依赖要求

  • Python >= 3.10
  • httpx >= 0.24.0

许可证

MIT 许可证 - 详见 LICENSE 文件

免责声明

本项目与微博官方无关,仅用于学习和研究目的。