Weibo

v1.0.0Search & Data Extractionstable

A Model Context Protocol server for scraping Weibo user information, feeds, and search functionality. It helps retrieve detailed user profiles, timeline content, and perform user searches on Weibo.

mcp-servermodelmodel-context-protocolsina-weibosocal-media
Share:
47
Stars
0
Downloads
0
Weekly
0/5

What is Weibo?

Weibo is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server for scraping weibo user information, feeds, and search functionality. it helps retrieve detailed user profiles, timeline content, and perform user searches on weibo.

A Model Context Protocol server for scraping Weibo user information, feeds, and search functionality. It helps retrieve detailed user profiles, timeline content, and perform user searches on Weibo.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Model Context Protocol server for scraping Weibo user info

Use Cases

Scrape and analyze Weibo user profiles and feeds
Perform user searches and retrieve timeline content
qinyuanpei

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx weibo-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Weibo

Weibo MCP Server is a Model Context Protocol server for accessing Sina Weibo — China's major microblogging platform — providing tools to search users, retrieve profiles and timelines, explore trending topics, and read post comments without requiring authentication. It exposes ten discrete tools covering user discovery, feed retrieval, content search, and social graph exploration, making it useful for researchers, marketers, and developers who need to monitor Chinese social media trends or analyze public Weibo accounts through AI assistants.

Prerequisites

  • Python 3.10+ installed
  • uv or uvx package manager installed (recommended) or pip
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • Network access to Weibo's public API (no Weibo account required for public data)
1

Install via uvx (recommended)

Install and run the Weibo MCP server using uvx, which handles dependency isolation automatically and is the recommended approach.

uvx install mcp-server-weibo
2

Or install via pip

Alternatively, install the package into your Python environment using pip.

pip install mcp-server-weibo
3

Test from the command line

Verify the server starts correctly by running it in stdio mode. It should start without errors and wait for MCP protocol messages.

mcp-server-weibo stdio
4

Configure Claude Desktop for stdio mode

Add the Weibo MCP server to your claude_desktop_config.json using uvx to ensure isolated dependency management.

{
  "mcpServers": {
    "weibo": {
      "command": "uvx",
      "args": ["mcp-server-weibo"]
    }
  }
}
5

Or run as an HTTP server

Start the server in HTTP mode for clients that support SSE transport. The server listens on port 4200 by default.

mcp-server-weibo http
# Then configure client with URL:
# { "url": "http://localhost:4200/sse" }
6

Restart your MCP client and test

Restart Claude Desktop after saving the configuration. Ask Claude to search for a Weibo user or retrieve trending topics to confirm the tools are working.

Weibo Examples

Client configuration

Claude Desktop configuration for the Weibo MCP server using uvx in stdio mode.

{
  "mcpServers": {
    "weibo": {
      "command": "uvx",
      "args": ["mcp-server-weibo"]
    }
  }
}

Prompts to try

Example prompts for retrieving and analyzing Weibo content through Claude using the mcp-server-weibo tools.

- "Search Weibo for users related to 'artificial intelligence' and list the top 5 results."
- "Get the latest 10 posts from Weibo user with UID 1749127163."
- "What are the top 10 trending topics on Weibo right now?"
- "Search Weibo for posts about '电动汽车' (electric vehicles) and summarize the discussion."
- "Show me the comments on Weibo post ID 5173507416919189."

Troubleshooting Weibo

Requests to Weibo return empty results or connection errors

Weibo's public API is region-sensitive — some endpoints may be blocked or rate-limited outside mainland China. Try using a VPN or proxy based in China. Also confirm your network allows outbound HTTPS to weibo.com.

"mcp-server-weibo: command not found" after pip install

Ensure your Python environment's bin directory is on your PATH, or use the full path to the binary. With uvx, the binary is managed automatically — run 'uvx mcp-server-weibo stdio' as a direct command if the alias is missing.

Server starts in stdio mode but Claude Desktop shows no Weibo tools

Restart Claude Desktop completely after editing claude_desktop_config.json. Check that the command in the config is 'uvx' (not 'python' or 'mcp-server-weibo' directly) and that uvx is installed and on the PATH used by the desktop app.

Frequently Asked Questions about Weibo

What is Weibo?

Weibo is a Model Context Protocol (MCP) server that model context protocol server for scraping weibo user information, feeds, and search functionality. it helps retrieve detailed user profiles, timeline content, and perform user searches on weibo. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Weibo?

Follow the installation instructions on the Weibo GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Weibo?

Weibo works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Weibo free to use?

Yes, Weibo is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "weibo-mcp-server": { "command": "npx", "args": ["-y", "weibo-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Weibo?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides