Juhe News MCP Server
@juhemcp
关于 Juhe News MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"jnews-mcp-server": {
"command": "uvx",
"args": [
"jnews-mcp-server"
]
}
}
}工具
2根据新闻类型获取今日热点新闻头条
根据新闻类型获取今日热点新闻头条
概览
What is Juhe News MCP Server?
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 Juhe News MCP Server?
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 Juhe News MCP Server
- 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 Juhe News MCP Server
- 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
FAQ from Juhe News MCP Server
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).
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.
What Python version is required?
Python 3.10 or higher is required.
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.
How can I debug the server?
Use the MCP inspector: npx @modelcontextprotocol/inspector uvx jnews-mcp-server, or a similar command for local installations.
其他 分类下的更多 MCP 服务器
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
评论