Get the FREE Ultimate OpenClaw Setup Guide →

mcp -weibo

Model Context Protocol服务器,用于抓取微博用户信息、动态和搜索功能

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio selenium39-mcp-server-weibo npx --from git+https://github.com/Selenium39/mcp-server-weibo.git mcp-server-weibo

How to use

This MCP server provides a Weibo integration that exposes a set of tools to interact with Weibo data. The server offers functions to search for users, fetch user profiles, retrieve user feeds, obtain hot search terms, and search content by keyword. You can run this server via npx and then connect to it using the MCP framework, supplying the server name 'weibo' as configured. Once running, you can invoke the provided tools to programmatically access Weibo data for your automation or research tasks.

How to install

Prerequisites:

  • Node.js v18 or higher
  • npm (comes with Node.js) or pnpm
  • Git (for the source installation method)

Option A: From source (using npx with a git URL)

  1. Ensure Node.js and npm are installed.
  2. Run the MCP server directly from the source repository:
npx --from git+https://github.com/Selenium39/mcp-server-weibo.git mcp-server-weibo

Option B: From the npm package (package manager installation)

  1. Ensure Node.js and npm are installed.
  2. Install and run via npx using the package name:
npx mcp-server-weibo

Notes:

  • The server name in your MCP configuration should be set to weibo as shown in the examples.
  • Ensure network access to fetch the package if using the --from method or the npm registry when using npx mcp-server-weibo.

Additional notes

Tips and considerations:

  • Node.js version: The project requires Node.js >= 18.0.0.
  • No additional environment variables are documented in the README; the defaults should work out of the box, but if you run into rate limits or authentication issues with Weibo data, you may need to adjust network-related settings or obtain API access credentials accordingly.
  • This MCP server is described as a TypeScript version; ensure your runtime environment supports TypeScript-compiled JS if any build steps are required.
  • The repository states the project is for learning and research purposes and is not affiliated with Weibo; respect the terms of service of the source platform when using the data.
  • If you encounter issues while using the tools, verify the server is reachable at the expected MCP framework endpoint and that the 'weibo' server configuration remains intact.

Related MCP Servers

Sponsor this space

Reach thousands of developers