en.Wedoany.com Reported - The Weibo Open Platform officially launched the command-line tool "weibo-cli" on June 22. This open-source tool, designed specifically for developers and AI Agents, supports direct invocation of various Weibo platform capabilities within a terminal environment, covering core business scenarios such as content publishing, interaction management, data retrieval, and trend analysis.

weibo-cli is developed based on Node.js and requires a runtime environment of Node.js 18 or higher. Users can perform a global installation via npm using the command npm install -g @weibo-ai/weibo-cli. After installation, OAuth authorization can be completed through a browser using the weibo-cli auth login command. It also supports the --device parameter for logging in via device code in SSH or Docker environments without a graphical interface. The authentication status can be verified using weibo-cli auth whoami.

This tool encapsulates over 70 API interfaces of the Weibo Open Platform. The command structure follows a <group> <action> pattern. For example, statuses friends_timeline / biz is used to retrieve the friends' timeline, and users show_batch / other --screen_name is used to query user information by screen name. Output supports four formats: JSON, YAML, table, and raw, facilitating pipeline integration with other command-line tools or AI Agents. Architecturally, weibo-cli is natively adapted for AI Agents and supports the MCP (Model Context Protocol), enabling plug-and-play functionality.

In terms of feature coverage, weibo-cli provides multiple core capability modules. For social content publishing, it supports orchestrating the publishing of text, images, videos, and long Weibo posts into reusable workflows. For interaction management, comments and reposts can be automatically routed and replied to from a unified entry point. For content retrieval, it supports keyword and user-based searches, with results directly usable as input for real-time decision-making. Additionally, it offers structured data access for trending topics and hashtag trends, reading of fan profiles and behavioral characteristics, and scripted support for marketing actions such as lucky draws and batch distribution.

weibo-cli adopts a subscription-based billing model, charging based on Credits usage, with a total of five plans. The Free plan offers new users a 7-day free trial, limited to querying their own Weibo data, with a basic API call quota of 5 times per hour. The Basic plan is priced at 29 RMB/month, providing 3,000 Credits per month, covering basic read interfaces such as friends' circle, timeline, and search. The Plus plan is priced at 69 RMB/month, providing 7,500 Credits per month, supporting batch retrieval of users, comments, reposts, and other operations. The Pro plan is priced at 299 RMB/month, providing 32,000 Credits per month, opening advanced interfaces for user analysis, statistics, and short links. The Ultra Enterprise plan is priced at 899 RMB/month, providing 100,000 Credits per month, unlocking all interface permissions, including fan profiles and industry data.
weibo-cli has been published on the npm package management platform under the MIT open-source license. Currently, the tool has approximately 300 weekly downloads. Developers can view the complete command list using weibo-cli --help or visit the Weibo Open Platform official website for detailed documentation.
This article is compiled by Wedoany. All AI citations must indicate the source as "Wedoany". If there is any infringement or other issues, please notify us promptly, and we will modify or delete it accordingly. Email: news@wedoany.com









