weibo-cli
Query public Weibo data from a terminal with the bundled weibo-cli command. Use for direct JSON retrieval in scripts or shell sessions; do not use when an MCP client should call tools itself.
Install / Use
npx skills add qinyuanpei/mcp-server-weiboInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Skill content
View source on GitHubname: weibo-cli description: Query public Weibo data from a terminal with the bundled weibo-cli command. Use for direct JSON retrieval in scripts or shell sessions; do not use when an MCP client should call tools itself.
Weibo CLI
Use weibo-cli for direct terminal access. It automatically generates visitor cookies; do not configure or supply user cookies. If authenticated access is needed, instruct the user to run weibo-cli login and scan its QR code themselves.
Install and run
# Install once for ongoing use
uv tool install mcp-server-weibo
weibo-cli --help
# Run commands directly after installation
weibo-cli trending -n 3
# Optional, interactive: saves this user's QR-login session locally
weibo-cli login
Use uvx only for an ad-hoc command when the package should not remain installed:
uvx --from mcp-server-weibo weibo-cli --help
Choose a command
- Look up a user ID:
weibo-cli users "keyword" -n 5 - Get a known user's details:
weibo-cli profile <uid> - Get posts:
weibo-cli feeds <uid> -n 10 - Search posts or topics:
weibo-cli search "keyword"orweibo-cli topics "keyword" - Get heat, comments, social graph:
trending,comments,followers, orfans
Use a feed id from feeds or search as the input to comments.
Output contract
profile returns one JSON object. Every collection command returns one valid JSON array, including [] for an empty result. This makes outputs suitable for JSON parsers and shell pipelines.
login is CLI-only. It waits for the user to scan and confirm a QR code, then stores the session at ~/.config/mcp-server-weibo/cookies.json; treat that file as sensitive. Do not ask users to paste cookies or attempt password or CAPTCHA login.
For feeds and search, pics is included by default and nested user is excluded by default. Use --no-include-pics to omit picture metadata or --include-profile to include each post's author data.
Further documentation
Read CLI usage for the full command list. For AI-client integration rather than terminal use, read MCP usage.
Related Skills
Agent-Reach
78.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
70.6k🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
69.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
46.8kOpen-source super AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-model, multi-channel. Lightweight, extensible, one-line install. (formerly chatgpt-on-wechat)
Security Score
Audited on Sep 3, 2026
