mcpField
W
Weibohot

Weibohot

本地服务
github.com/wangtsiao社交媒体1382 周前更新

关于 Weibohot

Weibohot 是面向 AI 模型的中国网络趋势信息 MCP 服务,通过工具提供微博、新闻等平台的实时热点,以及每日星座和英语句子。

主要功能

  1. 01微博实时热搜
  2. 02聚合多平台热点
  3. 03今日头条与澎湃新闻热榜
  4. 04每日星座运势
  5. 05每日励志英语句子

适用场景

  1. 01查询微博当前热门话题
  2. 02汇总查看网络热点
  3. 03获取每日星座运势
  4. 04为内容流程提供每日英语句子

MCP 相关

作为 MCP 服务,它通过 Stdio 传输向兼容客户端提供热点、星座运势和每日英语句子等工具。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"weibohot-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/weibohot-server:latest"
]
}
}
}
启动命令docker run -i --rm mcp/weibohot-server:latest

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
ocimcp/weibohot-server:latest

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

🔥 Pulse CN MCP Server

License: MIT TypeScript smithery badge PRs Welcome

提供中国互联网实时热门内容的强大 Model Context Protocol(MCP)服务。

功能 • 安装 • 快速开始 • 文档 • 参与贡献 • 许可证

🌟 概述

Pulse CN MCP Server 让 AI 模型能够获取有关中国互联网热门趋势的最新信息。它基于 Model Context Protocol(MCP)构建,充当 AI 模型与中国最受欢迎的社交媒体平台、新闻网站和内容聚合平台实时数据之间的桥梁。

✨ 功能

此服务提供来自中国 18 个主要平台的实时热门数据:

平台内容状态
🔮 星座运势每日星座运势预测✅
💬 每日一句励志英语每日励志英语句子✅
📊 热搜热榜聚合聚合热门话题✅
🔥 微博实时热搜微博实时热门话题✅
📰 今日头条热搜今日头条热门新闻✅
📝 澎湃新闻热搜澎湃新闻热门话题✅
🏀 虎扑步行街热搜虎扑步行街实时热门🔜
❓ 知乎实时热搜知乎实时热门话题🔜
📔 知乎每日日报知乎每日简报🔜
💼 36氪24小时热榜36氪24小时商业新闻热榜🔜
🎬 哔哩哔哩全站日榜哔哩哔哩全站日榜🔜
🔍 百度热点热榜百度热门话题🔜
📱 抖音热点热榜抖音热门话题🔜
👥 豆瓣小组精选豆瓣小组选精选内容🔜
💻 IT资讯热榜IT 新闻热门话题🔜
📈 虎嗅网热榜虎嗅网24小时热门话题🔜
📱 产品经理热文榜Woshipm 每日热门文章🔜
🐞 虫族部落最新热门虫族部落最新热门内容🔜

🚀 安装

# Clone the repository
git clone https://github.com/wangtsiao/pulse-cn-mcp.git

# Navigate to the project directory
cd pulse-cn-mcp

# Using npm
npm install
npm run build

# Or using Bun (faster)
bun install
bun run build

⚡ 快速开始

使用以下命令启动 MCP 服务:

# Using npm
npm start

# Or using Bun
bun start

这会通过 Stdio 传输启动服务,使其能够接受兼容 MCP 的 AI 模型连接。

📖 文档

架构

Pulse CN MCP Server 采用模块化架构,为每个数据源提供独立工具:

src/
├── index.ts            # Main entry point and server setup
└── tools/              # Individual tool implementations
    ├── weiboHotspots.js
    ├── horoscope.js
    ├── dailyEnglishSentence.js
    ├── internetHotspotsAggregator.js
    ├── todayHeadlinesHotspots.js
    ├── paperNewsHotspots.js
    └── otherHotspots.js
可用工具
已完整实现
工具名称描述端点
weibo-hotspots来自微博的实时热门话题/weibo-hotspots
horoscope按星座查询每日运势/horoscope
daily-english-sentence每日励志英语句子/daily-english-sentence
internet-hotspots-aggregator聚合热门话题/internet-hotspots-aggregator
today-headlines-hotspots今日头条热门话题/today-headlines-hotspots
paper-news-hotspots澎湃新闻热门资讯/paper-news-hotspots
即将推出
  • hupu-pedestrian-street-hotspots
  • zhihu-realtime-hotspots
  • zhihu-daily-hotspots
  • 36-krypton-24-hour-hotspots
  • bilibili-daily-hotspots
  • baidu-hotspots
  • douyin-hotspots
  • douban-group-hotspots
  • huxiu-hotspots
  • product-manager-hotspots
  • in-information-hotspots
  • insect-hotspots
集成示例

以下是使用 TypeScript 与服务集成的示例:

import { McpClient } from "@modelcontextprotocol/sdk/client";

async function example() {
  const client = new McpClient();
  
  // Get Weibo trending topics
  const weiboHotspots = await client.callTool("weibo-hotspots", {});
  console.log(weiboHotspots.content);
  
  // Get daily horoscope for Aries
  const horoscope = await client.callTool("horoscope", { sign: "aries" });
  console.log(horoscope.content);
}

🛠️ 开发

添加新工具
  1. 在 src/tools/ 中创建新文件(例如,myNewTool.ts)
  2. 使用 MCP Server SDK 实现工具
  3. 在 src/index.ts 中注册工具

示例:

// src/tools/myNewTool.ts
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";

export function registerMyNewTool(server: McpServer) {
  server.tool(
    "my-new-tool",
    "Description of my new tool",
    {
      // Tool parameters schema
      param1: z.string().describe("Parameter description")
    },
    async (params) => {
      // Tool implementation
      return {
        content: [
          { type: "text", text: "Result of my tool" }
        ]
      };
    }
  );
}

// src/index.ts - Add import and registration
import { registerMyNewTool } from './tools/myNewTool.js';
// ...
registerMyNewTool(server);

🤝 参与贡献

欢迎贡献!欢迎随时提交 Pull Request。

  1. Fork 项目
  2. 创建功能分支(git checkout -b feature/amazing-feature)
  3. 提交更改(git commit -m 'Add some amazing feature')
  4. 推送到分支(git push origin feature/amazing-feature)
  5. 发起 Pull Request

📄 许可证

本项目采用 MIT License 授权,详情请参阅 LICENSE 文件。

🙏 致谢

本项目使用了 韩小韩API 提供的免费 API。我们衷心感谢他们提供的优质服务与支持。


由 wangtsiao 倾情打造 ❤️

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。