Weibo CLI Tool Officially Launched: Built for Developers and AI Agents, 70+ APIs at Your Fingertips
Weibo’s open platform has officially launched “weibo-cli,” an official command-line tool designed specifically for developers and AI Agents, enabling direct invocation of over 70 Weibo platform APIs from the terminal environment.
The open-source tool, built with Node.js (requiring Node.js 18 or later), covers core business scenarios including content publishing, interaction management, data retrieval, and trend analysis. Developers can install it globally via npm with npm install -g @weibo-ai/weibo-cli.
Authentication is handled through OAuth authorization — users can authenticate via browser with weibo-cli auth login, or use the --device parameter for device-code login in headless SSH or Docker environments. Authentication status can be verified with weibo-cli auth whoami.

The tool organizes its 70+ encapsulated API endpoints using a <group> <action> command structure. For example, statuses friends_timeline / biz fetches the friend timeline, while users show_batch / other --screen_name queries user information by nickname. Output supports four formats — JSON, YAML, table, and raw — making it easy to pipe into other command-line tools or AI Agent pipelines.
A key architectural highlight is weibo-cli’s native support for the MCP (Model Context Protocol), enabling plug-and-play integration with AI Agent frameworks.

Feature Overview
The tool offers several core capability modules. For social content publishing, it supports composing text, images, videos, and long-form posts into reusable workflows. Interaction management allows comments and reposts to be automatically routed and replied to from a unified interface. Content retrieval supports keyword and user-based searches, with results serving as real-time decision inputs. Additionally, it provides structured data access to trending topics and hashtags, follower profiling and behavior analysis, as well as scripted support for marketing actions like lucky draws and batch distributions.

Pricing
weibo-cli adopts a subscription-based model with credit-based billing across five tiers:
- Free: 7-day trial, limited to querying personal Weibo data, 5 basic API calls per hour.
- Basic (¥29/month): 3,000 Credits/month, covering basic read interfaces like friend feeds, timelines, and search.
- Plus (¥69/month): 7,500 Credits/month, supporting batch user, comment, and repost operations.
- Pro (¥299/month): 32,000 Credits/month, unlocking advanced interfaces for user analytics, statistics, and short links.
- Ultra Enterprise (¥899/month): 100,000 Credits/month, full API access including follower profiling and industry data.

weibo-cli is published on npm under the MIT open-source license and currently sees approximately 300 weekly downloads. Developers can view the full command list with weibo-cli --help or visit the Weibo Open Platform website for detailed documentation.