Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-weibo

一个基于Model Context Protocol的微博数据爬取服务器,提供用户信息、动态和搜索功能。

article

README

🚀 微博 MCP 服务器(TypeScript 版本)

这是一款基于 Model Context Protocol 的服务器,专注于微博数据的抓取。它具备抓取微博用户信息、动态以及执行搜索的强大功能,可帮助你获取用户详细资料、动态内容,还能进行用户搜索。

🚀 快速开始

此服务器可用于获取微博用户的详细资料、动态内容,并执行用户搜索等操作,为微博数据的获取提供了便捷途径。

📦 安装指南

从源代码安装

{
    "mcpServers": {
        "weibo": {
            "command": "npx",
            "args": [
                "--from",
                "git+https://github.com/Selenium39/mcp-server-weibo.git",
                "mcp-server-weibo"
            ]
        }
    }
}

从包管理器安装

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

✨ 主要特性

工具

  • search_users(keyword, limit): 根据关键词搜索微博用户
  • get_profile(uid): 获取用户详细资料信息
  • get_feeds(uid, limit): 获取用户的微博动态
  • get_hot_search(limit): 获取微博热搜榜
  • search_content(keyword, limit, page?): 根据关键词搜索微博内容

🔧 技术细节

需求

  • Node.js >= 18.0.0

📄 许可证

本项目采用 MIT License。

⚠️ 免责声明

该项目与微博无关,仅用于学习和研究目的。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client