Weibo Hot Search MCP Server
This is a Weibo hot search data acquisition server based on the Model Context Protocol (MCP) framework, providing functions to fetch Weibo hot search list, hot search details, and comments.
Features
-
Get Weibo Hot Search List
- Display hot search rankings
- Show hot search keywords
- Show hot search index
-
Get Hot Search Details
- Topic category
- Topic description
- Topic link
- Topic claim information
- Statistics (reads, discussions, interactions, original posts)
-
Get Hot Search Comments
- Support getting comments from the first Weibo post or claim's post through hot search link
- Configurable maximum comment fetch count
- Display comment content and like count
Requirements
- Python >=3.10
- Dependencies:
- requests
- lxml
- mcp>=1.0.0
Installation
Installation from sources
- Clone the repository
git clone https://github.com/Yooki-K/weibo-mcp-server.git
- Install dependencies:
pip install -r requirements.txt
Note: If using
uv run weibo_mcp_server, dependencies will be installed automatically, no need forpip install
Installation from Pypi
pip install weibo-mcp-server
Configuration
Get Weibo Cookie
Create a Weibo account, press F12 to open developer tools, and get the cookie as shown below:

Run Project Locally
Add this tool to the MCP server
Cursor
On Windows: C:/Users/YOUR_USER/.cursor/mcp.json
{
"mcpServers": {
"weibo": {
"command": "uv",
"args": [
"--directory",
"path/to/weibo-mcp-server",
"run",
"weibo_mcp_server"
],
"env":{
"weibo_COOKIE": YOUR_WEIBO_COOKIE
}
}
}
}
Claude
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"weibo": {
"command": "uv",
"args": [
"--directory",
"/path/to/weibo-mcp-server",
"run",
"weibo_mcp_server"
],
"env": {
"weibo_COOKIE": YOUR_WEIBO_COOKIE
}
}
License
MIT License - see LICENSE file for details.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Recommend MCP Servers 💡
@renant/mcp-tabnews
An MCP server providing tools to interact with TabNews, including fetching content, user-specific data, analytics, and RSS feeds.
3loka/consul-mcp-server
A Model Control Protocol (MCP) server for interacting with HashiCorp Consul service discovery and service mesh, enabling Claude to analyze microservices architecture, create diagrams, identify issues, and provide recommendations through natural language.
pubchem-mcp
An MCP server for accessing PubChem data, providing tools for querying compounds, substances, bioassays, and related chemical information.
Shortcut
Shortcut is a project management platform that provides an MCP server to connect with AI tools like Cursor and Claude Code, enabling AI teammates to assist with tasks, PRs, and progress tracking.
microsoft.docs.mcp
The Microsoft Learn MCP Server is a cloud-hosted service that enables AI agents like GitHub Copilot to access trusted and up-to-date information directly from Microsoft's official documentation, offering high-quality content retrieval, semantic understanding, and real-time updates.
@chanmeng666/google-news-server
A Model Context Protocol (MCP) server implementation that provides Google News search capabilities via SerpAPI integration. Automatically categorizes news results and supports multiple languages and regions.