weibo-cli

weibo-cli is a skill for Claude Code, Codex from qinyuanpei/mcp-server-weibo. It costs 43 tokens per session (527 once invoked), scanned A, original, MIT.

A command-line interface for querying public Weibo data. Weibo is a Chinese social-media platform; the tool can retrieve profiles, posts, searches, topics, trends, comments, and follower information.

In plain words
What is it for?
It helps look up users, fetch feeds, search posts or topics, inspect comments and social activity, and optionally use a QR-code login for authenticated access.
Why use it?
It lets scripts and terminal sessions obtain structured Weibo data without requiring an interactive browser or an MCP client.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps look up users, fetch feeds, search posts or topics, inspect comments and social activity, and optionally use a QR-code login for authenticated access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qinyuanpei/mcp-server-weibo/weibo-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add qinyuanpei/mcp-server-weibo --skill weibo-cli
Clone the repo
git clone --depth 1 https://github.com/qinyuanpei/mcp-server-weibo

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for weibo-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/qinyuanpei/mcp-server-weibo/weibo-cli/github.svg)](https://agentmods.dev/skills/qinyuanpei/mcp-server-weibo/weibo-cli)
Your own site
<a href="https://agentmods.dev/skills/qinyuanpei/mcp-server-weibo/weibo-cli"><img src="https://agentmods.dev/badge/skills/qinyuanpei/mcp-server-weibo/weibo-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for weibo-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/qinyuanpei/mcp-server-weibo/weibo-cli"><img src="https://agentmods.dev/badge/skills/qinyuanpei/mcp-server-weibo/weibo-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00527
Opus 5.5 $0.00017 $0.00211
Sonnet 5.5 $0.00009 $0.00105
Haiku 4.5 $0.00004 $0.00053

Measured 1mo ago against content hash c9a6e181f7f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

weibo-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/weibo-cli/SKILL.md · 51 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 51 lines · 43 tokens per session scan A c9a6e181f7f5

Subscribe to this mod's changes

weibo-cli is a skill published in the GitHub repository qinyuanpei/mcp-server-weibo (63 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 527 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.

Related

Other skills, from other repositories

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it…

comet-ml/opik-mcp · 187 tokens

opik-test

Turn a failing Opik trace (or a described failure) into a repeatable regression check — a test-suite item with the trace's input and one or two binary assertions — so a fix can be verified by the compare skill. Works over the SDK; uses the MCP write tool when connected. Returns the suite, the item, and the assertion.…

comet-ml/opik-mcp · 141 tokens

qmclaw-workbench

A local simulator for superconducting quantum-bit experiments, including measurements used to study and tune a qubit. It produces bounded synthetic results without connecting to laboratory hardware or quantum cloud services.

xi-zhao/OpenQuantum · 124 tokens

cortex-explore-memory

Explore the memory system's state, find gaps in knowledge, assess coverage, and get diagnostic information. Use when the user asks 'what does my memory look like', 'show me memory stats', 'what am I missing', 'how good is my knowledge', 'memory health', 'show coverage', 'find gaps', 'what topics are weak', or when you…

cdeust/Cortex · 91 tokens

quantum-fermi-hubbard-vqe

A variational quantum simulation of the open-boundary Fermi–Hubbard chain, a model of particles hopping between sites and interacting when they occupy the same system. It maps the model to qubits with the Jordan–Wigner transformation and searches for a low-energy state.

xi-zhao/OpenQuantum · 67 tokens

quantum-grover

A Qiskit implementation of Grover's algorithm, a quantum search method that increases the chance of finding a marked item. It can explain the method, build an explicit quantum circuit, or run it with chosen inputs.

xi-zhao/OpenQuantum · 62 tokens