mcp_newsnow
一个基于 Model Context Protocol (MCP) 的新闻聚合服务器,通过 Newsnow API 提供多平台热点新闻和趋势话题。
claude mcp add --transport stdio sligter-mcp_newsnow uvx mcp-newsnow \ --env NEWS_API_URL="Newsnow API base URL (default: https://newsnow.busiyi.world/)"
How to use
This MCP server provides a Newsnow-based news aggregation service. It exposes tools that let you fetch the latest news from multiple sources, across 14+ platforms, including popular Chinese and international sources. The server is designed to be used via MCP-compatible clients (such as Claude Desktop or an MCP CLI) and supports English and Chinese source names with fuzzy matching. Available tools include: get_newsnow for retrieving the latest news from a single source, get_multi_news for aggregating news from multiple sources (up to five), get_all_news to fetch news from all configured sources, and list_sources to reveal the supported news sources and their Chinese names. These tools return dictionaries containing news data and metadata suitable for downstream processing in your MCP workflow.
How to install
Prerequisites:
- Python (3.8+)
- pip or uv for Python package installation
- Internet access to fetch the package from PyPI
Option A: Install from PyPI
- Install the package using pip
pip install mcp-newsnow
- (Optional) If using uv to install, run:
uv pip install mcp-newsnow
Option B: Configure with Claude Desktop (example setup)
- Open Claude Desktop configuration file (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json or (Windows): %APPDATA%\Claude\claude_desktop_config.json
- Add the MCP server configuration:
{
"mcpServers": {
"get_news": {
"command": "uvx",
"args": [
"mcp-newsnow"
]
}
}
}
- Save and restart Claude Desktop to load the new MCP server.
Environment variable for API endpoint (optional):
- NEWS_API_URL: Set this to point to the Newsnow API base URL if you need a non-default endpoint. Example:
export NEWS_API_URL=https://newsnow.example.com
Note: The package is primarily Python-based and uses the MCP protocol; Node.js or Docker-based deployments are not included in this configuration by default.
Additional notes
Tips and notes:
- If you encounter authentication or rate-limiting issues with Newsnow, consider configuring a custom NEWS_API_URL to point to a more reliable endpoint or add caching at your client layer.
- The list_sources tool helps you verify supported sources and their Chinese names for easier integration with Chinese-speaking prompts.
- When using get_multi_news, you can pass up to five source names to aggregate data in a single call. Ensure source names match those configured in your environment (supporting both Chinese and English names).
- For development workflows, you can use the MCP CLI to run tests against the server and validate responses (e.g., mcp test server.py).
- This MCP server configuration assumes the server is accessible in your runtime environment as a Python module named mcp-newsnow; adjust the module name if your packaging differs.
Related MCP Servers
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
mcp-yfinance
Real-time stock API with Python, MCP server example, yfinance stock analysis dashboard
pfsense
pfSense MCP Server enables security administrators to manage their pfSense firewalls using natural language through AI assistants like Claude Desktop. Simply ask "Show me blocked IPs" or "Run a PCI compliance check" instead of navigating complex interfaces. Supports REST/XML-RPC/SSH connections, and includes built-in complian
cloudwatch-logs
MCP server from serkanh/cloudwatch-logs-mcp
servicenow-api
ServiceNow MCP Server and API Wrapper
the -company
TheMCPCompany: Creating General-purpose Agents with Task-specific Tools