Model Context Protocol (MCP) server for FreshRSS, the self-hosted RSS feed aggregator
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add freshrss-mcp -- npx -y @ni-c/freshrss-mcp{
"mcpServers": {
"freshrss-mcp": {
"command": "npx",
"args": ["-y", "@ni-c/freshrss-mcp"],
"env": {
"FRESHRSS_URL": "<freshrss_url>",
"FRESHRSS_API_PASSWORD": "<freshrss_api_password>"
}
}
}
}FRESHRSS_URLFRESHRSS_API_PASSWORDMCP Servers overview
# freshrss-mcp
[](https://github.com/ni-c/freshrss-mcp/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/@ni-c/freshrss-mcp)
[](https://www.npmjs.com/package/@ni-c/freshrss-mcp)
[](https://nodejs.org)
[](LICENSE)
[](https://github.com/ni-c/freshrss-mcp/pkgs/container/freshrss-mcp)
[](https://freshrss-mcp.ni-c.de)
[](https://github.com/sponsors/ni-c)
A [Model Context Protocol](https://modelcontextprotocol.io) server for
[FreshRSS](https://freshrss.org), the self-hosted RSS and Atom feed aggregator.
It speaks the Google Reader compatible API that FreshRSS exposes at
`/api/greader.php`, and it hides that API's quirks behind tool arguments an
assistant can actually use: numeric feed ids, category and label names, ISO
dates and decimal article ids instead of `user/-/state/com.google/…` stream
identifiers and hexadecimal item tags.
**📖 Full documentation: [freshrss-mcp.ni-c.de](https://freshrss-mcp.ni-c.de)**
<!-- <picture> is resolved against the colour scheme of the page showing it, so GitHub
picks the variant that matches its own theme toggle. npm strips <picture> and
<source> when it sanitises the README and keeps the <img>, which is why that
fallback brings its own dark card instead of relying on a media query. -->
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://freshrss-mcp.ni-c.de/architecture-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://freshrss-mcp.ni-c.de/architecture-light.svg">
<img src="https://freshrss-mcp.ni-c.de/architecture.svg" alt="An MCP client speaks stdio to freshrss-mcp, which calls the Google Reader compatible API of FreshRSS over HTTPS with a GoogleLogin auth token" width="800">
</picture>
<!-- Recorded with vhs from docs/demo.tape against a throwaway FreshRSS 1.29.1. -->

## Requirements
- Node.js 22 or newer
- A FreshRSS instance (developed against 1.29) with
- the API enabled: **Settings → Authentication → "Allow API access"**
- an **API password** set for the user: **Settings → Profile → API management**.
This is a separate password from the web login.
## Configuration
| Variable | Required | Description |
| ----------------------- | -------- | -------------------------------------------------------------------------------------------------------------------- |
| `FRESHRSS_URL` | yes | Root URL of the instance, e.g. `https://rss.example.com`. The API path `/api/greader.php` is appended automatically. |
| `FRESHRSS_USER` | yes | FreshRSS user name. |
| `FRESHRSS_API_PASSWORD` | yes | The **API password** from the profile page, not the web login password. |
| `FRESHRSS_READ_ONLY` | no | `true` registers only the read tools. |
| `FRESHRSS_INSECURE_TLS` | no | `true` accepts self-signed certificates for this connection only. |
The server starts without credentials so its tools stay listable; every call
then fails with these setup instructions.
### Claude Code
```sh
claude mcp add freshrss -- npx -y @ni-c/freshrss-mcp
```
### Claude Desktop
```json
{
"mcpServers": {
"freshrss": {
"command": "npx",
"args": ["-y", "@ni-c/freshrss-mcp"],
"env": {
"FRESHRSS_URL": "https://rss.example.com",
"FRESHRSS_USER": "alice",
"FRESHRSS_API_PASSWORD": "…"
}
}
}
}
```
### Codex
```toml
[mcp_servers.freshrss]
command = "npx"
args = ["-y", "@ni-c/freshrss-mcp"]
env = { FRESHRSS_URL = "https://rss.example.com", FRESHRSS_USER = "alice", FRESHRSS_API_PASSWORD = "…" }
```
## Tools
### Reading
| Tool | Description |
| ------------------- | ------------------------------------------------------------------------------------------- |
| `get_user_info` | The authenticated account — a quick credential check. |
| `list_feeds` | Every subscription with its category and unread count. |
| `list_categories` | Categories (folders of feeds) and user labels (tags on articles). |
| `get_unread_counts` | Total and per-feed/category unread counts, sorted. |
| `list_articles` | Articles of a feed, category, label or built-in stream, with excerpts or bounded full text. |
| `get_articles` | Full text of specific articles by id. |
| `list_article_ids` | Ids only — the cheap way to collect a set for `mark_articles`. |
| `export_opml` | All subscriptions as an OPML document. |
### Writing
Not registered when `FRESHRSS_READ_ONLY=true`.
| Tool | Description | Confirmation |
| -------------------------- | ----------------------------------------------------- | ------------ |
| `mark_articles` | Set read state, star and labels on specific articles. | — |
| `mark_all_as_read` | Mark a whole feed, category, label or stream as read. | yes |
| `subscribe_feed` | Subscribe to a feed or website URL. | — |
| `update_feed` | Rename a feed or move it to another category. | — |
| `unsubscribe_feed` | Delete a feed and all of its stored articles. | yes |
| `rename_category_or_label` | Rename a category or a user label. | — |
| `delete_category_or_label` | Delete a category or a user label. | yes |
| `import_opml` | Subscribe to every feed in an OPML document. | yes |
### No search
FreshRSS does not offer full-text search over its API — the Google Reader
endpoints filter by stream, read state and date only. `list_articles` therefore
has no query parameter; narrow the result with `feed_id`/`category` and
`since`/`until` and filter the returned articles yourself.
## Safety
- **Article text is untrusted input.** Everything this server returns from
FreshRSS was written by a third party on the internet, so responses that carry
article text, titles or feed names are explicitly marked as data, never as
instructions.
- **Destructive tools are two-step.** They return a single-use confirmation
token bound to the exact target; the second call has to carry it. A plain
boolean could be set on the very first call, or be talked into it by text
hidden in a feed. The confirmation messages deliberately never quote titles or
names coming from the API.
- **Response budgets.** FreshRSS returns up to 500 000 characters of HTML per
article. Article text is converted to plain text, capped per article and
against a per-response budget, and is opt-in in listings.
- **Credentials** are read once, removed from `process.env` afterwards and never
written to disk. Requests never follow redirects, which would resend the
authorization header to another host, and relaxed TLS validation is scoped to
this connection instead of the whole process.
- **Feed URLs are redacted.** FreshRSS stores HTTP-auth feeds as
`https://user:password@host/feed`. The userinfo part is stripped before a feed
URL reaches a tool result or the OPML export, so `list_feeds` cannot print the
password of a paid or private feed into the transcript.
- **`subscribe_feed` and `import_opml` refuse internal targets.** FreshRSS
fetches those URLs server-side, which makes both tools an SSRF primitive
reachable from text inside an article. Loopback and link-local addresses —
including cloud metadata endpoints — are rejected, for the feed URL and for
every `xmlUrl`/`htmlUrl` in an OPML document. Addresses are compared
numerically, so an IPv4-mapped IPv6 literal such as `[::ffff:169.254.169.254]`
is caught too, and a hostname is resolved before it is accepted. An OPML
document is read the way an XML parser reads it, and what reaches FreshRSS is
the document as checked — so the URL that was inspected is the URL that gets
fetched. Private LAN addresses stay allowed, because self-hosted setups
legitimately subscribe to feeds on their own network.
- **`import_opml` refuses a `<!DOCTYPE>`.** No XML is parsed in this process, but
the document is handed to FreshRSS, where a document type declaration is the
carrier for entity-expansion and external-entity attacks. OPML never needs one.
- `FRESHRSS_READ_ONLY=true` does not register the write tools at all rather than
refusing them at call time.
Which tools are gated by a confirmation token: `mark_all_as_read`,
`unsubscribe_feed`, `delete_category_or_label` and `import_opml`. `mark_articles`
is deWhat people ask about freshrss-mcp
What is ni-c/freshrss-mcp?
+
ni-c/freshrss-mcp is mcp servers for the Claude AI ecosystem. Model Context Protocol (MCP) server for FreshRSS, the self-hosted RSS feed aggregator It has 0 GitHub stars and its last recorded update is dated 2026-08-25.
How do I install freshrss-mcp?
+
You can install freshrss-mcp by cloning the repository (https://github.com/ni-c/freshrss-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is ni-c/freshrss-mcp safe to use?
+
Our security agent has analyzed ni-c/freshrss-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains ni-c/freshrss-mcp?
+
ni-c/freshrss-mcp is maintained by ni-c. The last recorded GitHub activity is dated 2026-08-25, with 0 open issues.
Are there alternatives to freshrss-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy freshrss-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/ni-c-freshrss-mcp)<a href="https://claudewave.com/repo/ni-c-freshrss-mcp"><img src="https://claudewave.com/api/badge/ni-c-freshrss-mcp" alt="Featured on ClaudeWave: ni-c/freshrss-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!