Medium Reader MCP
This server gives Claude read and (on request) write access to your own Medium account via your logged-in session.
Check your session:
auth_statusreports which account you're logged in as, whether the session is valid, and whether you have a Medium membership.Read your feeds:
get_feedreturns your Following feed (default) or Medium's "For you" recommendations, newest first, filtered withsinceand paged withcursor.Read full posts:
read_postreturns a post as Markdown or plain text, including member-only stories (if you're a member) and custom-domain posts, with paging for long bodies.Browse authors and publications:
get_recent_postslists one author's or publication's latest posts.Search Medium:
search_postsruns keyword searches across all of Medium.See your network:
list_followinglists the authors or publications you follow, with totals.Work with saved posts:
list_reading_listsshows your reading list and named lists;get_listreturns their posts, most recently added first.Manage follows (on request):
followandunfollowauthors or publications, with ambiguous names returned as candidates for you to pick.Organize posts (on request):
save_to_listandremove_from_listadd or remove a post from your reading list or a named list.Engage (on request):
clapadds claps (capped at Medium's 50 per post) andundo_clapremoves them all.Safety annotations: every read tool is marked read-only; write tools are non-read-only, flagged destructive where they remove things, and idempotent where repeating is harmless.
Not included here: digest/ranking tools (
digest_begin,rate_headings, etc.) appear only when a digest directory is configured, and are not part of this schema.
Provides access to a Medium account for reading Following and For you feeds, full member-only stories, searching posts, managing follows, reading lists, and clapping.
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., "@Medium Reader MCP What's new in my Medium feed today?"
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.
Medium Reader MCP
Ask Claude what's new in your Medium feed, and have it read member-only stories for you.
Quick start · Tools · Daily digest · Headline ranking with Jev · Logging in · Troubleshooting
An MCP server for your own Medium account:
Read: your Following and For you feeds, full member-only posts, search, reading lists, follows and history.
Act, when you ask: follow and unfollow, mute, save to lists, clap.
Daily digest: a scheduled morning digest, run by a standalone job such as medium-digest or by an agent such as Hermes Agent. Jev can rank every headline against your interests before an LLM reads anything.
No API keys for Medium: you log in once in a browser window.
What it uses
What | Needed? |
Your Medium account | Yes. A membership is needed to read member-only stories in full |
Node.js 26+ | Yes |
Chrome or Edge | Only for the browser login (you can paste cookies instead) |
A Jev-style decision model | Optional. Ranks digest headlines against your interests in about 2 s per 100. 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 headlines |
An MCP client | Claude Code, Claude Desktop, Cursor, VS Code, Hermes Agent… |
How it talks to Medium:
Medium's own web endpoint: Medium has no reading API, so the server calls the GraphQL endpoint medium.com uses, with your session. It sees only what you see logged in.
HTTP/1.1 through
undici: Medium's Cloudflare blocks Node's HTTP/2fetch, which Node 26 uses by default.
Related MCP server: cronometer-core
Quick start
npm install -g medium-reader-mcp
medium-reader-mcp login # a browser window opens; sign in to Medium as usual
medium-reader-mcp install # registers the server with Claude CodeFrom source instead: git clone https://github.com/wkbaran/medium-reader-mcp.git, then npm install && npm run build, and use node dist/cli.js in place of medium-reader-mcp.
Restart Claude Code, then try:
"What's new in my Medium feed today?"
"Summarize that Towards AI post about schema drift."
"Which authors I follow post the most but I never read?"
"Propose an interests.md from my Medium activity."
"Save this post to my AI list." (Claude asks before every change)
Point the client at the medium-reader-mcp command (or node with the absolute path of dist/cli.js for a source checkout), after running login:
{ "mcpServers": { "medium-reader": { "command": "medium-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 medium-reader -- medium-reader-mcp
Tools
How to name things:
Authors:
@usernameor a profile URL.Publications: a name, slug or URL, including custom domains.
Posts: any Medium link, or the post's hex id.
Reading (all read-only)
Tool | What it returns |
| Your Following feed (default) or For you, newest first. |
| A full post as Markdown. Member-only stories you can't access are flagged as previews |
| One author's or publication's latest posts · keyword search across Medium |
| Who you follow · your lists · the posts in one list |
| Posts you've read, most recent first (Medium gives no read dates) |
| Rates headlines against conditions you define, using your MCP client's own model (sampling) |
| What your activity says about your taste, for drafting an interests.md |
| Who you're logged in as, and whether you're a member |
Account changes (clients ask first; the server re-checks with Medium afterwards)
Tool | What it does |
| Follow or unfollow an author or publication. An ambiguous name lists the matches instead of guessing |
| Hide an author's or publication's posts, including an author's posts in publications you follow. Private |
| Add a post to, or remove it from, a list |
| Clap (up to Medium's 50 per post), or take your claps back |
Follows and claps are visible to the author, and named lists are public.
Digest (only when MEDIUM_READER_DIGEST_DIR is set; plain-text output for agent harnesses)
Tool | What it does |
| Collects what's new, ranks and filters it, and returns a work list with refs ( |
| Takes the picks by ref, 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:
medium-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: new posts from Following, Medium's top picks, and your personal "For you" positions 25–100.
How it's chosen: Jev ranks and filters the headlines, then the best 20–25 are read in full (by subagents, under Hermes).
What you get: one message, with ⭐ "Read in full" picks that each have a summary and a reason.
What the model does: only the judging. Fetching, state and layout are code, which took a Sonnet run on Hermes from about $2.50 to $0.40. State files, locks and run files 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/medium-reader-mcp. Then runnpm ci --omit=dev --omit=optionalthere.Log in on a machine with a browser (
medium-reader-mcp login), then copy~/.config/medium-reader/auth.jsonto the Hermes host, e.g./opt/data/mcp/medium-reader-home/.Create the digest directory, e.g.
/opt/data/sandbox/medium_digest, with aninterests.md(start fromhermes/interests.example.md, or draft one from your activity).Register the server in Hermes's
config.yaml:mcp_servers: medium-reader: command: node args: ["/opt/data/mcp/medium-reader-mcp/dist/cli.js"] env: MEDIUM_READER_HOME: /opt/data/mcp/medium-reader-home MEDIUM_READER_DIGEST_DIR: /opt/data/sandbox/medium_digest MEDIUM_READER_DIGEST_TZ: America/New_York MEDIUM_READER_CLASSIFIER: jev # rank with Jev (default: sampling) MEDIUM_READER_JEV_API_KEY: ${JEV_OPENROUTER_API_KEY} # from Hermes's .env # MEDIUM_READER_JEV_URL: https://openrouter.ai/api/alpha/decisions # the default; any decisions-API endpointInstall the skill: copy
hermes/SKILL.mdtoskills/productivity/medium-digest/andhermes/medium_digest_start.shtoscripts/. Then edit the skill's Settings block.Schedule it (run as the
hermesuser). The job needs only thedelegationandmedium-readertoolsets:hermes cron create "0 7 * * *" "Run the medium-digest skill and deliver the digest." \ --name medium-digest --skill medium-digest --script medium_digest_start.sh --deliver discord:<channel-id>
More detail is in docs/digest.md: why the server has harness-specific tools, customizing, state and repairs, and limits.
Headline ranking with Jev
The digest's first step is deciding which of a day's 100–200 headlines matter to you, before anything is read. That's the classifier (src/classifier/), kept separate from summarizing and presenting.
Jev is a "decision model" from TypeSafe. It returns typed answers with probabilities, not text. For every headline it gives:
a rank (how much you'd want it, judged against
interests.md)a skip probability (whether it matches your Skip list)
In the work list: each section is sorted best first with a rank column. Confident skips are dropped. Low ranks sink, so the agent starts from the top, and on a big day the bottom is what gets cut.
Measured on real labels:
Against a local 27B model: Jev's top 10 were all posts the reader wanted, against 7 of 10, and it took 3 s instead of 178 s for 160 headlines.
Backends (
MEDIUM_READER_CLASSIFIER):jev: ranks and skips. The server calls the decisions API itself over HTTPS, not through sampling.sampling(default): 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 (in Hermes,auxiliary.mcpormcp_servers.<name>.sampling.model). It doesn't rank, so the order of posts is left to the agent's model when it shortlists.off.
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:MEDIUM_READER_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.MEDIUM_READER_JEV_API_KEY: the bearer token (falls back toOPENROUTER_API_KEY). It can be empty for a server without auth.MEDIUM_READER_JEV_MODEL: the model id. Defaulttypesafe/jev-1.13; TypeSafe's own API usesjev-1.13.
Tune it to you: label your own headlines with one keypress each, and the tools recommend thresholds and edits to
interests.md. They can also draft aninterests.mdfrom your reading lists, follows and history.
Everything about it is in docs/classifier.md: settings, the tuning loop, drafting from activity, evidence, and adding a backend.
Logging in
Browser (default):
loginopens Chrome or Edge on Medium's sign-in page. The session is saved as soon as you're in and lasts about a year. Re-runningloginusually needs no typing.Paste:
login --paste(or--stdin) takes thesidanduidcookies in any format: aCookie:header, a Cookie-Editor export, orcookies.txt.No restart needed: the server re-reads the session on every call.
Tips:
If Medium emails you a sign-in link, paste it into the
loginwindow.The window must be visible, because Cloudflare blocks headless browsers.
Command | What it does |
| Log in ( |
| The logged-in account, membership, and whether the session works |
| Delete the session ( |
| Register with Claude Code ( |
Variable | Purpose |
| Session cookies, overriding the saved session (containers, CI) |
| Config directory (default |
| A Chromium-based browser for |
| Digest directory; setting it turns on the digest tools |
| Time zone for digest dates (default |
| Reported post ids to keep (default 3000) |
|
|
|
|
| Decisions-API endpoint for |
| Bearer token for that endpoint (default |
| Model id (default |
| Skip probability at which a headline is dropped (default 0.7) |
| Rank below which posts are collapsed to one line (default off) |
|
|
| How long |
| Longest one-line gist, ⭐ gist and why line in characters, and the most ⭐ picks (default |
| Pacing of requests to Medium, e.g. |
| Retries after a 429 (or a 5xx or network error on a query; mutations aren't sent twice), waiting 0.5 s then 1 s or Medium's |
Privacy and security
Your session goes only to
medium.com. Custom-domain posts are fetched from medium.com by id.It's stored in
~/.config/medium-reader/auth.json, mode600. Nothing is stored in the repo.No telemetry. Requests go only to Medium, and to your Jev provider if it's on (headlines and your interests only).
Reading through this server doesn't add posts to your Medium reading history.
package-lock.jsonpins every dependency; install withnpm ci.
How Medium's feeds behave
The digest's design rests on a few findings, written up in docs/feeds.md:
"For you" is a fixed list of about 1,000 posts. Paging to its end makes Medium rebuild your homepage list.
Positions 0–25 are popular posts for everyone; positions 25–250 are the most personal part of the list.
Muting an author is the only way to hide their posts in publications you still follow.
Troubleshooting
Symptom | Fix |
"Not logged in" / "session was rejected" |
|
"Only a preview was returned" | Not a member, or the session expired; |
"Cloudflare protection blocked the request" | Usually temporary. If it persists, Medium changed its bot rules; please open an issue |
The server doesn't appear in | Restart Claude Code |
| Install Chrome, set |
The digest says | For |
Development
npm ci && npm test # vitest against a fake GraphQL endpoint; no network needed
npm run typecheck && npm run buildsrc/medium/: the GraphQL client and queries.src/digest/: the digest tools.src/classifier/: the headline classifier, shared with substack-reader-mcp.tools/classifier/: label, score, analyze, propose.experiments/jev/: the trials behind the classifier.CLAUDE.md: how Medium's API actually behaves. Read it before changing
src/medium/.
Disclaimer
An independent project, not affiliated with or endorsed by Medium or TypeSafe. It uses Medium's undocumented web endpoints, which can change without notice. Use it with your own account, within Medium's Terms of Service.
License
MIT © 2026 Bill Baran.
Available Tools
14 toolsauth_statusMedium auth statusARead-only
Check whether a Medium session is configured and still valid, which account it belongs to, and whether it has a Medium membership (needed for member-only posts).
Inputs: no named parameters.
clapClap for a postA
Clap for a post (visible to its author). Medium allows 50 claps per reader per post in total; this refuses to go past that. Only use when the user asks. undo_clap takes them back.
Inputs: post (required), count.
followFollowAIdempotent
Follow an author or publication. Does nothing if already following. Only use when the user explicitly asks. If the name is ambiguous the candidates are returned; ask the user which one they mean.
Inputs: target (required).
get_feedGet Medium feedARead-only
The user's home feed. "following" (default) is posts from the authors and publications they follow; "for_you" is Medium's recommendations. Pass nextCursor back as cursor for more.
Inputs: feed, limit, since, cursor.
get_listGet list postsARead-only
Posts saved in the reading list or one of the user's named lists, most recently added first.
Inputs: list, limit, cursor.
get_recent_postsGet recent postsARead-only
Latest posts from one author or publication. Pass nextCursor back as cursor to page back.
Inputs: source (required), limit, cursor.
list_followingList who you followARead-only
Authors (default) or publications the logged-in user follows, with the total count.
Inputs: kind, limit, cursor.
list_reading_listsList reading listsARead-only
The user's reading list (saved posts) and their named lists, with item counts.
Inputs: no named parameters.
read_postRead a postARead-only
Read a Medium post as Markdown. Member-only posts are returned in full when the logged-in account is a Medium member. Works for posts on custom domains too. Long posts are paged: pass start from the previous response to continue.
Inputs: url (required), start, format, max_chars.
remove_from_listRemove from listADestructiveIdempotent
Remove a post from the reading list (default) or one of the user's named lists. Only use when the user asks.
Inputs: post (required), list.
save_to_listSave to listAIdempotent
Save a post to the reading list (default) or one of the user's named lists. Does nothing if it's already there. Only use when the user asks.
Inputs: post (required), list.
search_postsSearch MediumARead-only
Search all of Medium for posts by keyword. Pass nextCursor back as page for more results.
Inputs: query (required), page, limit.
undo_clapUndo clapsBDestructiveIdempotent
Remove all of the user's claps from a post. Only use when the user asks.
Inputs: post (required).
unfollowUnfollowADestructiveIdempotent
Unfollow an author or publication. Only use when the user explicitly asks. If the name is ambiguous the candidates are returned; ask the user which one they mean.
Inputs: target (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target distinct actions and resources, but get_list and list_reading_lists overlap somewhat since both involve reading lists, and get_feed vs get_recent_posts could be confused by name alone. Descriptions generally resolve the boundaries.
Most names follow a clear verb_noun pattern like get_feed, search_posts, save_to_list, and remove_from_list. Minor deviations exist with auth_status lacking a verb and read_post/clap/undo_clap using different verb styles, but the pattern is still predictable.
14 tools is well-scoped for a Medium reader/engagement server, covering reading, searching, following, list management, and clapping without unnecessary redundancy. Each tool earns its place.
The surface covers core reading workflows: feeds, posts, search, author/publication posts, following, reading lists, and clapping. Minor gaps exist such as no named-list creation/deletion and no direct user/publication profile lookup, but these are not critical for the stated reader-oriented purpose.
Maintenance
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Connect Claude, Cursor, or any MCP client to your FlowContent account
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.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients like Codex and Claude Code to securely read and manage a personal Cronometer account, including food logs, nutrient summaries with missing-data awareness, food search, biometrics, and export analysis.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients like Claude to securely read your own Cronometer nutrition and biometric data using your account credentials, with read-only access and optional human-readable output.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to act as an authenticated Overleaf user, letting them access and manipulate projects through Overleaf's web API.1GPL 3.0
- AlicenseAqualityBmaintenanceEnables MCP clients to access your Substack account, including subscriptions, combined feed, full posts (paid ones you have access to), search, publication chats, direct messages, and free subscription management.1214 npmMIT