MCP.so
登录

Juhe News MCP Server

@MCP-Mirror

关于 Juhe News MCP Server

Mirror of

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

MCP-Mirror

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

2

根据新闻类型获取今日热点新闻头条

根据新闻类型获取今日热点新闻头条

概览

What is Juhe News MCP Server?

Juhe News MCP Server is a Model Context Protocol server that provides news headline information. It enables large language models to retrieve current hot news headlines (including recommendation, domestic, technology, sports, etc.) and detailed content.

How to use Juhe News MCP Server?

Requires Python 3.10 or higher. Install via uv (recommended: uvx jnews-mcp-server) or pip (pip install jnews-mcp-server then python -m jnews_mcp_server). Set the environment variable JUHE_NEWS_API_KEY from Juhe Data (https://www.juhe.cn/docs/api/id/235). Configure in Claude Desktop JSON file with the appropriate command and env settings.

Key features of Juhe News MCP Server

  • Provides get_news_list tool to fetch hot headlines by type.
  • Provides get_news_content tool to fetch full news details.
  • Supports multiple news categories: top, domestic, technology, sports, etc.
  • Lightweight, runs as a direct MCP server.

Use cases of Juhe News MCP Server

  • Integrate real-time news into AI assistants or chatbots.
  • Enable LLMs to answer questions about today's hot topics.
  • Build news digest applications that summarize headlines.
  • Fetch specific news details programmatically.

FAQ from Juhe News MCP Server

What tools does Juhe News MCP Server offer?

Two tools: get_news_list (optional type parameter, plus page and page_size) and get_news_content (required uniquekey string).

How is Juhe News MCP Server configured?

You must set the JUHE_NEWS_API_KEY environment variable. For Claude Desktop, add a jnews-mcp-server entry in the mcpServers configuration file with either uvx jnews-mcp-server or python -m jnews_mcp_server.

What are the runtime requirements?

Python 3.10 or higher. Dependencies are managed via uv (recommended) or pip.

Where does the news data come from?

The server uses the Juhe Data News API (聚合数据). An API key is required from https://www.juhe.cn/docs/api/id/235.

Can I debug the server?

Yes, using the MCP Inspector: npx @modelcontextprotocol/inspector uvx jnews-mcp-server.

评论

其他 分类下的更多 MCP 服务器