
weibo_hotsearch_mcp
一个简单的获取微博热搜的 MCP 服务
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
微博热搜 MCP 服务
这是一个基于 fastmcp 创建的微博热搜 MCP 服务,可以在 Claude 等支持 MCP 协议的 AI 助手中使用。
功能
- 获取微博热搜榜前10条内容
- 无需提供 Cookie,使用微博移动版 API
安装方法
方法一:从 GitHub 安装
# 直接从 GitHub 安装
pip install git+https://github.com/RusianHu/weibo_hotsearch_mcp.git
# 如果需要使用代理
pip install git+https://github.com/RusianHu/weibo_hotsearch_mcp.git --proxy socks5://127.0.0.1:10808
方法二:从源码安装
# 克隆仓库
git clone https://github.com/RusianHu/weibo_hotsearch_mcp.git
cd weibo_hotsearch_mcp
# 安装依赖
pip install -e .
方法三:从本地构建安装
# 构建包
python build_package.py
# 从本地安装
pip install dist/weibo_hotsearch_mcp-1.0.0-py3-none-any.whl
安装到 Claude Desktop
推荐使用这种方式安装,它会创建一个隔离的环境,更加可靠:
# 安装到 Claude Desktop
fastmcp install weibo_hotsearch_mcp.py
安装成功后,您可以直接在 Claude Desktop 中使用这个服务。
在 Roo Code 插件中配置使用
-
安装 Roo Code VS Code 插件
-
打开 VS Code 设置,找到
mcp_settings.json
文件- 路径通常为:
C:\Users\<用户名>\AppData\Roaming\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\mcp_settings.json
- 路径通常为:
-
在
mcpServers
对象中添加以下配置:
"weibo-hotsearch": {
"command": "python",
"args": [
"-m", "weibo_hotsearch_mcp"
],
"alwaysAllow": [
"get_hot_search"
],
"disabled": false
}
-
保存文件后,重启 VS Code
-
现在你可以在 Claude 中使用微博热搜 MCP 服务了
使用示例
在 Claude 中,你可以这样使用微博热搜 MCP 服务:
请获取当前微博热搜榜的内容,并分析一下热门话题的类别分布。
开发
如果你想修改或扩展这个 MCP 服务,可以按照以下步骤进行:
- 克隆仓库并安装依赖
- 修改
weibo_hotsearch_mcp.py
文件 - 使用
fastmcp dev weibo_hotsearch_mcp.py
命令测试你的修改 - 使用
fastmcp install weibo_hotsearch_mcp.py
命令安装到 Claude Desktop
许可证
相关推荐
🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.
Traducción de papel científico en PDF con formatos preservados - 基于 Ai 完整保留排版的 PDF 文档全文双语翻译 , 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 等服务 等服务 等服务 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 cli/mcp/docker/zotero
Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack
Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.
Reviews

user_no444l2J
I have been using weibo_hotsearch_mcp by RusianHu for a while now, and I'm really impressed with its performance. The application makes it so easy to stay updated with what's trending on Weibo. The interface is user-friendly, and it integrates seamlessly with my daily routine. Highly recommend it to anyone who wants to keep up with the latest trends efficiently!

user_lFxiL2X8
As a devoted mcp user, I must say that the weibo_hotsearch_mcp by RusianHu is an impressive tool. It efficiently pulls the latest hot search topics from Weibo, keeping me updated in real-time. The seamless integration and user-friendly interface make it a must-have for anyone keen on staying ahead of trends. Highly recommended!

user_VgeTHBIh
As a loyal user of the weibo_hotsearch_mcp, I must say it's an incredibly useful tool for staying updated with the latest trends on Weibo. The seamless integration and user-friendly interface make it easy to navigate and access trending topics efficiently. Kudos to RusianHu for developing such an innovative product!

user_XJyJtbCH
I have been using weibo_hotsearch_mcp by RusianHu for a while now, and it has proven to be an indispensable tool for staying current with trending topics on Weibo. The ease of use and reliable updates make it a must-have for anyone who wants to track social media trends efficiently. Highly recommend for anyone interested in real-time insights!

user_L9CS5V8h
As a dedicated user of weibo_hotsearch_mcp, I find this application by RusianHu exceptionally useful for tracking trending topics on Weibo. Its seamless interface and efficient performance make it a must-have tool. I highly recommend it to anyone interested in staying updated with the latest buzz.

user_5tir2m2L
As a dedicated user of MCP applications, I find weibo_hotsearch_mcp incredibly useful. It's a fantastic tool by RusianHu that helps me keep track of the latest trends and hot searches on Weibo effortlessly. The interface is user-friendly, making it easy to navigate through the most popular topics in real-time. Highly recommended for anyone looking to stay updated with the latest buzz on Weibo!