The Weibo MCP Server is a specialized server built on the Model Context Protocol designed to fetch and manage Sina Weibo user data. This server enables users to retrieve detailed user profiles, user activities (feeds), and perform user searches on Weibo. It is an open-source project primarily intended for learning and research purposes.
To install the server from the source code, use the following configuration:
{
"mcpServers": {
"weibo": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/qinyuanpei/mcp-server-weibo.git",
"mcp-server-weibo"
]
}
}
}
To install via a package manager, use this configuration:
{
"mcpServers": {
"weibo": {
"command": "uvx",
"args": ["mcp-server-weibo"]
}
}
}
The server provides the following tools for interacting with Weibo data:
search_users(keyword, limit)
: Searches for Weibo users based on a keyword and limits the number of results.get_profile(uid)
: Retrieves detailed information about a specific user by their unique ID (UID).get_feeds(uid, limit)
: Fetches the latest activities (feeds) of a user, with an optional limit on the number of results.The server requires the following dependencies to function:
This project is licensed under the MIT License. For more details, refer to the LICENSE file.
This project is not affiliated with Sina Weibo or its official entities. It is intended solely for educational and research purposes.
The Weibo MCP Server is a Python-based implementation designed to simplify the process of accessing and analyzing Weibo user data. It is actively maintained and available on GitHub.