juhemcp_jnews-mcp-server

juhemcp_jnews-mcp-server

0

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

  1. "What are today's top news headlines?"
  2. "What is the current sports headline?"
  3. "Details of the fifth news item?"