Juhe News MCP Server
Overview
Juhe News MCP Server is a Model Context Protocol server that provides access to the latest news headlines across various categories such as recommendations, domestic news, technology, and sports.
To use the server, you can either run it using the recommended uv tool or install it via pip. After installation, you can access news headlines by calling the provided functions with the appropriate parameters.
- Fetches today's trending news headlines based on type. - Provides detailed content for specific news articles. - Easy installation and configuration with environment variables.
- Retrieving the latest technology news headlines.
- Accessing detailed content for specific news articles.
- Integrating news fetching capabilities into applications.
Add to your AI client
Use these steps to connect Juhe News MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"jnews-mcp-server-juhemcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-jnews-mcp-server-juhemcp"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"jnews-mcp-server-juhemcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-jnews-mcp-server-juhemcp"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"jnews-mcp-server-juhemcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-jnews-mcp-server-juhemcp"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"jnews-mcp-server-juhemcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-jnews-mcp-server-juhemcp"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"jnews-mcp-server-juhemcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-jnews-mcp-server-juhemcp"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"jnews-mcp-server-juhemcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-jnews-mcp-server-juhemcp"
]
}
}
}FAQ
What programming language is required to run the server?
Python 3.10 or higher is required.
How do I get the API key for news headlines?
You can obtain the API key from [Juhe's API documentation](https://www.juhe.cn/docs/api/id/235).
Can I debug the server?
Yes, you can use the MCP inspector for debugging.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3173,"uuid":"967c932b-3507-49f1-a6dc-8c546a5cb38f","name":"jnews-mcp-server","title":"Juhe News MCP Server","description":"","avatar_url":"https://avatars.githubusercontent.com/u/203600343?v=4","created_at":"2025-03-18T03:10:25.824Z","updated_at":"2025-03-18T20:14:59.090Z","status":"created","author_name":"juhemcp","author_avatar_url":"https://avatars.githubusercontent.com/u/203600343?v=4","tags":"news,mcp-server,juhe-news","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/juhemcp/jnews-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-18 20:21:40\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]