Overview
what is weiboresou-mcp-server?
weiboresou-mcp-server is an MCP service that retrieves the top N trending topics from Weibo using the SSE protocol, accessible via an API.
how to use weiboresou-mcp-server?
To use the service, run the Python program with the command python resou.py. Then, configure the cline plugin in VSCode to set up the Remote Servers service with the appropriate IP and port settings.
key features of weiboresou-mcp-server?
- Retrieves trending topics from Weibo in real-time.
- Utilizes the SSE protocol for efficient data streaming.
- API-based access for easy integration into applications.
use cases of weiboresou-mcp-server?
- Monitoring social media trends for research purposes.
- Integrating trending topics into news applications.
- Analyzing public sentiment based on trending topics.
FAQ from weiboresou-mcp-server?
- What programming language is used for this project?
The project is developed in Python.
- Is there a graphical user interface for this service?
No, the service is accessed via API and requires configuration through code.
- Can I customize the number of trending topics retrieved?
Yes, you can specify the number of topics to retrieve through the API parameters.
Content
weibo-mcp-server
一个获取前N微博热搜的MCP服务,支持stdio和sse模式调用。
配置方式
安装依赖
git clone https://github.com/bossdong955/weibo-mcp-server.git
cd weibo-mcp-server
conda create -n weibo-mcp-server python=3.11
conda activate weibo-mcp-server
pip install -r requirements.txt
stdio模式
配置文件内容如下:
{
"mcpServers": {
"weiboresou": {
"disabled": false,
"timeout": 60,
"command": "conda",
"args": [
"run",
"-n",
"mcp",
"--no-capture-output",
"mcp",
"run",
"文件的绝对路径/resou_stdio.py"
],
"transportType": "stdio"
}
}
}
在vscode中下载cline插件并配置Installed服务 ,将上面json粘贴到配置文件即可。

sse模式
首先运行python程序
python resou_sse.py
在vscode中下载cline插件并配置Remote Servers服务 ,ip和端口根据实际情况设置。

制作不易,如果对你有帮助的话,请给作者点个stars。
No tools information available.
No content found.