Basic information
About JNews MCP Server
Discover JNews, a lightweight Python FastAPI server using uv for dependencies and GitHub Actions for CI/CD. Ideal for FastAPI tutorial projects.
JNews is a MCP server in the Other category listed in the AddMCP.net directory, published by juhemcp. Supported transport: stdio. Runtime: Python. License: MIT. Source code is hosted on github.com. Related topics: community, juhe-news, mcp-server, news, other.
Setup
{
"mcpServers": {
"jnews-mcp-server": {
"command": "uvx",
"args": [
"jnews-mcp-server"
],
"env": {
"JUHE_NEWS_API_KEY": "your_api_key"
}
}
}
}
{
"mcpServers": {
"jnews-mcp-server": {
"command": "uvx",
"args": [
"jnews-mcp-server"
],
"env": {
"JUHE_NEWS_API_KEY": "your_api_key"
}
}
}
}
{
"servers": {
"jnews-mcp-server": {
"command": "uvx",
"args": [
"jnews-mcp-server"
],
"env": {
"JUHE_NEWS_API_KEY": "your_api_key"
}
}
}
}
JNews MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"jnews-mcp-server": {
"command": "uvx",
"args": [
"jnews-mcp-server"
],
"env": {
"JUHE_NEWS_API_KEY": "your_api_key"
}
}
}
}
JNews MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is JNews?
Juhe News MCP Server is a Model Context Protocol server that provides news headline information functionality. It enables large language models (LLMs) to retrieve current hot news headlines (including recommended, domestic, technology, sports, etc.) and detailed content from the Juhe news API.
How to use JNews?
Install via uv (uvx jnews-mcp-server) or pip (pip install jnews-mcp-server; python -m jnews_mcp_server). Set the environment variable JUHE_NEWS_API_KEY with your API key from Juhe. Configure the server in your MCP client (e.g., Claude Desktop) by adding an entry to the mcpServers config with the command and env variable.
Key features of JNews
- Provides hot news headlines by category (top, domestic, tech, sports, etc.)
- Fetches detailed news content using a unique news ID
- Simple two-tool interface: get_news_list and get_news_content
- Supports pagination with page and page_size parameters
- Designed for use with LLMs via the Model Context Protocol
Use cases of JNews
- An LLM answering "What are today's hot news?" with live headlines
- Retrieving sports or technology news for a specific query
- Getting full article content for a selected news item
- Integrating real-time news into AI-powered assistants or chatbots
Frequently asked questions
1 What tools does Juhe News MCP Server provide?
It provides two tools: get_news_list (to get today's hot headlines by type, with optional page and page_size) and get_news_content (to get detailed content for a given uniquekey).
2 How do I get an API key?
You need a Juhe News API key from https://www.juhe.cn/docs/api/id/235. Set it as the environment variable JUHE_NEWS_API_KEY.
3 What Python version is required?
Python 3.10 or higher is required.
4 How do I configure it with Claude Desktop?
Add an entry to claude_desktop_config.json with command "uvx" (or "python -m jnews_mcp_server") and args, plus the env variable JUHE_NEWS_API_KEY.
5 How can I debug the server?
Use the MCP inspector: npx @modelcontextprotocol/inspector uvx jnews-mcp-server, or a similar command for local installations.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In