NewsnowSAFE
一个基于 Model Context Protocol (MCP) 的新闻聚合服务器,通过 Newsnow API 提供多平台热点新闻和趋势话题。
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mseep.ai/app/sligter-mcp-newsnow)
[](https://github.com/anthropics/anthropic-tools)
一个基于 Model Context Protocol (MCP) 的新闻聚合服务器,通过 Newsnow API 提供多平台热点新闻和趋势话题。
功能特点
- 多平台热点聚合:一站式获取来自酷安、知乎、微博、B站、抖音、GitHub等14+平台的热点内容
- 中英文源名识别:支持中英文新闻源名称,并提供模糊匹配功能
- 自定义API端点:通过环境变量或命令行参数配置NewNow API端点
安装方法
方法一:从 PyPI 安装
# 使用 pip 安装 pip install mcp-newsnow # 或使用 uv 安装 uv pip install mcp-newsnow
方法二:配置 Claude Desktop
在 Claude Desktop 配置文件中添加服务器配置:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
添加以下配置:
{
"mcpServers": {
"get_news": {
"command": "uvx",
"args": [
"mcp-newsnow"
]
}
}
}使用方法
使用 Claude Desktop
- 安装并配置 Claude Desktop
- 在配置文件中添加上述 MCP 服务器配置
- 重启 Claude Desktop
- 在对话中使用新闻相关工具
使用 MCP CLI 进行开发
# 通过环境变量设置API端点 NEWS_API_URL=https://newsnow.example.com # 运行测试 mcp test server.py
可用工具
1. 获取单一源新闻 (get_newsnow)
async def get_newsnow(source: str) -> dict[str, Any] | None
从指定源获取最新新闻。
参数:
source: 新闻源名称 (支持中英文,例如"知乎"、"zhihu"、"B站"等)
返回: 包含新闻数据的字典
2. 获取多源新闻 (getmultinews)
async def get_multi_news(sources: list[str] = None) -> dict[str, Any]
从多个源获取最新新闻 (最多5个)。
参数:
sources: 新闻源名称列表
返回: 包含多个新闻源数据的字典
3. 获取所有源新闻 (getallnews)
async def get_all_news() -> dict[str, Any]
获取所有配置的新闻源数据。
返回: 包含所有新闻源数据和元数据的字典
4. 列出可用新闻源 (list_sources)
async def list_sources() -> dict[str, str]
列出所有可用的新闻源及其中文名称。
返回: 新闻源ID到中文名称的映射字典
环境变量
34fff0246b98OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add mcp-newsnow -- uvx mcp-newsnow
{
"mcpServers": {
"mcp-newsnow": {
"command": "uvx",
"args": [
"mcp-newsnow"
]
}
}
}Exposed tools (4)
4 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
get_all_news | read | 获取所有配置的新闻源的数据 |
get_multi_news | read | 从多个源获取最新新闻 |
get_newsnow | read | 从指定源获取最新新闻 |
list_sources | read | 列出所有可用的新闻来源和对应的中文名称 |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (3 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (1)
Gates applied: no_behavioural_pass, no_license.
34fff0246b98full audit observations/trust-audit/mcp-server/sligter__newsnow.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 34fff0246b98 | SAFE | B | 89 | first audit |
Questions
What is the Newsnow MCP server?
一个基于 Model Context Protocol (MCP) 的新闻聚合服务器,通过 Newsnow API 提供多平台热点新闻和趋势话题。
What tools does Newsnow expose?
4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Newsnow safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Newsnow need?
No credential environment variables were found in its source, so it appears to need none.
How does Newsnow run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp-newsnow.
How current is this page?
The grade is for one exact copy of the source (34fff0246b98), read on 2026-10-07. The repository is watched and re-audited when it changes.