newspaper-mcp
Officialnewspaper-mcp
一个 MCP 服务器,将 newspaper4k 的新闻文章发现和提取能力作为工具暴露给 LLM 智能体。基于官方 MCP Python SDK v2 构建。
工具
工具 | 描述 |
| 下载并解析单篇文章(标题、作者、正文、图片、NLP)。 |
| 并发下载并解析多篇文章的 URL。 |
| 爬取新闻网站的主页,获取品牌信息、分类、订阅源和文章。 |
| 列出某个来源上发现的文章 URL/标题,支持分页。 |
| 按关键词/主题/网站/地点搜索 Google News(需要 |
| 从原始 HTML 或 URL 快速提取纯文本(不含元数据/NLP)。 |
| 下载并运行 NLP:输出带分数的关键词和提取式摘要。 |
| 列出某个来源的版块/分类 URL。 |
| 列出某个来源的 RSS/Atom 订阅源 URL。 |
Related MCP server: News Aggregator MCP Server
设置
该资料包依赖于位于仓库根目录的本地 newspaper4k checkout(通过 pyproject.toml 中的 tool.uv.sources 指定),因此始终使用库的在开发版本。
cd newspaper_mcp
uv sync运行
uv run newspaper-mcp # stdio transport (default)
uv run mcp dev src/newspaper_mcp/server.py # MCP Inspector要将其添加到 MCP 主机(例如 Claude Code、Claude Desktop),请让主机指向 uv run --directory /path/to/newspaper_mcp newspaper-mcp,作为 stdio 服务器运行。
备注
search_news需要可选包gnews,该包已通过pyproject.toml中声明的newspaper4k[gnews]额外依赖引入。NLP 功能(
nlp()、关键词提取、摘要)需要nltk,该库通过newspaper4k[nlp]额外依赖引入。首次使用时,nltk可能需要下载其punkt分词器数据。所有工具都会实时向目标新闻网站发出网络请求;调用之间没有任何缓存。
This server cannot be deployed
Related MCP Connectors
Web data for agents: YouTube transcripts, screenshots, Google News, WHOIS, jobs, tech stack, more.
Google News search and topics with the full article text in Markdown for LLMs.
Real-time corroborated news events + 5-year archive, for agents. Free tier, no key.
The only News based AI MCP your agents will ever need — custom categories, global regions, and time-scoped results in one tool. We use multi-vector & sparse-hybrid search to search through thousands of articles across the world to find the exact news you're looking for.
Related MCP Servers
AlicenseAqualityAmaintenanceGet access to real-time and historical news data including top headlines from global sources via AllNewsAPI. Supports multiple filter options including keyword search, category, language and more386 npm2MIT- AlicenseAqualityDmaintenanceEnables AI agents to fetch and search news from multiple sources including RSS/Atom feeds, HackerNews, and GDELT global news intelligence without requiring an API key.114MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to discover feeds for a site, retrieve dated feed items as clean JSON, and perform keyless news searches across Google News and Bing News with deduplication and publisher attribution.MIT

hamir MCP serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to search and monitor news coverage, fetch article metadata, explore curated source packs, and save links to hamir with notes.1MIT