fluxio-mcp
Fluxio MCP is an information-retrieval MCP server for feeds, web pages, search, and batch fetching.
Parse RSS/Atom feeds with
fetch_rss(url, limit), returning article titles, links, publish times, and summaries.Fetch a web page as cleaned plain text with
fetch_web(url, max_chars), stripping navigation/scripts/styles.Fetch a page and convert its main content to Markdown with
fetch_web_md(url, max_chars), preserving headings, lists, code blocks, links, images, and tables.Search the web with
search_web(query, max_results)without an API key (Bing primary, DuckDuckGo fallback per README).Batch fetch up to 5 URLs with
fetch_urls(urls, mode, max_chars)in text or Markdown mode, isolating individual failures.Access an RSS feed as a resource via
rss://{url}, returning the latest 15 articles.
Performs web searches using DuckDuckGo as a fallback search engine without requiring an API key.
Parses RSS 2.0 and Atom feeds, returning recent articles with title, link, publication time, and summary.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fluxio-mcp fetch the latest 5 posts from the Hacker News RSS feed"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Fluxio MCP
信息获取 MCP Server:解析 RSS/Atom 订阅源、抓取并提取网页正文,让 Claude / Cursor / 各类 Agent 直接读取任意信息源,无需自建爬虫。
基于 FastMCP 实现,纯 Python、零后端依赖,即装即用。
架构
flowchart LR
A[Claude Desktop / Cursor / Agent] -- MCP stdio --> B[fluxio-mcp Server]
B -- Tools --> C[fetch_rss]
B -- Tools --> D[fetch_web]
B -- Tools --> E[fetch_web_md]
B -- Tools --> F[search_web]
B -- Tools --> G[fetch_urls]
B -- Resource --> G2["rss://{url}"]
C -- HTTP --> H[RSS/Atom 订阅源]
D -- HTTP --> I[任意网页]
E -- HTTP --> I
F -- HTTP --> J[Bing / DuckDuckGo]
G -- HTTP --> Ifetch_rss(url, limit):解析 RSS 2.0 / Atom,返回文章列表(标题/链接/时间/摘要)fetch_web(url, max_chars):抓取网页并提取正文纯文本,自动去除导航/脚本/样式噪音fetch_web_md(url, max_chars):抓取网页并转换为 Markdown(保留标题层级/列表/代码块/链接/图片/表格)search_web(query, max_results):网页搜索(Bing 主端点国内可直连,DuckDuckGo 海外降级,免 API Key)fetch_urls(urls, mode, max_chars):批量抓取(最多 5 个 URL,单点失败隔离,text/markdown 双模式)rss://{url}:订阅源资源,rss://<地址>返回最近 15 篇
Related MCP server: gander
抓取健壮性(v0.2.0)
网络抓取的失败大多不是"源没了",而是超时、限流、编码猜错。抓取层现在统一处理:
场景 | 行为 |
超时 | 连接 5s、读取 15s 分级超时,避免慢连接拖死整批 |
429 / 500 / 502 / 503 / 504、网络中断、读超时 | 自动重试 2 次,指数退避(0.4s、0.8s) |
403 / 404 等确定性错误 | 不重试,直接返回原因 |
超大响应 | 流式读取,超过 5MB 立即中止,不整个读进内存 |
编码 | 响应头 charset → UTF-8 → GB18030 依次回退,中文站不再整页乱码 |
RSS 解析失败 | 区分「不是合法 XML」「拿到的是网页(可能被反爬/重定向)」「源可解析但没有条目」 |
RSS 摘要带 HTML | 去标签、反转义、压平空白后再返回 |
fetch_rss 的错误提示会直接说明是哪一类失败,不再把三种情况都归成"未解析到文章"。
快速开始
# 1. 安装
pip install -e .
# 2. 以 stdio 模式启动(MCP 客户端默认方式)
fluxio-mcp
# 或
python -m fluxio_mcp接入 Claude Desktop
编辑 claude_desktop_config.json:
{
"mcpServers": {
"fluxio": {
"command": "fluxio-mcp",
"args": []
}
}
}接入 Cursor
Cursor Settings → MCP → Add new MCP Server:
Command: fluxio-mcp命令行试运行
python - <<'PY'
from fluxio_mcp.server import fetch_rss, fetch_web
print(fetch_rss("https://www.ruanyifeng.com/blog/atom.xml", limit=3))
print(fetch_web("https://www.plbear.com/"))
PY示例输出
> fetch_rss("https://www.plbear.com/index.xml", limit=5)
订阅源:https://www.plbear.com/index.xml
1. 用 Go 重写核心服务……
链接:https://www.plbear.com/posts/...
时间:...
摘要:...项目结构
src/fluxio_mcp/
├── server.py # FastMCP Server:工具/资源定义
├── rss.py # RSS/Atom 解析(标准库 xml.etree,含失败原因诊断)
├── web.py # 网页抓取(httpx,重试/分级超时/编码回退)+ 正文提取
├── markdown.py # HTML → Markdown(标题/列表/代码块/链接/表格)
├── search.py # 网页搜索(Bing 主端点 + DuckDuckGo 降级)
└── batch.py # 多 URL 批量抓取(单点失败隔离)
tests/ # pytest 单测(解析、清洗、重试、编码、截断、异常)
.github/ # GitHub Actions CI(Python 3.10/3.11/3.12 跑稳定单测)测试
pip install -e .[dev]
pytest -m "not network" # 稳定单测(CI 跑这一组)
pytest -m network # 真实网络冒烟(本机按需跑)CI 会在每次 push/PR 时对 Python 3.10/3.11/3.12 自动运行全部测试。
Roadmap
search_web:网页搜索工具(Bing 主端点 + DuckDuckGo 降级,免 API Key)网页转 Markdown(保留标题层级/列表/代码块/图片/表格)
多 URL 批量抓取(
fetch_urls:单点失败隔离,text/markdown 双模式)抓取健壮性:分级超时、瞬时错误重试、编码回退、RSS 失败原因诊断
发布到 PyPI
License
MIT
Available Tools
5 toolsfetch_rssFetch RssA
解析 RSS/Atom 订阅源,返回文章列表(标题/链接/发布时间/摘要)。
参数: url: RSS/Atom 订阅地址,如 https://www.ruanyifeng.com/blog/atom.xml limit: 最多返回的文章条数
返回: 纯文本文章列表,每篇包含 标题、链接、发布时间、摘要。
Inputs: url (required), limit. Returns: result
fetch_urlsFetch UrlsA
批量抓取多个网页,返回每个的标题与正文摘要(单点失败不影响整体)。
参数: urls: URL 列表(最多 5 个) mode: "text" 或 "markdown" max_chars: 每个条目的最大字符数
返回: 逐条列出每个 URL 的 标题 + 正文(失败的条目标注原因)。
Inputs: urls (required), mode, max_chars. Returns: result
fetch_webFetch WebA
抓取一个网页并提取正文纯文本(自动去除导航/脚本/样式等噪音)。
参数: url: 网页地址,如 https://www.plbear.com/ max_chars: 返回正文的最大字符数
返回: 页面标题 + 正文纯文本(适合喂给 LLM 阅读)。
Inputs: url (required), max_chars. Returns: result
fetch_web_mdFetch Web MdA
抓取一个网页并转换为 Markdown(保留标题层级/列表/代码块/链接/图片/表格)。
参数: url: 网页地址,如 https://www.plbear.com/ max_chars: 返回 Markdown 的最大字符数
返回: 页面标题 + Markdown 正文(比纯文本更适合喂给 LLM / 文档化场景)。
Inputs: url (required), max_chars. Returns: result
search_webSearch WebA
搜索网页,返回 标题/链接/摘要 列表(免 API Key,基于 DuckDuckGo)。
参数: query: 搜索关键词 max_results: 最多返回的结果条数
返回: 纯文本结果列表,每条包含 标题、链接、摘要。
Inputs: query (required), max_results. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
search_web and fetch_rss are clearly distinct from the others, but fetch_web_md, fetch_web, and fetch_urls overlap significantly: two are single-page fetchers differing only in output format, and fetch_urls can also return markdown or text. An agent could confuse which tool to use when fetching a single URL, especially since fetch_urls handles the same formats as the other two.
The naming pattern is mostly consistent: fetch_web, fetch_urls, fetch_rss all use fetch_ + target, and search_web follows verb_object. The only minor deviation is fetch_web_md, which adds a format suffix rather than a distinct resource type, but it remains readable and predictable.
Five tools is well-scoped for a web retrieval and search server. Each tool covers a distinct mode—search, single web fetch (text or markdown), batch fetch, and RSS parsing—without unnecessary bloat or a feeling of incompleteness.
The server covers the core web retrieval domain well: searching, fetching single pages in two formats, batch fetching, and RSS parsing. Minor gaps exist, such as no direct HTML fetch or ability to search within fetched documents, but agents can work around these using the provided tools.
Maintenance
Related MCP Connectors
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Web data for agents: YouTube transcripts, screenshots, Google News, WHOIS, jobs, tech stack, more.
Web scraping, search, crawling, structured extraction and research for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform web searches, extract webpage content, and conduct end-to-end search-and-extract operations using multiple search providers and content extraction methods.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to fetch and extract clean, readable content from web pages, and search within pages for specific queries, without needing a full browser.1MIT
- AlicenseAqualityDmaintenanceEnables AI agents to extract structured content from URLs, search the web via DuckDuckGo, monitor site availability, and convert HTML to markdown without requiring API keys.538 npmMIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to search the web, read and extract content from webpages, fetch JSON from REST APIs, and collect links while bypassing anti-bot protections.-