freshrss-mcp
A Model Context Protocol server that lets MCP clients read and manage a FreshRSS account’s feeds, articles, categories, labels, and read state.
Check the authenticated FreshRSS account and credentials.
List subscriptions, categories, labels, unread counts, and built-in streams.
List articles by feed, category, label, stream, read state, and date, with excerpts or bounded plain text and pagination.
Fetch full plain text of specific articles by id.
List article ids cheaply for bulk marking.
Export subscriptions as OPML.
Mark articles read/unread, starred/unstarred, and add/remove labels.
Mark a feed, category, label, or stream as read.
Subscribe to feeds or websites, rename feeds, move feeds between categories, and unsubscribe feeds.
Rename or delete categories and user labels.
Import OPML subscriptions.
Mark upstream content as untrusted, redact feed URL credentials, cap article text, reject internal targets for subscriptions/imports, and require confirmation for irreversible changes.
Support read-only mode, tool allow/deny filters, and an
essentialseven-tool preset.
Integrates with FreshRSS, a self-hosted RSS and Atom feed aggregator, providing tools for reading and managing feeds, articles, categories, and labels, as well as subscribing to, updating, and unsubscribing from feeds.
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., "@freshrss-mcp list my unread articles"
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.
freshrss-mcp
A Model Context Protocol (MCP) server for FreshRSS, the self-hosted RSS and Atom feed aggregator.
Lets MCP clients like Claude Code, Claude Desktop or Codex work through your feeds: see what is unread, read the articles, mark them, and manage subscriptions and categories.
Sixteen tools is the ceiling, not the floor: FRESHRSS_ALLOW_TOOLS=essential
registers a curated seven instead, and a model picks the right tool far more
reliably from seven than from sixteen — see
choosing which tools load.
It speaks the Google Reader compatible API that FreshRSS exposes at
/api/greader.php, and 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.

