jnews-mcp-server
The Juhe News MCP Server is designed to aid large language models in accessing the latest hot news headlines across various categories such as technology and sports. It provides tools to retrieve both headlines and detailed content by integrating with the Juhe News API.
Juhe News MCP Server
A Model Context Protocol (MCP) server that provides functionality to acquire current hot news headlines for large language models (LLMs). The server offers news in various categories such as recommended, domestic, technology, and sports, with detailed content information.
Components
Tools
- Get a list of today's hot news headlines by specifying the type of news.
- Retrieve details on hot news headlines by providing a unique key for the news item.
Install
Requires Python 3.10 or higher. Install using uv
or pip
.
- Using uv: Run the server directly with
uvx
. - Using pip: Install via pip and run as a script.
Configuration
Set environment variables, particularly JUHE_NEWS_API_KEY
, for integrating with the Juhe News API.
Debugging
Use the MCP inspector to debug the server with specific commands for different installations.