juhemcp_jnews-mcp-server
Juhe News MCP Server is a Model Context Protocol (MCP) server designed to provide language models with access to real-time news updates across various categories like technology, sports, and more. It enables precise news retrieval through dedicated tools, ensuring detailed and current news information accessibility.
Juhe News MCP Server
A Model Context Protocol (MCP) server providing access to current news headlines, enabling large language models (LLMs) to retrieve up-to-date news in categories such as recommended, domestic, technology, and sports.
Components
Tools
- get_news_list: Retrieves today's top news headlines based on the provided news type as an optional parameter.
- get_news_content: Retrieves detailed content of a specific news article identified by a required "uniquekey" parameter.
Install
The server requires Python 3.10 or higher. Dependencies can be installed using uv
or pip
. Use uvx jnews-mcp-server
to run after uv
installation, or pip install jnews-mcp-server
followed by python -m jnews_mcp_server
for pip
users.
Configuration
Set JUHE_NEWS_API_KEY
environment variable for API access. Additionally, desktop setup information for Claude integration is provided.
Debugging
Use the MCP inspector for debugging steps for both uv
and local package installations.
Examples of Questions
- "What are today's top news headlines?"
- "What is the current sports headline?"
- "Details of the fifth news item?"