SkillAgentSearch skills...

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-weibo

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

68/100

Supported Platforms

Universal

name: 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" or weibo-cli topics "keyword"
  • Get heat, comments, social graph: trending, comments, followers, or fans

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

View on GitHub
GitHub Stars0
CategoryDevelopment
Updated2d ago
Forks0

Security Score

80/100

Audited on Sep 3, 2026

1 medium1 low