MCP ExplorerExplorer

Weibo Mcp Server

@bossdong955on 10 months ago
2 MIT
FreeCommunity
AI Systems
# A MCP service to fetch the top N trending Weibo topics, supporting both stdio and SSE modes of invocation.

Overview

What is Weibo Mcp Server

weibo-mcp-server is a service that retrieves the top N trending topics from Weibo, supporting both stdio and sse modes for invocation.

Use cases

Use cases include monitoring social media trends, integrating trending topics into applications, and analyzing public sentiment based on trending discussions.

How to use

To use weibo-mcp-server, clone the repository, set up a conda environment, install dependencies, and configure either stdio or sse mode based on your needs.

Key features

Key features include the ability to fetch trending topics from Weibo, support for both stdio and sse transport modes, and easy configuration through JSON files.

Where to use

weibo-mcp-server can be used in applications that require real-time access to Weibo’s trending topics, such as social media analytics, news aggregation, and market research.

Content

weibo-mcp-server

一个获取前N微博热搜的MCP服务,支持stdio和sse模式调用。

配置方式

安装依赖

git clone https://github.com/bossdong955/weibo-mcp-server.git

cd weibo-mcp-server

conda create -n weibo-mcp-server python=3.11
conda activate weibo-mcp-server
pip install -r requirements.txt

stdio模式

配置文件内容如下:

{
  "mcpServers": {
    "weiboresou": {
      "disabled": false,
      "timeout": 60,
      "command": "conda",
      "args": [
        "run",
        "-n",
        "mcp",
        "--no-capture-output",
        "mcp",
        "run",
        "文件的绝对路径/resou_stdio.py"
      ],
      "transportType": "stdio"
    }
  }
}

在vscode中下载cline插件并配置Installed服务 ,将上面json粘贴到配置文件即可。

image2

sse模式

首先运行python程序

python resou_sse.py

在vscode中下载cline插件并配置Remote Servers服务 ,ip和端口根据实际情况设置。

image.png

制作不易,如果对你有帮助的话,请给作者点个stars

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers