Juhe News MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Juhe News MCP Server show me the latest tech news headlines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Juhe News MCP Server
一个提供新闻头条信息功能的模型上下文协议(Model Context Protocol)服务器。该服务器使大型语言模型(LLMs)能够获取当前最新的热点新闻头条(包括:推荐、国内、科技、体育等类型)及详细内容信息。
Components
Tools
服务器实现了两个工具:
get_news_list: 根据新闻类型获取今日热点新闻头条
需要传入 "type"(新闻类型)作为选填的字符串参数。
async def get_news_list(type: str = "top", page: int = 1, page_size: int = 20) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]:get_news_content: 根据新闻类型获取今日热点新闻头条
需要传入 "uniquekey"(新闻id)作为必须的字符串参数。
async def get_news_content(uniquekey: str) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]:Related MCP server: Pulse CN MCP Server
Install
This server requires Python 3.10 or higher. Install dependencies using uv (recommended) or pip
Using uv (recommended)
When using uv no specific installation is needed. We will use uvx to directly run jnews-mcp-server.
uvx jnews-mcp-serverUsing PIP
Alternatively you can install jnews-mcp-server via pip:
pip install jnews-mcp-serverAfter installation, you can run it as a script using:
python -m jnews_mcp_serverConfiguration
Environment Variables
JUHE_NEWS_API_KEY: 聚合数据的新闻头条API密钥。获取:https://www.juhe.cn/docs/api/id/235
JUHE_NEWS_API_KEY=your_api_keyClaude Desktop
On MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.jsonOn Windows:
%APPDATA%/Claude/claude_desktop_config.json
"mcpServers": {
"jnews-mcp-server": {
"command": "uvx",
"args": [
"jnews-mcp-server"
],
"env": {
"JUHE_NEWS_API_KEY": "your_api_key"
}
}
}"mcpServers": {
"jnews-mcp-server": {
"command": "python",
"args": [
"-m",
"jnews_mcp_server"
],
"env": {
"JUHE_NEWS_API_KEY": "your_api_key"
}
}
}Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx jnews-mcp-server Or if you've installed the package in a specific directory or are developing on it:
cd path/to/servers/src/jnews-mcp-server
npx @modelcontextprotocol/inspector uv run jnews-mcp-serverExamples of Questions for Cline
"今日有哪些热点新闻?"
"当前体育热点头条?"
"第5条新闻的详细内容"
Available Tools
2 toolsget_news_contentB
根据新闻ID获取新闻的详细内容
Inputs: uniquekey (required).
get_news_listA
通过新闻类型获取今日热点新闻头条
Inputs: type, page, page_size.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one lists news by type, the other retrieves detailed content by ID. There is no overlap or ambiguity.
Both tools follow a consistent snake_case pattern with the 'get_' prefix and a descriptive noun, making them predictable and easy to understand.
With only two tools, the set is minimal for a news server. It covers basic listing and detail retrieval, but feels thin compared to typical news APIs that include search, categories, or pagination.
The tool surface lacks essential operations such as searching news, filtering by date or category, or pagination. Users cannot navigate beyond today's hot headlines, which is a significant gap for a comprehensive news service.
Related MCP Connectors
The NewsCatcher MCP server lets an AI assistant search the news and run the agent for you. Ask in plain language; the assistant picks the tools and answers with headlines, summaries, sources, and links.
Dive into the latest and greatest from the tech world with our Hacker News MCP server.
Real-time news and trending topics from major sources
Get access to real-time and historical news data including top headlines from global sources
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides real-time hot trending topics from major Chinese social platforms and news sites.1299 npm202MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI models with real-time trending content from 18 major Chinese internet platforms, including Weibo, Zhihu, and Bilibili.13ISC
- AlicenseAqualityDmaintenanceA real-time news and hot spot aggregation server that monitors multiple platforms like Weibo, Zhihu, and Bilibili. It enables AI assistants to fetch, filter, and analyze trending topics through the Model Context Protocol for personalized information tracking.131GPL 3.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that retrieves Bangla news headlines and allows querying news by topic for integration with LLMs.4MIT