Content
[](https://mseep.ai/app/sligter-mcp-newsnow)
# MCP NewNow Server
[](https://github.com/anthropics/anthropic-tools)
A Model Context Protocol (MCP) based news aggregation server that provides multi-platform hot news and trending topics through the [Newsnow](https://github.com/ourongxing/newsnow) API.
## Features
- **Multi-platform Hotspot Aggregation**: One-stop access to hot content from 14+ platforms such as Coolapk, Zhihu, Weibo, Bilibili, Douyin, and GitHub
- **Chinese and English Source Name Recognition**: Supports Chinese and English news source names and provides fuzzy matching
- **Custom API Endpoint**: Configure the NewNow API endpoint via environment variables or command line arguments
## Installation
### Method 1: Install from PyPI
```bash
# Install using pip
pip install mcp-newsnow
# Or install using uv
uv pip install mcp-newsnow
```
### Method 2: Configure Claude Desktop
Add server configuration to the Claude Desktop configuration file:
**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
Add the following configuration:
```json
{
"mcpServers": {
"get_news": {
"command": "uvx",
"args": [
"mcp-newsnow"
]
}
}
}
```
## Usage
### Using Claude Desktop
1. Install and configure Claude Desktop
2. Add the above MCP server configuration to the configuration file
3. Restart Claude Desktop
4. Use news-related tools in conversations
### Developing with MCP CLI
```bash
# Set the API endpoint via environment variables
NEWS_API_URL=https://newsnow.example.com
# Run tests
mcp test server.py
```
## Available Tools
### 1. Get Single Source News (get_newsnow)
```python
async def get_newsnow(source: str) -> dict[str, Any] | None
```
Get the latest news from the specified source.
**Parameters**:
- `source`: News source name (supports Chinese and English, e.g., "Zhihu", "zhihu", "B station", etc.)
**Returns**: Dictionary containing news data
### 2. Get Multi-Source News (get_multi_news)
```python
async def get_multi_news(sources: list[str] = None) -> dict[str, Any]
```
Get the latest news from multiple sources (up to 5).
**Parameters**:
- `sources`: List of news source names
**Returns**: Dictionary containing data from multiple news sources
### 3. Get All Source News (get_all_news)
```python
async def get_all_news() -> dict[str, Any]
```
Get all configured news source data.
**Returns**: Dictionary containing all news source data and metadata
### 4. List Available News Sources (list_sources)
```python
async def list_sources() -> dict[str, str]
```
List all available news sources and their Chinese names.
**Returns**: Dictionary mapping news source IDs to Chinese names
## Environment Variables
- `NEWS_API_URL`: Base URL of the Newsnow API (default: "https://newsnow.busiyi.world/")
## Supported News Sources
- Coolapk (coolapk)
- Bilibili Hot Search (bilibili-hot-search)
- Zhihu (zhihu)
- Weibo (weibo)
- Toutiao (toutiao)
- Douyin (douyin)
- GitHub Trending (github-trending-today)
- Linux Hot List (linuxdo-hot)
- Tieba (tieba)
- Wall Street News (wallstreetcn)
- The Paper (thepaper)
- CLS Hot (cls-hot)
- Xueqiu (xueqiu)
- Kuaishou (kuaishou)
## Contribution Guide
Welcome to submit issues and pull requests! Here are some potential areas for improvement:
- Add more news source support
- Enhance content extraction and processing capabilities
- Add a caching layer to reduce API calls
- Improve error handling and retry mechanisms
- Add result filtering and classification functions
## License
This project is licensed under the MIT License.
Connection Info
You Might Also Like
awesome-mcp-servers
A collection of MCP servers.
git
A Model Context Protocol server for Git automation and interaction.
Appwrite
Build like a team of hundreds
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.
oh-my-opencode
Background agents · Curated agents like oracle, librarians, frontend...
chatbox
User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)