Weibo MCP Server logo

Weibo MCP Server

by qinyuanpei

This is a server based on the Model Context Protocol for scraping Weibo user information, dynamics, and search functionality. It can help obtain detailed information about Weibo users, dynamic content, and perform user searches.

View on GitHub

Last updated: N/A

Weibo MCP Server

这是一个基于 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 文件

免责声明

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