Substack Reader MCP
Use this server to read your Substack subscriptions, feed, posts, and chats, and to make limited free subscription changes.
Check whether a Substack session is configured, valid, and which account it belongs to.
List all subscriptions, including hidden ones, or public subscriptions for a username when logged out.
Fetch a combined feed of recent posts across subscriptions, with limits and date/relative-time filters.
Fetch recent posts from one publication, with paging.
Search one publication’s archive by keyword.
Read full posts as Markdown, text, or HTML, including paid posts you have access to, with paging for long posts.
List chat inboxes, including publication chats and direct messages.
Read publication chat threads, including replies and sub-replies, and read DM conversations.
Free-subscribe to a publication; it never starts a paid plan.
Unsubscribe from free subscriptions only; paid subscriptions are refused.
Provides access to a Substack account, including subscriptions, combined feed, full posts (including paid ones the user has access to), publication search, chats, direct messages, and the ability to subscribe to or unsubscribe from free newsletters.
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., "@Substack Reader MCP What's new in my Substack feed this week?"
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.
Substack Reader MCP
Ask Claude what's new in your Substack subscriptions, and have it read the posts for you.
Quick start · Tools · Daily digest · Headline ranking with Jev · Logging in · Troubleshooting
An MCP server for your own Substack account:
Read: your subscriptions, a combined feed, full posts (including paid ones you have access to), and search.
Your reading activity: reading history with how far you read each post, plus saved and hearted posts.
Chats: publication chats and direct messages.
Act, when you ask: subscribe to and unsubscribe from free newsletters.
Daily digest: a scheduled morning digest, run by a standalone job such as substack-digest or by an agent such as Hermes Agent. Jev can rank posts against your interests before they're read.
No API keys for Substack: you log in once in a browser window.
What it uses
What | Needed? |
Your Substack account | Yes. Free and paid subscriptions both work |
Node.js 26+ | Yes |
Chrome or Edge | Only for the browser login (you can paste a cookie instead) |
A Jev-style decision model | Optional. Ranks digest posts against your interests in a few seconds. Any provider with the same decisions API works, set by URL, key and model like an OpenAI-compatible client. The default is TypeSafe's Jev on OpenRouter, about $0.03 per 1,000 posts |
An MCP client | Claude Code, Claude Desktop, Cursor, VS Code, Hermes Agent… |
Substack has no public API. The server calls the endpoints substack.com uses, with your session, so it sees only what you see logged in.
Related MCP server: Substack MCP
Quick start
npm install -g substack-reader-mcp
substack-reader-mcp login # a browser window opens; sign in to Substack as usual
substack-reader-mcp install # registers the server with Claude CodeFrom source instead: git clone https://github.com/wkbaran/substack-reader-mcp.git, then npm install && npm run build, and use node dist/cli.js in place of substack-reader-mcp.
Restart Claude Code, then try:
"What's new in my Substack feed this week?"
"Summarize the latest post from The Pragmatic Engineer."
"Which of my saved posts did I never finish?"
"What are people talking about in Nate's subscriber chat?"
"Propose an interests.md from my Substack activity."
Point the client at the substack-reader-mcp command (or node with the absolute path of dist/cli.js for a source checkout), after running login:
{ "mcpServers": { "substack-reader": { "command": "substack-reader-mcp" } } }Claude Desktop:
claude_desktop_config.json(Settings → Developer → Edit Config)Cursor:
~/.cursor/mcp.jsonVS Code:
.vscode/mcp.json, using"servers"instead of"mcpServers"and adding"type": "stdio"Claude Code, manually:
claude mcp add --scope user substack-reader -- substack-reader-mcp
Tools
How to name things:
Publications: a name, part of a name ("pragmatic"), subdomain or URL.
Posts: any Substack link, or a post id.
Reading (all read-only)
Tool | What it returns |
| Recent posts across all subscriptions, newest first. |
| A full post as Markdown. Paid posts you can't access are flagged as previews |
| One publication's latest posts · keyword search within one publication |
| Every subscription, including hidden ones, with membership |
| Posts you opened on the web or in the app, with how far you read each one, and whether you hearted or saved it |
| Posts you saved · posts you hearted |
| What your activity says about your taste, for drafting an interests.md |
| Who you're logged in as, and whether the session works |
Chat (read-only; Substack's unread flags aren't reliable, so these work by activity time)
Tool | What it returns |
| Publication chats you're in, and direct messages |
| Chats and DMs with activity since a time, optionally with the new messages |
| A chat's threads · one thread with its replies · one DM conversation |
Account changes (clients ask first; the server re-checks with Substack afterwards)
Tool | What it does |
| Free-subscribes you. Never starts a paid plan |
| Removes a free subscription. Anything with a payment attached is refused |
Digest (only when SUBSTACK_DIGEST_DIR is set; plain-text output for agent harnesses)
Tool | What it does |
| Fetches every new post and chat activity, and returns a work list with refs ( |
| Takes a verdict per post and chat, renders the message and saves state. Safe to repeat |
| Inspect the state · repair it |
| Saves a drafted |
A worked example of a whole run, with each tool's arguments and output: docs/digest-tools.md.
Daily digest
The digest tools turn this server into a morning digest. Two ways to run it:
substack-digest, a plain scheduled job (Docker and supercronic) that drives this server over MCP, asks an OpenAI-compatible gateway narrow questions and posts to a Discord webhook. This is how I run it.
Hermes Agent, which runs skills on a schedule and delivers to Discord and other chats, with the skill in
hermes/SKILL.md. The setup is below.
Either way:
What it covers: every new post in your subscriptions, plus chats and DMs with new activity.
How it reads: every post is read in full (by subagents, under Hermes).
What you get: one message, with:
picks worth reading in full, each with a summary and a reason
everything else, grouped by publication
chats, with anything addressed to you first
What the model does: only the judging. Fetching, retries, state and layout are code, so the whole digest can run on a local 27B model. State files and locks use job-ledger.
Setup with Hermes Agent
Build (
npm ci && npm run build) and copydist/,package.jsonandpackage-lock.jsonto where Hermes can see them, e.g./opt/data/mcp/substack-reader-mcp. Then runnpm ci --omit=dev --omit=optionalthere.Log in on a machine with a browser (
substack-reader-mcp login), then copy~/.config/substack-reader/auth.jsonto the Hermes host, e.g./opt/data/mcp/substack-reader-home/.Register the server in Hermes's
config.yaml:mcp_servers: substack-reader: command: node args: ["/opt/data/mcp/substack-reader-mcp/dist/cli.js"] env: SUBSTACK_READER_HOME: /opt/data/mcp/substack-reader-home SUBSTACK_DIGEST_DIR: /opt/data/sandbox/substack_digest # absolute; created if needed SUBSTACK_DIGEST_TZ: America/New_York # SUBSTACK_CLASSIFIER: jev # optional; see below # SUBSTACK_JEV_API_KEY: ${JEV_OPENROUTER_API_KEY} # from Hermes's .env # SUBSTACK_JEV_URL: https://openrouter.ai/api/alpha/decisions # the default; any decisions-API endpointInstall the skill: copy
hermes/SKILL.mdtoskills/productivity/substack-digest/andhermes/substack_digest_start.shtoscripts/. Then edit the skill's Settings block. Optionally add aninterests.mdto the digest directory (fromhermes/interests.example.md, or drafted from your activity).Schedule it (run as the
hermesuser). The job needs only thedelegationtoolset and this server:hermes cron create "0 7 * * *" "Run the substack-digest skill and deliver the digest." \ --name substack-digest --skill substack-digest --script substack_digest_start.sh --deliver discord:<channel-id>
More detail is in docs/digest.md: why the server has harness-specific tools, customizing, state, rate limits, chats and cost.
Headline ranking with Jev
Optional here, and off by default.
Your Substack feed is only what you subscribe to, so it's already curated, and the digest can afford to read every post.
This classifier was built for medium-reader-mcp, where the feed is effectively endless (100–200 new posts a day from writers you never chose), and was carried over here.
What it still adds on Substack:
Jev is a "decision model" from TypeSafe. It returns typed answers with probabilities, not text. Before anything is read, it gives every post:
a rank (how much you'd want it, judged against
interests.md)a skip probability (whether it matches your Skip list)
In the digest:
Posts are read best-first, and the rank informs the "Read in full" picks.
Confident skips (say, podcast show notes) aren't read at all.
With
SUBSTACK_DIGEST_RANK_FLOOR, low-ranked posts become optional, which helps if your subscription list grows.
Backends (
SUBSTACK_CLASSIFIER):off(default).jev: ranks and skips. The server calls the decisions API itself over HTTPS, not through sampling.sampling: skips only. The server asks your MCP client's own model to rate each headline, which is what MCP sampling means: the server borrows the client's LLM rather than having its own. It doesn't rank, so ordering is left to the agent's model.
Any Jev-style provider: the
jevbackend speaks the decisions API (POSTmodel,state,questions→answers), and you point it at a provider the way you'd point an OpenAI-compatible client at a local model:SUBSTACK_JEV_URL: the endpoint. Default: OpenRouter'shttps://openrouter.ai/api/alpha/decisions. TypeSafe's System One API (…/v1/systemone) and compatible or self-hosted servers work too.SUBSTACK_JEV_API_KEY: the bearer token (falls back toOPENROUTER_API_KEY). It can be empty for a server without auth.SUBSTACK_JEV_MODEL: the model id. Defaulttypesafe/jev-1.13; TypeSafe's own API usesjev-1.13.
Tune it to you:
Label your own posts with one keypress each, and the tools recommend thresholds and edits to
interests.md.The tools can also draft an
interests.mdfrom what you pay for, save, heart, finish and dismiss.
Everything about it is in docs/classifier.md.
Logging in
Browser (default):
loginopens Chrome or Edge on Substack's sign-in page. The session is saved as soon as you're in and lasts about three months. Re-runningloginusually needs no typing.Paste:
login --paste(or--stdin) takes thesubstack.sidcookie in any format: the bare value, aCookie:header, a Cookie-Editor export, orcookies.txt.No restart needed: the server re-reads the session on every call.
Tips:
If Substack emails you a sign-in link, paste it into the
loginwindow.Google sign-in sometimes refuses an automated window; use email or password instead.
Command | What it does |
| Log in ( |
| The logged-in account, subscription count, and whether the session works |
| Delete the session ( |
| Register with Claude Code ( |
Variable | Purpose |
| Session cookie, overriding the saved session (containers, CI) |
| Config directory (default |
| A Chromium-based browser for |
| When logged out, |
| A Cookie-Editor export from the original Python version, read as a fallback |
| Absolute path of the digest directory; setting it turns on the digest tools |
| Time zone for digest and chat times (default |
|
|
| Decisions-API endpoint for |
| Bearer token for that endpoint (default |
| Model id (default |
| Skip probability at which a post is set aside (default 0.7) |
| Rank below which reading a post is optional (default off) |
| How long |
| Longest gist, why line, chat topics and chat question for you, in characters (default |
| Pacing of requests to Substack, e.g. |
| Retries after a 429 (or a 5xx or network error on a GET), waiting 2 s, 5 s, then 10 s or Substack's |
Privacy and security
Your session goes only to
substack.comand*.substack.com. Custom-domain publications get their own session through Substack's sign-in handoff, as in a browser. Redirects are followed one hop at a time, so no cookie reaches another host.It's stored in
~/.config/substack-reader/auth.json, mode600. Nothing is stored in the repo.No telemetry. Requests go only to Substack, to the publications you ask about, and to your Jev provider if it's on (headlines and your interests only).
Only
subscribeandunsubscribechange anything, and only free subscriptions.Reading activity is read, never changed. The endpoints that mark posts as seen or saved are never called.
package-lock.jsonpins every dependency; install withnpm ci.
Troubleshooting
Symptom | Fix |
"Not logged in" / "session was rejected" |
|
"Only a preview was returned" | No paid subscription to that publication, or the session expired; |
The server doesn't appear in | Restart Claude Code |
| Install Chrome, set |
"doesn't look like a Substack publication" | The newsletter may have left Substack |
The digest says | For |
Development
npm ci && npm test # vitest against a fake fetch; no network needed
npm run typecheck && npm run buildsrc/substack/: the HTTP client, posts, subscriptions, reader shelves and chat.src/digest/: the digest tools.src/classifier/: the headline classifier, shared with medium-reader-mcp.tools/classifier/: label, score, analyze, propose.CLAUDE.md: how Substack's endpoints actually behave, including look-alikes that write. Read it before changing
src/substack/.
Disclaimer
An independent project, not affiliated with or endorsed by Substack or TypeSafe. It uses Substack's undocumented web endpoints, which can change without notice. Use it with your own account, within Substack's Terms of Use.
License
MIT © 2026 Bill Baran.
Available Tools
12 toolsauth_statusSubstack auth statusARead-only
Check whether a Substack session is configured and still valid, and which account it belongs to.
Inputs: no named parameters.
get_chat_threadsGet chat threadsARead-only
Threads in a publication's chat, newest first, with reply counts. Pass before from a previous response to page back.
Inputs: publication (required), limit, before.
get_feedGet subscription feedARead-only
Recent posts across all subscriptions, newest first.
Inputs: limit, since, per_publication.
get_recent_postsGet recent postsCRead-only
Recent posts from one publication.
Inputs: publication (required), limit, offset.
list_chatsList chatsARead-only
The user's Substack chat inbox: publication chats they belong to and direct messages, most recent first, with unread state. Use the returned id with get_chat_threads (publication_chat) or read_dm (direct_message).
Inputs: no named parameters.
list_subscriptionsList subscriptionsARead-only
List every newsletter the logged-in user subscribes to (including subscriptions hidden from their public profile), with URL and membership state.
Inputs: refresh, username.
read_chat_threadRead chat threadBRead-only
A chat thread with its replies (and replies to replies) as a readable transcript.
Inputs: thread_id (required), max_replies, include_sub_replies.
read_dmRead direct messagesARead-only
Messages in one of the user's direct-message conversations. Only use when the user asks about their DMs.
Inputs: conversation_id (required).
read_postRead a postARead-only
Read the full content of a Substack post as Markdown. Paid posts are returned in full when the logged-in account has access. Long posts are paged: pass start from the previous response to continue.
Inputs: url (required), start, format, max_chars.
search_postsSearch a publicationBRead-only
Search one publication's archive by keyword.
Inputs: query (required), publication (required), limit.
subscribeSubscribe (free)AIdempotent
Free-subscribe the logged-in account to a publication. Never starts a paid plan. Does nothing if already subscribed. Only use when the user explicitly asks to subscribe.
Inputs: publication (required).
unsubscribeUnsubscribe (free only)ADestructiveIdempotent
Remove one of the logged-in account's FREE subscriptions. Refuses paid subscriptions. Only use when the user explicitly asks to unsubscribe; if the name is ambiguous, ask them which one they mean.
Inputs: publication (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools map to distinct resources and actions: subscription management, feed reading, post retrieval, and chat/DMs. The only real confusion risk is get_feed versus get_recent_posts, though their descriptions clearly separate 'all subscriptions' from 'one publication.'
The naming convention is largely verb_noun: list_subscriptions, get_feed, search_posts, read_post, subscribe, unsubscribe. Minor deviations such as auth_status instead of get_auth_status and the abbreviated read_dm prevent a perfect score.
Twelve tools is well within the ideal range and each tool covers a distinct reader workflow: authentication, subscription management, post discovery/reading, and chat/DMs. No tool feels redundant or unnecessary.
The toolset covers the full Substack reader lifecycle: auth status, listing/subscribing/unsubscribing, feed and publication browsing, archive search, full post reading, and chat/DM threads. There are no obvious dead ends for the stated reader-focused purpose.
Maintenance
Related MCP Connectors
Your Gmail, Calendar, Drive, GitHub, Oura, wallet and confirmed profile facts in any MCP client.
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Hosted MCP server for scoped credential retrieval by AI agents. Approve specific service keys, review credential-access audit logs, and revoke future retrieval access. Connect with OAuth or an agent token.
Bluesky posts, profiles, feeds, threads & Substack newsletter search and publication feed MCP API.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceRead-only MCP server for accessing Substack content including publications, posts, comments, author profiles, recommendations, and Notes feed using your own session token.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables managing Substack publications: publish Notes and posts, manage drafts, pull analytics, and read any publication's public feed via MCP.MIT

Fenn MCP serverofficial
AlicenseNot gradedqualityCmaintenanceEnables MCP clients to read your family-location, chat, and calendar data, and optionally send messages with an explicitly minted send-access token.9 npmMIT- AlicenseAqualityBmaintenanceEnables MCP clients like Claude to access a user's Medium account, including Following and For you feeds, full member-only posts, search, reading lists, and managing follows, saves, and claps after a one-time browser login.1420 npmMIT