What makes it different
Sixteen tools, no stream ids. The Google Reader API speaks in stream identifiers and hexadecimal item tags. These tools take numeric feed ids, category and label names, ISO dates and decimal article ids, and hand back plain text instead of raw HTML.
Built for untrusted feeds. Every article was written by a stranger on the internet, so responses are marked as data, feed URLs are stripped of credentials, and article text is capped per article and per response. The five irreversible tools ask a person first, through MCP elicitation.
Related MCP server: Conduit
Requirements
Node.js 24 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 |
| yes | Root URL of the instance, e.g. |
| yes | FreshRSS user name. |
| yes | The API password from the profile page, not the web login password. |
| no |
|
| no |
|
| no | Comma-separated tool names, |
| no | Same syntax; removed from whatever |
| no |
|
The server starts without credentials so its tools stay listable; every call then fails with these setup instructions.
Choosing which tools load
FRESHRSS_ALLOW_TOOLS and FRESHRSS_DENY_TOOLS take comma-separated tool names;
a trailing * matches a whole family. essential is a curated preset of
seven: list_feeds, list_categories, get_unread_counts, list_articles, get_articles, mark_articles, mark_all_as_read.
FRESHRSS_ALLOW_TOOLS=essential
FRESHRSS_ALLOW_TOOLS=list_feeds,list_articles,mark_articles
FRESHRSS_DENY_TOOLS=delete_*An entry that matches no tool aborts startup and names it, so a typo cannot
silently hide a tool — an absent tool is not something anyone traces back to an
environment variable. A filtered tool is never registered, so it is absent from
tools/list and unknown to tools/call alike, exactly like a write tool under
FRESHRSS_READ_ONLY.
If you run several of these servers at once, mcp-hub
is the other answer — its /hub endpoint replaces every server's tools with six
meta-tools.
Installation
Claude Code
claude mcp add freshrss -- npx -y @ni-c/freshrss-mcpClaude Desktop
{
"mcpServers": {
"freshrss": {
"command": "npx",
"args": ["-y", "@ni-c/freshrss-mcp"],
"env": {
"FRESHRSS_URL": "https://rss.example.com",
"FRESHRSS_USER": "alice",
"FRESHRSS_API_PASSWORD": "…"
}
}
}
}Codex
[mcp_servers.freshrss]
command = "npx"
args = ["-y", "@ni-c/freshrss-mcp"]
env = { FRESHRSS_URL = "https://rss.example.com", FRESHRSS_USER = "alice", FRESHRSS_API_PASSWORD = "…" }Docker
docker run --rm -i \
-e FRESHRSS_URL=https://rss.example.com \
-e FRESHRSS_USER=alice \
-e FRESHRSS_API_PASSWORD=... \
ghcr.io/ni-c/freshrss-mcp:latestThe image is published for linux/amd64 and linux/arm64 with an SBOM and build
provenance. It runs as the unprivileged node user and carries no npm, so the
only thing in it is Node, the runtime dependencies and dist/.
Through mcp-hub
A client that cannot spawn a local process — ChatGPT connectors, Claude on the web,
Cursor, LibreChat — reaches freshrss-mcp through mcp-hub: one
container serves many stdio MCP servers over Streamable HTTP, with an OAuth 2.1 login
behind a single password and long-lived tokens for the clients that cannot do OAuth. Its
/hub endpoint puts every server behind six meta-tools, so one connector reaches all of
them without N×tool schemas in the model's context, and it speaks both protocol revisions
— a question this server asks travels through it to the person at the far end.
Its /config/mcp.json uses Claude Code's format, so the entry is the one you already
have:
{
"mcpServers": {
"freshrss": {
"command": "npx",
"args": ["-y", "@ni-c/freshrss-mcp"],
"env": { "FRESHRSS_ALLOW_TOOLS": "essential" },
"denyTools": ["delete_*"]
}
}
}allowTools and denyTools there are the hub's own per-server filter, which is not
the same thing as *_ALLOW_TOOLS in env — the difference, and the mistake it invites,
are in the client guide.
Tools
Reading
Tool | Description |
| The authenticated account — a quick credential check. |
| Every subscription with its category and unread count. |
| Categories (folders of feeds) and user labels (tags on articles). |
| Total and per-feed/category unread counts, sorted. |
| Articles of a feed, category, label or built-in stream, with excerpts or bounded full text. |
| Full text of specific articles by id. |
| Ids only — the cheap way to collect a set for |
| All subscriptions as an OPML document. |
Writing
Not registered when FRESHRSS_READ_ONLY=true.
Tool | Description | Confirmation |
| Set read state, star and labels on specific articles. | — |
| Mark a whole feed, category, label or stream as read. | yes |
| Subscribe to a feed or website URL. | — |
| Rename a feed or move it to another category. | — |
| Delete a feed and all of its stored articles. | yes |
| Rename a category or a user label. | — |
| Delete a category or a user label. | yes |
| Subscribe to every feed in an OPML document. | yes |
Structured output
Every tool declares an outputSchema and answers with structuredContent
alongside the text block, so a client can use the result without parsing prose:
{
"untrusted": true,
"source": "freshrss",
"articles": [{ "id": "1234", "title": "…", "read": false, "starred": false }],
"continuation": "1699999999",
"notes": ["…"],
}Every tool that reports feed content carries untrusted: true and
source: "freshrss" as fields. This server has always said so in notes —
prose in a list, which a client can read but not check — and the field is what
makes it checkable. Eight tools are without it, because their answer is entirely
this server's own words: ids it was given, a sentence built from the arguments,
the account it authenticates as.
Six tools used to answer with a sentence ("Feed 9 deleted."); they now answer
with the fields as well, and the sentence stays in the text block.
export_opml returns {opml} rather than the document as the whole result: a
schema whose root is a string is served to a 2025-era client rewritten as
{result: …}, and truncated needs somewhere to live either way.
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.
Not exposed, on purpose
No full-text search, because FreshRSS offers none over the Google Reader API:
its endpoints filter by stream, read state and date only. Narrow with feed_id,
category, since and until, then filter the returned articles yourself. The
search in the FreshRSS web interface has no API endpoint behind it.
No raw HTML. Article bodies are converted to plain text and capped per article and per response, so one listing cannot bury everything else in the context.
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.
A person is asked, not just told. Where the client supports MCP elicitation, the five irreversible tools raise a real dialog that the model cannot answer on its behalf. A plain boolean could be set on the very first call, or be talked into it by text hidden in a feed. Where the client cannot show a dialog they fall back to a single-use token bound to the exact target, and say so rather than implying somebody approved. The messages deliberately never quote titles or names coming from the API. See Asking a person.
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. The budget is charged for the markup that was read rather than for the text that came out, so it bounds the conversion work and not only the resulting context — markup that strips away to nothing is the expensive case, and it used to be free. The conversion itself is a single left-to-right scan, linear in the length of the article whatever the article contains.
Credentials are read once, removed from
process.envafterwards 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, solist_feedscannot print the password of a paid or private feed into the transcript.subscribe_feedandimport_opmlrefuse 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 everyxmlUrl/htmlUrlin 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_opmlrefuses 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=truedoes not register the write tools at all rather than refusing them at call time.
Which tools ask a person: mark_all_as_read, unsubscribe_feed,
delete_category_or_label, import_opml — and mark_articles, but only when it
is about to mark something read. Starring, unstarring and labelling can all
be set back; which of those articles were unread cannot, and FreshRSS keeps no
record of it.
Documentation
The full guide, tool reference and security notes live at
freshrss-mcp.ni-c.de (source in docs/).
Development
npm install
npm run lint && npm run build && npm test
npm run test:coverageSee CONTRIBUTING.md for a throwaway FreshRSS to develop against. The full documentation lives at freshrss-mcp.ni-c.de.
Releasing
Move the
[Unreleased]entries in CHANGELOG.md under the new version and bumpversioninpackage.json.npm run lint && npm run build && npm run test:coverage.Commit, then tag:
git tag -s vX.Y.Z -m vX.Y.Z && git push origin main vX.Y.Z.
The tag triggers release.yml, which verifies the tag matches package.json,
publishes to npm via Trusted Publishing
with provenance (no token involved), creates the GitHub release from the CHANGELOG
section, and publishes the entry to the
MCP Registry. If only the registry
step fails, fix it on main and re-run mcp-registry.yml by hand — never re-run
the tagged job, which would check out the old tree.
Contributing
Issues, discussions and pull requests are welcome — see CONTRIBUTING.md. For vulnerabilities please use private reporting rather than a public issue; the policy is in SECURITY.md.
License
MIT © Willi Thiel
Available Tools
16 toolsdelete_category_or_labelDelete a category or labelADestructiveIdempotent
Deletes a category (its feeds move to the default category, no articles are lost) or a user label (it is detached from every article). FreshRSS matches categories first, so a category and a label of the same name cannot be told apart here. Two-step: the first call returns a confirmation token, the second call with that token performs the deletion.
Inputs: name (required), confirm_token. Returns: name, deleted
export_opmlExport OPMLARead-onlyIdempotent
Exports all subscriptions as an OPML document — the portable backup format for feed readers. For a readable overview of the subscriptions use list_feeds instead.
Inputs: no named parameters. Returns: opml, source, truncated, untrusted
get_articlesGet articlesARead-onlyIdempotent
Fetches the full text of specific articles by id, as plain text. At most 20 ids per call.
Inputs: article_ids (required), max_content_chars. Returns: note, notes, source, articles, +1 more
get_unread_countsGet unread countsARead-onlyIdempotent
Returns how many unread articles are waiting, in total and per feed and category, sorted by count. Only entries with unread articles are listed.
Inputs: no named parameters. Returns: feeds, notes, source, untrusted, +2 more
get_user_infoGet user infoARead-onlyIdempotent
Returns the FreshRSS account the server is authenticated as. Useful as a connection and credential check before anything else.
Inputs: no named parameters. Returns: userId, userName, userEmail
import_opmlImport OPMLADestructive
Subscribes to every feed in an OPML document, creating the categories it names, and then refreshes all feeds — which can take minutes on a large file. There is no bulk undo; every feed would have to be removed individually. Two-step: the first call returns a confirmation token, the second call with that token performs the import.
Inputs: opml (required), confirm_token. Returns: note, imported
list_article_idsList article idsARead-onlyIdempotent
Lists only the ids of matching articles — the cheap way to collect a set for mark_articles. Same selectors and filters as list_articles.
Inputs: label, limit, order, since, +6 more. Returns: hint, count, notes, source, +3 more
list_articlesList articlesARead-onlyIdempotent
Lists articles from a feed, category, label or built-in stream, newest first. Returns short plain-text excerpts by default; set include_content=true for the article text, or fetch single articles with get_articles. FreshRSS has no full-text search over its API, so there is no way to query by keyword — narrow the result with feed_id/category and since/until instead and filter the returned articles yourself.
Inputs: label, limit, order, since, +8 more. Returns: hint, notes, source, articles, +3 more
list_categoriesList categories and labelsARead-onlyIdempotent
Lists the categories (folders that hold feeds) and the user labels (tags that are attached to individual articles), each with its unread count. Both are addressed by name in the other tools.
Inputs: no named parameters. Returns: notes, labels, source, untrusted, +2 more
list_feedsList feedsARead-onlyIdempotent
Lists every subscribed feed with its category and unread count. The numeric feedId is what all other tools take as feed_id. Start here to find out what is subscribed before listing articles.
Inputs: no named parameters. Returns: feeds, notes, source, feedCount, +2 more
mark_all_as_readMark all as readADestructiveIdempotent
Marks every article of a feed, category, label or built-in stream as read. Two-step: the first call returns a confirmation token, the second call with that token performs the change. Which articles were unread before cannot be recovered afterwards.
Inputs: label, stream, feed_id, category, +2 more. Returns: stream, olderThan, markedAsRead
mark_articlesMark articlesADestructiveIdempotent
Sets the read state, the star and user labels of specific articles. Starring and labelling are reversible by calling this tool again with the opposite value. Marking as read is not, so read=true asks a person first; where the client cannot show a dialog, call once to receive a token and again with it. At most 100 articles per call; every given change is applied to all of them.
FreshRSS answers OK whether or not it recognised the ids, so the result of this tool cannot tell you the change landed. Use the ids exactly as list_article_ids returned them — not the long tag:google.com,... form — and confirm with get_unread_counts if it matters: the count is the only thing that moves.
Inputs: article_ids (required), read, starred, add_labels, +2 more. Returns: changes, updated, articleIds
rename_category_or_labelRename a category or labelADestructiveIdempotent
Renames a category (folder) or a user label. FreshRSS resolves the name against its categories first and falls back to labels, so one tool covers both. Feeds and articles keep their assignment.
Inputs: name (required), new_name (required). Returns: to, from, renamed
subscribe_feedSubscribe to a feedA
Subscribes to a feed. The URL may point at the feed itself or at a website — FreshRSS discovers the feed and then downloads it, so this call can take a while. A category that does not exist yet is created.
Inputs: url (required), title, category. Returns: note, feedId, subscribed
unsubscribe_feedUnsubscribe from a feedADestructiveIdempotent
Deletes a feed together with all of its stored articles, read state and stars. Two-step: the first call returns a confirmation token, the second call with that token performs the deletion. This cannot be undone — re-subscribing starts from whatever the feed currently offers.
Inputs: feed_id (required), confirm_token. Returns: feedId, unsubscribed
update_feedUpdate a feedADestructiveIdempotent
Renames a feed and/or moves it to another category. A category that does not exist yet is created. Fields that are not given stay unchanged.
Inputs: feed_id (required), title, category. Returns: feedId, updated
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool has a clearly distinct purpose with no overlapping functionality. For example, 'list_articles' and 'get_articles' are differentiated by scope (list vs. full text), and 'mark_articles' vs 'mark_all_as_read' are distinct in granularity.
Tool names follow a consistent verb_noun pattern (e.g., get_user_info, list_feeds, subscribe_feed, export_opml) with occasional modifiers (all_as_read, category_or_label) but remain uniform and predictable. No mixed conventions like camelCase or inconsistent verbs.
With 16 tools, the set is slightly above the typical 3–15 range but each tool serves a necessary function for a feed reader, covering subscription management, article handling, and OPML operations. The count feels justified rather than bloated.
The tool surface covers the full lifecycle of feed management: reading (list/get), writing (subscribe/update/unsubscribe), marking read states, category operations, and OPML import/export. The absence of search is explicitly noted as an API limitation, and alternatives are provided, so no critical gaps exist.
Maintenance
Related MCP Connectors
RSS & Atom feed manager with full-text search, AI curation, and remote MCP endpoint.
Managed cloud RSS and Atom feed reader with a remote Model Context Protocol (MCP) endpoint. Zero server setup required — enables AI agents like Claude to instantly subscribe to feeds, search full-text articles, extract readable content, and access curated AI editions ("Your Newspaper") over secure streamable HTTP.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for RSS feed aggregation and article content extraction, allowing users to subscribe to feeds and extract full article content as Markdown.2290 npm5MIT
- FlicenseNot gradedqualityCmaintenanceA self-hosted RSS reader MCP server that manages RSS subscriptions and fetches live feed content, deployable on AWS.-
- AlicenseAqualityBmaintenanceMCP server for FreshRSS RSS reader enabling feed reading, subscription management, and item actions via the Google Reader compatible API.12MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides RSS feed tools for Claude Desktop, enabling fetching and parsing RSS feeds with configurable feeds and blocklists.6MIT