mcp-server-weibo
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-weiboWhat's trending on Weibo today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-weibo
微博 MCP 服务器,通过 Model Context Protocol 为 AI 助手提供微博数据查询能力。
功能
工具 | 说明 |
| 根据关键词搜索微博用户 |
| 获取用户资料 |
| 获取用户动态 |
| 获取用户热门动态 |
| 获取微博热搜榜 |
| 搜索微博内容 |
| 搜索微博话题 |
| 获取用户关注列表 |
| 获取用户粉丝列表 |
| 获取帖子评论 |
Related MCP server: MediaCrawler MCP Server
安装
在 MCP 客户端的配置中添加:
从 GitHub 源码安装:
{
"mcpServers": {
"weibo": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/InfernalAzazel/mcp-server-weibo.git",
"mcp-server-weibo"
],
"env": {
"COOKIE": "你的微博 cookie"
},
}
}
}本地开发:
uv pip install -e .
# 或
pip install -e .配置
需要配置微博 Cookie 才能调用 API。在 env 中设置 COOKIE,或在项目目录下创建 .env:
COOKIE=你的微博Cookie字符串或通过命令行保存到 .env:
mcp-server-weibo --cookie "你的微博Cookie"获取 Cookie:登录 m.weibo.cn,在浏览器开发者工具中复制请求头里的 Cookie。
使用
stdio(默认)
mcp-server-weibo
# 或
mcp-server-weibo stdioHTTP 模式
mcp-server-weibo http
# 默认端口 4200,可通过环境变量 PORT 修改
PORT=8080 mcp-server-weibo http开发调试
uv run fastmcp dev inspector src/mcp_server_weibo/server.py --ui-port 3666 --server-port 3667测试
# 运行所有测试
uv run pytest tests/ -v
# 需要 COOKIE 的 API 测试(未配置会跳过)
uv run pytest tests/test_weibo.py -vMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server for scraping Weibo user information, feeds, and search functionality. It helps retrieve detailed user profiles, timeline content, and perform user searches on Weibo.Last updated1054MIT
- Flicense-qualityDmaintenanceEnables AI assistants to crawl and extract data from Chinese social media platforms like Bilibili, Xiaohongshu, and Douyin. Provides search, content detail retrieval, and creator information tools with persistent browser sessions and QR code login support.Last updated66
- AlicenseAqualityCmaintenanceEnables AI assistants to search X posts and read user timelines without API costs, using cookie authentication.Last updated2MIT
- Alicense-qualityDmaintenanceProvides AI agents and coding assistants with Twitter data access including tweets, user profiles, followers, and search functionality.Last updatedMIT
Related MCP Connectors
搜索笔记、浏览首页推荐、查看笔记内容与评论,并发表你的评论。直接在工作流中与小红书内容互动,高效跟进话题。
AI-agent search API: Google, YouTube, Amazon, Reddit, TikTok, TikTok Shop, Instagram, X, LinkedIn
X (formerly Twitter) posts, profiles, and search for AI agents. Free key, self-minted, no signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/InfernalAzazel/mcp-server-weibo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server