Substack MCP Server
A Substack MCP server that lets an AI agent read and act in your signed-in Substack publication: drafting and publishing posts, posting Notes, replying to comments, managing subscribers, and pulling stats.
Posts and drafts: list, read (full Markdown body), create drafts from Markdown, update, duplicate, and delete posts.
Publishing: publish a draft now, schedule it for a future time (web + email, optional section), cancel a schedule, or unpublish back to drafts.
Notes: list your or anyone's Notes and their replies, publish or schedule a Note (optionally with a link card), and reply to Notes.
Comments: list comments with replied/unanswered filters, reply as you, pin, like, remove others' comments, or delete your own.
Subscribers: list with plan/join-date/activity filters, add or remove an email, export the full CSV, and manage subscriber tags.
Stats and analytics: publication totals, revenue and churn, daily stats, audience geography, traffic sources, and per-post stats, traffic and engagement.
Sections, tags, recommendations: list sections, create/apply post tags, and list or add/remove publication recommendations.
Reader side: home feed, Substack-wide search, notifications, unread counts, direct-message conversations, sending DMs, following users, liking posts, and listing your subscriptions.
Provides tools for interacting with Substack's web endpoints using your own signed-in Chrome session: create posts and drafts from Markdown, publish and schedule them, post Notes, read and reply to comments, and manage subscribers. Also covers stats (subscriber growth, revenue, opens, referral sources), recommendations, and direct messages — 50 tools that can be used via MCP clients, a local REST API with OpenAPI docs, or Python scripts.
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 MCP Server create a draft post from this markdown and schedule it for tomorrow"
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 API integration and MCP server: connect Substack to ChatGPT and Claude
Yes, ChatGPT, Claude and other AI agents can work in your Substack account. That includes Cursor, Codex, OpenClaw and any MCP client, plus automations in n8n, Make and Zapier. Ask in plain words, and the AI drafts posts from your notes, schedules them, posts Notes, answers comments and reports your subscriber and post stats. It shows you what it will do first and sends nothing to other people until you say so.
As of November 2026, this repo is the missing piece: 50 Substack tools for AI assistants and scripts.
What you can ask
Turn essay.md into a draft for everyone and schedule it for Tuesday 8:00 New York time. Once it is out, post a Note with a link card to it.
Find comments on my last three posts that I have not answered and draft a short reply to each.
Last week's numbers: new and paid subscribers, cancellations, revenue, and opens for each post.
Where did my readers come from in the last 30 days?
Related MCP server: BrowserLemon
Two ways to get it
Run it yourself, this repo | ||
For | writers and publishers | developers |
Setup | sign in to Substack once, about 5 minutes, nothing to install | Python and a terminal |
Works in | ChatGPT and Claude apps, on your phone too, Cursor, Codex, OpenClaw, any MCP client, n8n, Make, Zapier, your own API endpoints (Custom API) | Claude Code, Claude Desktop, Cursor, Codex on your computer |
Runs | 24/7, your computer can be off | while your computer is on |
Price | 7 days free, no card | free |
Cotlet is best for writers and publishers who want ChatGPT, Claude or another AI agent to work in Substack for them, with nothing to install.
What writers ask their AI to do in Substack
Job | Ask your AI | Make it repeat |
Draft from a Google Doc | "Turn this Google Doc into a Substack draft with its headings and images. Do not publish." | When a post is ready |
Old posts into Substack | "Copy my archived posts from these Google Docs into Substack drafts, one per post, with the images." | Once |
Website signups into Substack | "Add the people who signed up on my website form today as free subscribers. Show me the list first." | Your own endpoint, called from your form tool |
Subscribers to MailerLite or Kit | "List this week's new free and paid subscribers so I can add them to MailerLite." | Your own endpoint, called from Zapier, Make or n8n |
Notes from your post | "Write 5 Notes from my latest post and schedule them over the week. Show me first." | After each post |
Why the numbers moved | "Why did my open rate drop this month? Compare opens, new subscribers and traffic sources with last month." | Monthly |
Stats in a spreadsheet | "Put each post's opens, views and new subscribers from this year in a spreadsheet." | Your own endpoint, called from Google Sheets |
Comments you have not answered | "List comments on my last 3 posts that I have not answered and reply to each after my OK." | When you ask |
Share a post on social | "Write a LinkedIn post and an X post for today's Substack post, with its link." | After each post |
Clean up the list | "Tag subscribers with the lowest activity rating as inactive. Show me how many first." | Monthly |
Backup | "Download my subscriber list and all my posts as a backup." | Monthly |
Leaving Substack | "Export my posts and my subscribers with their plan for my move to Ghost." | Once |
Your AI asks you before it publishes, posts a Note, replies or changes anything. Payments stay in your hands: Cotlet refuses payments.
Your own Substack API, built with Cotlet (hosted)
Substack gives you no API for posts, drafts or subscribers. With Cotlet you build your own: your AI does the job once in your Cloud Browser, you save it as an endpoint, and you call it from Google Sheets, Webflow or WordPress forms, Zapier, Make, n8n, your own code.
Examples you can build in a few minutes (none of them exists until you build it):
Endpoint you build | What it returns or does |
| subscribers who joined since a date, with free or paid plan |
| adds one email to your list as a free subscriber (writes only after you allow it) |
| opens, open rate, views and new subscribers per post for a period |
| total and paid subscribers, cancellations and estimated revenue for a period |
| where your visitors came from in a period |
| comments on your posts that have no reply from you |
| the full subscriber list as a CSV link |
| a draft from your Markdown or HTML; nothing is sent (writes only after you allow it) |
Call it with your Cotlet API key, JSON in and JSON out:
curl -X POST https://cotlet.dev/api/v1/custom/new-subscribers \
-H "Authorization: Bearer $COTLET_API_KEY" -H "Content-Type: application/json" -d '{}'Limits: one call runs up to 90 seconds, writes wait for your consent, payments are blocked. Start here: https://cotlet.dev/app/custom-api/new?app=substack
Find it on Cotlet.dev
What you can ask your AI to do in Substack
These are real jobs Substack users asked about. Cotlet lets ChatGPT, Claude or any MCP client do them in your own signed-in Substack account.
Subscribers and lists
How do I automatically sync my Substack subscribers to MailerLite, Kit or beehiiv without exporting a CSV every time?
Partly. Substack has no native sync to other tools, only a CSV export on the Subscribers page and an embeddable signup form. With Cotlet, your agent reads new subscribers in your signed-in Substack and adds them to MailerLite, Kit, beehiiv or your CRM, signed in in the same Cloud Browser. Nothing is added until you say yes.
Ask your agent: "Read the Substack subscribers added this week and add each one to my MailerLite list with email and signup date. Show me the list first."
As an API endpoint: Yes. Save the new-subscriber read as an endpoint in Cotlet and call it daily from n8n, Make or Zapier to push the people into your other tool.
How do I connect Substack to Zapier or Make so a new subscriber from my website form is added to my Substack list?
Partly. Substack has no Zapier or Make app and no public API for adding subscribers; you add them by hand or upload a CSV on the Subscribers page. With Cotlet, your agent takes each new form signup and adds it there. Nothing is added until you say yes.
Ask your agent: "Take today's new signups from my website form sheet and add each email as a Substack subscriber. Show me the emails before you add them."
As an API endpoint: Yes. Save the add-subscriber step as an endpoint in Cotlet and call it from n8n, Make or Zapier whenever your form gets a new signup.
Can AI clean my Substack subscriber list and remove inactive free subscribers in bulk?
Partly. Substack's Subscribers page can already prune inactive or undeliverable readers with its own filters. With Cotlet, your agent applies those filters, lists the free subscribers it would remove and removes them one by one. Nothing is removed until you say yes.
Ask your agent: "List free Substack subscribers who have not opened an email in 6 months and show me the count and names. Remove nobody yet."
As an API endpoint: Yes. Save the inactive-subscriber list as an endpoint in Cotlet and call it monthly from n8n, Make or a script to get a review list.
How do I import 2,000+ subscribers from Mailchimp or Sendy into Substack when the upload keeps being rejected?
Partly. Substack imports lists by upload on the Subscribers page, and publishers report large Mailchimp files being rejected. With Cotlet, your agent reads your export, trims it to the email column and uploads it in Substack, then reports what was accepted. Nothing is imported until you say yes.
Ask your agent: "Read this Mailchimp export, keep only the email column and upload it to Substack as new subscribers. Tell me how many were accepted."
Can an AI agent set up a welcome email series for new Substack subscribers?
Partly. Substack lets you set one welcome email for free subscribers and one for paid, in Settings under Emails, not a series. With Cotlet, your agent writes and fills in those two emails and drafts the follow-up emails you can schedule as posts. Nothing changes until you say yes.
Ask your agent: "Write a welcome email for free subscribers and one for paid subscribers and put them into my Substack welcome email settings. Show me the text first."
Posts and drafts
Can Claude or ChatGPT create a draft post in my Substack from a Google Doc and leave it for me to review?
Yes. Substack's editor has no import from Google Docs or Markdown. With Cotlet, your agent reads the Google Doc and builds a draft in your signed-in Substack with the headings, links and images. It stays a draft until you say yes.
Ask your agent: "Read my Google Doc called Newsletter 12 and create a Substack draft from it. Do not publish or schedule it."
As an API endpoint: Yes. Save the draft step as an endpoint in Cotlet and call it from n8n, Make or a script whenever a new Google Doc is ready.
How do I bulk import my old blog posts (WordPress, Notion, TinyLetter Google Docs) into Substack with images?
Partly. Substack imports posts from some platforms on its own, in Settings under Import. For the rest, your agent with Cotlet opens each old post and rebuilds it as a Substack draft with its images, one at a time. Nothing is created until you say yes to the first batch.
Ask your agent: "Take my last 10 WordPress posts and create a Substack draft for each, with the images. Show me the first one before you do the rest."
How do I connect WordPress to Substack so a new blog post is also published or emailed on Substack?
Partly. Substack has no public API for posts, so a new WordPress post cannot arrive on its own. With Cotlet, your agent reads the new post in WordPress and creates the Substack draft, both signed in in your Cloud Browser. Nothing is published or emailed until you say yes.
Ask your agent: "Take my newest WordPress post and create a Substack draft with the same title, text and images. Do not send it."
As an API endpoint: Yes. Save the copy step as an endpoint in Cotlet and call it from n8n or Make when a new WordPress post goes live.
Can Claude read my Substack archive and tell me which old posts to update for SEO?
Yes. With Cotlet, Claude reads your published posts and the Analytics section of your signed-in Substack, including traffic sources, and lists the old posts worth refreshing with the changes to make. Nothing is edited in Substack.
Ask your agent: "Read my last 40 Substack posts and their traffic sources and list the 5 old posts most worth updating for search, with what to change."
As an API endpoint: Yes. Save the archive read as an endpoint in Cotlet and call it every quarter from n8n, Make or a script.
Notes and social
Can an AI agent write and schedule a week of Substack Notes from my latest post?
Yes. Substack lets you schedule a Note from the three dots in the Notes composer, one at a time. With Cotlet, your agent reads your latest post, drafts the Notes and schedules each one in your signed-in Substack. Nothing is scheduled until you say yes.
Ask your agent: "Read my latest Substack post and write 7 Notes, one per day. Show me the list, then schedule them at 9:00 after I say yes."
As an API endpoint: Yes. Save the Notes scheduling as an endpoint in Cotlet and call it every Monday from n8n, Make or Zapier.
How do I connect Substack to LinkedIn, X and Facebook so every new post is shared without my doing it by hand?
Partly. Substack lets you edit the social preview of a post and connects YouTube for auto-upload, but it has no native auto-share to LinkedIn, X or Facebook. With Cotlet, your agent reads the new post and drafts the post for each network. Nothing is published until you say yes.
Ask your agent: "Read my newest Substack post and write a LinkedIn post, an X post and a Facebook post that link to it. Do not publish them."
As an API endpoint: Yes. Save the draft step as an endpoint in Cotlet and call it from n8n, Make or Zapier when a post goes live.
Stats, revenue and tax
Can AI tell me why my Substack open rate or subscriber growth dropped, using my own analytics?
Yes. Substack's own AI connection is read-only and only for Bestseller publications. With Cotlet, your agent reads the Analytics section, Sources and retention in your signed-in Substack, compares recent weeks and names what changed, such as a post type or a traffic source.
Ask your agent: "Compare my Substack open rate and new subscribers for the last 4 weeks with the 4 before and tell me what changed and which posts drove it."
As an API endpoint: Yes. Save the weekly comparison as an endpoint in Cotlet and call it every Monday from n8n, Make or Zapier.
How do I export my Substack analytics (opens, clicks, traffic sources) into Excel or Google Sheets?
Yes. Substack shows post stats and Analytics in the dashboard, with no automatic sheet sync. With Cotlet, your agent reads opens, clicks and sources per post in your signed-in Substack and adds them as rows to your Google Sheet. Nothing is added until you say yes.
Ask your agent: "Read opens, clicks and top traffic source for each Substack post from this month and add one row per post to my Google Sheet."
As an API endpoint: Yes. Save the stats read as an endpoint in Cotlet and call it every Monday from n8n, Make or Zapier to update the sheet.
How do I connect Substack to Stripe reporting or my own dashboard to see paid subscribers and churn in one place?
Partly. Substack shows paid subscribers and retention in its dashboard, and payments run through your Stripe account. With Cotlet, your agent reads both screens, signed in in the same Cloud Browser, and gives you one table of paid subscribers, cancellations and revenue. Nothing changes in either app.
Ask your agent: "Read my Substack paid subscribers and cancellations for this month and my Stripe payments, and give me one table with paid count, churn and revenue."
As an API endpoint: Yes. Save the combined read as an endpoint in Cotlet and call it monthly from n8n, Make or a script to feed your own dashboard.
How do I automate VAT and sales tax for my Substack paid subscribers in the EU and UK?
Not on its own. Substack says that from December 1, 2026 it calculates, collects and remits VAT and sales tax itself. With Cotlet, your agent reads your Payments settings and the tax notices in your Substack account and sums up what applies to you. Tax advice stays with your accountant.
Ask your agent: "Read my Substack Payments settings and tax notices and tell me in plain words what Substack handles for VAT and what I still have to do."
Backups and moving
How do I automatically back up all my Substack posts, images and subscriber list every month?
Yes. Substack has Settings, Exports for your posts and an Export button on the Subscribers page, both by hand. With Cotlet, your agent starts a new export in your signed-in Substack, downloads the file and the subscriber CSV and saves them for you.
Ask your agent: "Start a new Substack export, download the posts zip and the subscriber CSV and tell me when both files are saved."
As an API endpoint: Yes. Save the backup run as an endpoint in Cotlet and call it on the first of each month from n8n, Make or a script.
How do I move my paid subscribers from Substack to Ghost or WordPress without losing them?
Partly. Substack exports your lists and posts, and the importer sits on the new platform. Paid subscriptions live in Stripe, so the move needs Stripe and the new platform. With Cotlet, your agent exports the lists and checks what arrived. Cotlet does not move payments.
Ask your agent: "Export my Substack subscribers and posts, then check the Ghost import and list any paid subscriber that did not arrive."
How do I move my podcast between Substack and another host and keep my RSS feed and episodes?
Partly. Substack imports an existing podcast from its RSS URL, in the Podcast section of the dashboard. With Cotlet, your agent starts that import in your signed-in Substack and checks that the episodes came across. Nothing is imported until you say yes.
Ask your agent: "Import my podcast into Substack from this RSS URL and list the episodes that came across."
Readers and AI
Can ChatGPT answer questions from the content of my Substack, so readers can ask it?
Not on its own. Cotlet is not a public chat widget for your readers. For you, ChatGPT or Claude reads your published posts in your signed-in Substack and answers from them, for example to find what you wrote on a topic.
Ask your agent: "Read my published Substack posts and tell me what I have written about pricing, with the post titles and dates."
Run it yourself
A Substack API and a Substack MCP server you run on your own computer, in Python, on the session of your own Google Chrome. All 50 Substack tools we run in production at Cotlet: posts and drafts from Markdown, publishing and scheduling, Notes, comments, subscribers, stats, recommendations and direct messages.
Substack has no public API to write posts, publish Notes or manage subscribers, and no official MCP server. This repo gives you both:
MCP server for Claude Code, Claude Desktop, Cursor, Codex and any MCP client, over stdio or HTTP. Setup
REST API on
http://127.0.0.1:8787/api/v1/substack, with OpenAPI docs at/docs. SetupPython:
call("list_posts", status="draft"), plus 14 ready scripts inexamples/.
Free for your own use, your own business included (license).
Also on Odel: https://odel.app/modules/cotlet/substack and mcpbeat: https://mcpbeat.com/mcp-servers/cotlet/substack/
uv tool install substack-api-mcp # or: pip install substack-api-mcp
substack-mcp connect # reads your Substack session from Chrome
substack-mcp call list_posts
claude mcp add substack -- uvx substack-api-mcp mcpContents
Questions from Substack users
Does Substack have an API?
A narrow one. The Substack Developer API (terms updated 8 Jan 2026) returns public creator profile data after approval. It has no endpoints for posts, drafts or subscribers. With Cotlet you build your own endpoints that work in your signed-in Substack account.
Is there an official Substack MCP server for ChatGPT or Claude?
Yes, read-only. Substack's MCP server reads stats, traffic, revenue and retention, only for Bestseller publications where you are an admin. It cannot publish posts or send Notes. Cotlet works in your own Substack account on any plan and also does the writing side, after your OK.
How do I connect Substack to Zapier or Make so a website signup is added to Substack?
Substack has no Zapier or Make app. Build an add-subscriber endpoint with Cotlet and call it from Zapier, Make, n8n or your form tool. Each new email is added as a free subscriber.
How do I sync Substack subscribers to MailerLite, Kit or beehiiv without exporting a CSV every time?
Build a new-subscribers endpoint and call it from Zapier, Make or n8n on a schedule. It returns the people who joined since a date, with their free or paid plan, ready to add in your email tool.
Can Claude or ChatGPT create a draft in Substack from a Google Doc?
Yes, with Cotlet. Your AI reads the doc and saves a Substack draft with its headings and images. Nothing is published until you say so.
Can AI write and schedule Substack Notes?
Yes. It writes Notes from your post and schedules them at the times you choose, after you approve the text.
Can AI tell me why my open rate or subscriber growth dropped?
Yes. It reads your post stats, daily stats and traffic sources in your account and compares two periods in plain words.
How do I export all my Substack posts and subscribers?
Substack exports them by hand in Settings. Your AI can download the subscriber CSV and your posts for you, and a monthly backup can run from your own endpoint.
Can I connect Substack to Google Sheets?
Yes. Build a post-stats or publication-stats endpoint and call it from Google Sheets, or from a Zapier or Make step that writes the rows.
Can I move my subscribers to Ghost, beehiiv or Kit?
Your AI exports your posts and the subscriber list with each person's plan, in the files those importers take. Stripe and paid subscriptions stay in your hands.
Can I get a Substack API key? Not from Substack for your own account. With Cotlet you get your own API key that works with your Substack account, for scripts, n8n, Make, Zapier or any HTTP client. This repo needs no key: it runs on your computer, on your own Substack session.
How do I connect Substack to ChatGPT? Sign up at cotlet.dev, sign in to Substack once in your Cloud Browser there, and add Cotlet to ChatGPT, following the steps in your account. Then ask ChatGPT about your Substack like you would ask an assistant. ChatGPT needs a server on the internet, so this repo alone, running on your computer, does not connect to ChatGPT.
Can ChatGPT write and schedule my Substack posts? Yes, with Cotlet. It turns your notes or a Markdown file into a Substack draft, shows it to you and publishes or schedules it after your OK. It can post a Note about it once it is out.
Can ChatGPT read my Substack stats? Yes, with Cotlet: new and paid subscribers, cancellations, revenue, opens per post and where your readers came from, in plain words.
Can I automate Substack with Zapier, Make or n8n? Substack has no official way to write posts from Zapier, Make or n8n. With Cotlet they can create drafts, publish posts and post Notes, for example from a Google Doc or an RSS feed.
Can I use it from my phone? Yes, with Cotlet: once it is set up, the ChatGPT and Claude apps on your phone can use Substack for you.
Do I need to be technical? For Cotlet, no: you sign in to Substack and add Cotlet to ChatGPT or Claude, with step-by-step instructions in your account. This repo is for people who are fine with Python and a terminal.
Is my Substack account safe? Yes. Neither Cotlet nor this repo sees or stores your Substack password. You sign in yourself, the way you always do, and the AI works on that signed-in session. Anything that reaches other people asks for your OK first: in Cotlet by default, here through your MCP client.
Is it free? This repo is free, also in your own business. Cotlet is free for 7 days with no card, then one-time credit packs from $29, no subscription. Pricing.
I manage Substack for several accounts or clients. Does that work? Yes, with Cotlet. Each Substack login gets its own connection. Write to contact@cotlet.dev and tell us how many accounts you manage.
How it works
AI agent (MCP) / script (REST, Python) ──▶ substack-mcp on your computer ──your Substack cookies──▶ substack.com
▲
substack-mcp connect ───────┘ reads them once from your Chrome (DevTools Protocol)You sign in to Substack in your own Chrome, the way you always do.
substack-mcp connectattaches to that Chrome through the Chrome DevTools Protocol, reads the substack.com cookies and saves them to~/.config/substack-api-mcp/session.json, readable by your user only. Substack signs in by an emailed code or link, so there is no password to see or store.Every tool call is a request to Substack's own web app endpoints (
substack.com/api/v1for the reader side,yourname.substack.com/api/v1for your publication's dashboard) with those cookies, sent with curl_cffi, which copies Chrome's TLS fingerprint. No headless browser runs.
Substack's session cookie (substack.sid) lasts about three months. When Substack signs you out, the server reads the cookies from Chrome again, if Chrome is open with remote debugging on.
Requirements
Python 3.11 or newer.
Google Chrome 144 or newer, signed in to Substack. Any Chrome or Chromium works with a debugging port.
macOS, Linux or Windows.
A Substack account. Publisher tools (posts, subscribers, stats, comments) work on the first publication your account runs as admin, owner, editor or contributor. Reader tools (feed, search, Notes, messages) work on any account.
Install
From PyPI:
uv tool install substack-api-mcp # or: pipx install substack-api-mcp, or: pip install substack-api-mcp
substack-mcp --versionMCP clients can also run it with no install: uvx substack-api-mcp mcp.
From source:
git clone https://github.com/cotletdev/substack-api-mcp-server.git
cd substack-api-mcp-server
python3 -m venv .venv
. .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
substack-mcp --versionWith uv: uv venv && uv pip install -e ., then uv run substack-mcp ....
Setting it up with an AI agent (Claude Code, Codex, Cursor)? Open it in this folder and ask it to set up the repo: AGENTS.md tells it every step, and it asks you only for the steps in Chrome.
To update: uv tool upgrade substack-api-mcp (or pip install -U substack-api-mcp), from source git pull && pip install -e .. We copy every change of the hosted Substack tools into this repo.
Connect your Chrome
Option A: your everyday Chrome (recommended)
Open
chrome://inspect/#remote-debuggingin Chrome and switch remote debugging on. Chrome then accepts DevTools connections from programs on this computer, and asks you before each one.Make sure you are signed in at substack.com.
Run:
substack-mcp connectChrome asks whether to allow the connection. Click Allow.
Saved 19 Substack cookies to /Users/you/.config/substack-api-mcp/session.json
Signed in to Substack as Maya Chen (@mayachen)You can switch remote debugging off again afterwards. Leave it on if you want the server to pick up a new session by itself after Substack signs you out.
connect looks for Chrome's DevToolsActivePort file in the default profile folder. For Chrome Beta, Canary or a custom profile folder, pass --profile-dir "<folder>".
Option B: a Chrome with a debugging port
Chrome does not open a debugging port on your default profile, so start a separate one, sign in to Substack there once, and connect to it:
# macOS
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --remote-debugging-port=9222 --user-data-dir="$HOME/.chrome-substack"
# Linux
google-chrome --remote-debugging-port=9222 --user-data-dir="$HOME/.chrome-substack"
# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="%USERPROFILE%\.chrome-substack"
substack-mcp connect --cdp http://127.0.0.1:9222--cdp also takes a ws:// DevTools URL, for example of a Chrome on another machine reached over an SSH tunnel.
Option C: paste the cookie by hand
For a server with no Chrome: in Chrome open DevTools on substack.com, Application > Cookies > https://substack.com, copy the value of substack.sid, then:
substack-mcp connect --token # paste it, input is hidden
# or, without a session file:
export SUBSTACK_AUTH_TOKEN=...A pasted token is not refreshed on its own. Paste a new one when Substack signs you out.
Check the session at any time:
substack-mcp statusMCP server
The MCP server lists every tool with its input schema, a description written for agents, and hints: read tools are marked read-only, and tools that publish, message or delete are marked so your client asks before running them.
Claude Code
claude mcp add substack -- uvx substack-api-mcp mcp
# read only:
claude mcp add substack -- uvx substack-api-mcp mcp --read-onlyClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"substack": {
"command": "uvx",
"args": ["substack-api-mcp", "mcp"]
}
}
}Cursor
~/.cursor/mcp.json, the same block as Claude Desktop. A ready copy is in mcp.json.
Codex
~/.codex/config.toml:
[mcp_servers.substack]
command = "uvx"
args = ["substack-api-mcp", "mcp"]Over HTTP
substack-mcp serve also serves MCP over streamable HTTP at http://127.0.0.1:8787/mcp, for clients that take a URL:
substack-mcp serve
claude mcp add --transport http substack http://127.0.0.1:8787/mcpThen ask your agent things like:
Turn essay.md into a draft for everyone and schedule it for Tuesday 8:00 New York time. Once it is out, post a Note with a link card to it.
Find comments on my last three posts that I have not answered and draft a short reply to each.
Last week's numbers: new and paid subscribers, cancellations, revenue, and opens for each post.
Where did my readers come from in the last 30 days?
REST API (local, this repo)
substack-mcp serve # http://127.0.0.1:8787, MCP at /mcp, docs at /docsEach tool has its own route under /api/v1/substack, the same paths as the hosted API at cotlet.dev, so code written against one works with the other. Path parts and the query string are arguments, and a JSON body adds the rest.
curl 'http://127.0.0.1:8787/api/v1/substack/posts?status=scheduled'
curl 'http://127.0.0.1:8787/api/v1/substack/stats?period=30d'
curl -X POST http://127.0.0.1:8787/api/v1/substack/drafts \
-H 'Content-Type: application/json' \
-d '{"title": "Notes on pricing", "body_markdown": "## Why I raised prices\n\nThree reasons..."}'Any tool by name, body as its arguments:
curl -X POST http://127.0.0.1:8787/api/v1/substack/tools/list_comments -d '{"post_id": "148213977"}'GET /api/v1/substack/tools: every tool with its route, input schema and an example answer.GET /docs: interactive OpenAPI docs,GET /openapi.jsonthe schema, for n8n, Postman or a generated client.Answers are JSON. Lists return
next_cursor; pass it back ascursorfor the next page.
The server listens on 127.0.0.1 only. To reach it from another device of yours, set a token, and every request then needs Authorization: Bearer <token>:
SUBSTACK_MCP_TOKEN=$(openssl rand -hex 24) substack-mcp serve --host 0.0.0.0Python and the example scripts
Straight from Python, no server needed:
from substack_api_mcp import call
from substack_api_mcp.scripting import paginate, write_rows
posts = list(paginate("list_posts", {"status": "published"}, "posts"))
write_rows(posts, "posts.csv")
draft = call("create_draft", title="Notes on pricing", body_markdown="Three reasons...")
call("schedule_post", post_id=draft["post_id"], publish_at="2026-11-03T08:00:00-05:00")Or one tool from the shell: substack-mcp call get_post_stats post_id=148213977, or with a JSON object.
Ready scripts in examples/. Each prints JSON, takes --out file.csv or --out file.json where it makes sense, and --help:
Script | What it does |
A | |
Schedules a draft for a set time, or | |
A Note now or at a set time, | |
Published, draft or scheduled posts: title, audience, dates, URL. | |
One post saved as a Markdown file. | |
New and paid subscribers, cancellations, revenue, and each new post's opens and new subscribers. | |
Opens, open rate, views, likes, restacks and new subscribers for your last N posts. | |
Subscribers, paid subscribers, followers and views day by day. | |
Where your visitors came from, most views first. | |
Comments on your last N posts that you have not replied to. | |
A reply under one comment. | |
Subscribers by plan or join date, with activity rating. | |
The full list as the CSV that Export gives in the dashboard. | |
Adds emails from a text or CSV file as free subscribers, after asking you. |
python examples/draft_from_markdown.py essay.md --publish-at 2026-11-03T08:00:00-05:00
python examples/unanswered_comments.py --last 3 --out todo.csvOn a schedule, cron on your own computer works while it is on: 0 8 * * 1 cd ~/substack-api-mcp-server && .venv/bin/python examples/weekly_report.py.
All 50 tools
post_id comes from list_posts, comment_id from list_comments. substack-mcp tools prints this list, substack-mcp tools --json adds the input schemas.
Posts and drafts
Tool | Access | REST route | What it does |
| read |
| Posts of your publication, newest first, with status and audience. |
| read |
| Full post: title, subtitle, body as Markdown, audience, URL and dates. |
| write |
| New draft from Markdown. Nothing is sent until you publish or schedule it. |
| write |
| Change the title, subtitle, body or audience of a draft. |
| write |
| Copy any post into a new draft. |
| write |
| Delete a draft, scheduled or published post, with its comments. |
Publishing
Tool | Access | REST route | What it does |
| write |
| Publish a draft now. |
| write |
| Publish a draft at a set time, on the web and by email. |
| write |
| Stop a scheduled post from going out; it stays as a draft. |
| write |
| Take a published post off the web and back to drafts. |
Sections and post tags
Tool | Access | REST route | What it does |
| read |
| Sections of your publication, the separate newsletters inside it. |
| read |
| Tags your publication uses to group posts. |
| write |
| New tag for grouping your posts. |
| write |
| Add a tag to a post, or take it off. |
Comments
Tool | Access | REST route | What it does |
| read |
| Comments on a post, with author, text and whether you replied. |
| write |
| Reply as you under a comment on your post. |
| write |
| Pin a comment to the top of your post's comments, or unpin it. |
| write |
| Like or unlike a comment or a Note as you. |
| write |
| Remove someone's comment from your post as the publication's moderator. |
| write |
| Delete one of your own comments, Notes or Note replies. |
Notes
Tool | Access | REST route | What it does |
| read |
| Notes posted by you or any other Substack user, newest first, with likes and replies. |
| read |
| Replies under a Note, with author, text and likes. |
| write |
| Short post in Substack Notes, now or at a set time, optionally with a link card to one of your posts. |
| write |
| Reply as you under any Note or Note reply. |
Subscribers
Tool | Access | REST route | What it does |
| read |
| Subscribers with plan, start date and activity rating. |
| write |
| Add one email to your list as a free subscriber. |
| write |
| Remove one email from your subscriber list. |
| read |
| The full subscriber list as a CSV download link, with the row count. |
| read |
| Tags you use to group subscribers. |
| write |
| New private tag for grouping subscribers. |
| write |
| Put a tag on subscribers by email, or take it off. |
Stats
Tool | Access | REST route | What it does |
| read |
| Total and paid subscribers, new subscribers, paid cancellations and estimated revenue for a period. |
| read |
| Day by day: total and paid subscribers, followers and views. |
| read |
| Where your subscribers live, and which publications share your readers. |
| read |
| Where your publication's visitors came from in a period, most views first. |
| read |
| Recipients, opens, open rate, views, likes, restacks and subscribers gained. |
| read |
| Where a post's readers came from: sources, categories and devices. |
| read |
| Who liked and commented on a post, and the subscribers it won and lost. |
Recommendations
Tool | Access | REST route | What it does |
| read |
| Publications you recommend, or that recommend you, with the subscribers each sent. |
| write |
| Recommend another publication to your readers, or stop recommending it. |
Reader, feed and messages
Tool | Access | REST route | What it does |
| read |
| Your Substack home feed: posts and Notes, For you or Following. |
| read |
| Search all of Substack for people, posts and Notes. |
| read |
| Your Substack notifications: replies, likes, new followers, restacks, newest first. |
| read |
| How many unread direct messages, message requests and activity notifications you have. |
| read |
| Your direct-message conversations, latest first, with the last message. |
| read |
| The latest messages of one direct-message conversation, oldest first. |
| write |
| Send a direct message on Substack, in a conversation or to a person. |
| write |
| Follow or unfollow a Substack user, so their Notes reach your feed. |
| write |
| Like or unlike any Substack post as you. |
| read |
| Publications you subscribe to, with your plan and whether their emails reach you. |
Never built, on purpose: your Substack sign-in, email, profile and account settings, your publication's address or ownership, and anything that moves money (paid plans, payouts, comps). Every request passes a guard that refuses writes to those Substack paths.
Configuration
Variable | Default | What it does |
|
| Folder of |
| Substack | |
| Proxy for every request to Substack, e.g. | |
|
| |
| Bearer token required by | |
|
| Address of |
Security and your Substack account
No password anywhere. Substack signs in by an emailed code. Only cookies are read, and only those of substack.com.
The session file is yours.
session.jsonis created with mode 0600. Anyone who has it can act as you on Substack, so keep it out of git and shared folders.Local by default.
servebinds to127.0.0.1and refuses another address withoutSUBSTACK_MCP_TOKEN.substack.com only. Requests and redirects outside substack.com and its subdomains are refused.
Read-only mode.
--read-onlyorSUBSTACK_MCP_READ_ONLY=1exposes the 25 read tools only.Actions reach real people. Published and scheduled posts are emailed to your subscribers, and Notes, comments, replies and DMs go out under your name. MCP clients ask before running them; a script does not, so try it on a test publication first.
Add only people who asked.
add_subscribersends Substack's welcome email. Importing people who did not sign up breaks Substack's rules.
Errors
The REST API answers {"error": "<code>", "message": "..."}. The MCP server returns the same code and message as a tool error.
Status | Code | What to do |
401 |
| No session, Substack signed you out, or it asks you to sign in again before a sensitive action (subscriber lists). Sign out and in at substack.com in Chrome, then run |
403 |
| Your role in the publication cannot do this. |
403 |
| The server runs read-only, or the call would change your account settings. |
403 |
| Substack refused the request or showed a bot check. Open substack.com in Chrome once, then retry. |
409 |
| Substack asks for a CAPTCHA. Solve it in Chrome. |
422 |
| An argument is missing or wrong; the message names it. |
429 |
| Substack is limiting the account. Wait a few minutes. |
502 |
| Substack answered with an error, or changed its site. |
Self-hosted or hosted
This repo | ||
Tools | the same 50 | the same 50 |
Runs | on your computer, while it is on | in the cloud, 24/7 |
Substack session | your Chrome, cookies in a local file | your own Cloud Browser in the EU, profile encrypted with AES-256-GCM |
When Substack changes its site |
| fixed for you, every tool tested daily |
Approvals | your MCP client asks per call | posts, Notes, replies and DMs wait for your OK, switchable per tool |
Works with | MCP clients on your machine, local scripts | Claude.ai and ChatGPT connectors, n8n, Make, Zapier, any HTTP client through your own endpoints (Custom API) |
Who may use it | you and your own business | you, teams, businesses, agencies |
Price | free | free 7-day trial, no card; then one-time packs from $29 for 5,000 credits |
On the hosted version a successful call uses 10 credits for most tools, failed calls are free, and the Cloud Browser uses 50 credits a day while it has an app enabled for agents. Full pricing.
FAQ
Is there a Substack MCP server for Claude, ChatGPT or Cursor?
Yes, this one runs on your machine: substack-mcp mcp for Claude Code, Claude Desktop, Cursor and Codex. ChatGPT and Claude.ai connectors need a public HTTPS URL, which the hosted Substack MCP server gives you.
Can I schedule Substack posts from Markdown?
Yes: python examples/draft_from_markdown.py essay.md --publish-at 2026-11-03T08:00:00-05:00. The Substack editor does not import Markdown. The script sends the file as a draft with its headings, bold text, links, lists and code blocks, then schedules it. Images have to be public URLs.
Can it schedule Notes as well as posts?
Yes. publish_note takes a publish_at time and the Note waits in your scheduled Notes until then. A link card needs a published post.
Can I export my Substack subscribers to CSV?
Yes: python examples/export_subscribers.py --out subscribers.csv gives the same CSV as Export in the subscriber dashboard. list_subscribers.py --plan paid or --since 2026-10-01 gives a filtered list with plan, join date and activity rating.
Can I export my posts as Markdown?
Yes, one at a time with examples/get_post.py --post-id <id> --out post.md, including the paywalled part and drafts of your own publication. list_posts.py gives the IDs.
Is this a Substack scraper? It does what people want a scraper for (export posts, subscribers and stats) but does not parse HTML in a headless browser. It calls the same JSON endpoints the Substack web app calls, in your own account and publication.
Why does it need my Chrome? To read your Substack session. Substack signs in by an emailed code, so there is no password to give it anyway. Chrome is used once per sign-in, not for each call.
What happens when Substack signs me out?
Calls fail with auth_expired. With Chrome remote debugging on, the server reads the new cookies on the next call (click Allow when Chrome asks); otherwise run substack-mcp connect again. Subscriber lists sometimes ask for a fresh sign-in even with a valid session: sign out and in again at substack.com, then connect.
Does it need a paid Substack plan? No. Revenue, paid subscribers and cancellations exist only for publications with paid subscriptions.
Can it email all my subscribers? Only by publishing or scheduling a post, the way the editor sends it. Substack emails a post once; edits after the send show on the web and in the app.
Can it run on a VPS or in Docker?
Technically yes, with SUBSTACK_AUTH_TOKEN. Substack then sees your session from a datacenter IP, which looks less like you. For an always-on setup the hosted version keeps your session in your own Cloud Browser on a fixed IP.
Will my Substack account get banned? Requests carry Chrome's fingerprint and go out one at a time, as you would click. Nobody can promise a platform never acts. Keep to your normal use and do not add or message people in bulk.
Can I use it at work or for my clients? At work and in your own business, yes, free. You may not offer it to others as a hosted or managed service. For client work, use Cotlet or write to contact@cotlet.dev.
Is it open source? The source is public under the Elastic License 2.0: free to use and change, also in your own business, but not to resell as a hosted service.
A tool broke or I need another one. Open an issue with the tool name and the error message.
License
Elastic License 2.0. In short:
Allowed: using it for yourself and in your own business, free. Changing the code and sharing it under the same license.
Not allowed: offering it to others as a hosted or managed service, removing the license notices, getting around its limits.
Earlier versions of this repo (the scripts for the hosted API, up to commit 4399e88) stay MIT.
Maintained by Cotlet (@cotletdev). Substack is a trademark of its owner. This project is unofficial and not affiliated with, endorsed or sponsored by Substack.
Available Tools
50 toolsadd_subscriberAdd subscriberADestructiveInspect
Add one email to your list as a free subscriber.
Adds one email as a free subscriber, the same as Add subscribers in the dashboard, and Substack sends its usual welcome email. Substack adds the email in the background, so list_subscribers may show it a minute later. Add only people who agreed to hear from you.
Inputs: email (required).
cancel_scheduled_postCancel scheduled postADestructiveInspect
Stop a scheduled post from going out; it stays as a draft.
Removes the scheduled time from a post, so nothing is published or emailed then; the post stays a draft with its content. Schedule it again with schedule_post. A post with no schedule returns an error.
Inputs: post_id (required).
create_draftCreate draftAInspect
New draft from Markdown. Nothing is sent until you publish or schedule it.
Creates a draft in your publication and returns its post_id and editor link. Markdown covers headings, paragraphs, bullet and numbered lists, quotes, code blocks, rules, images by public URL, bold, italic, strikethrough, inline code and links; local image files cannot be used. Sending is a separate step: schedule_post or publish_post. A draft reaches no one, so it runs without asking.
Inputs: title (required), body_markdown (required), audience, subtitle.
create_post_tagCreate post tagAInspect
New tag for grouping your posts.
Creates a post tag on your publication; Substack makes the slug from the name. A tag with no posts shows nowhere. Put posts under it with tag_post.
Inputs: name (required).
create_subscriber_tagCreate subscriber tagAInspect
New private tag for grouping subscribers.
Creates a subscriber tag on your publication. Tags are private: subscribers never see them. Put subscribers under it with tag_subscribers.
Inputs: name (required).
delete_commentDelete comment or NoteADestructiveInspect
Delete one of your own comments, Notes or Note replies.
Deletes something you wrote: a comment under a post, a Note or a reply to a Note. Replies other people wrote under it stay, under a deleted placeholder. Someone else's comment returns an error; on your own posts remove it with remove_comment.
Inputs: comment_id (required).
delete_postDelete postADestructiveInspect
Delete a draft, scheduled or published post, with its comments.
Deletes one post of your publication for good: a draft, a scheduled post (its send is cancelled) or a published post, which leaves the web, the archive and the app with its comments and stats. Emails already sent stay in inboxes. Substack has no undo; unpublish_post keeps the post as a draft instead.
Inputs: post_id (required).
duplicate_postDuplicate postAInspect
Copy any post into a new draft.
Makes a new draft with the title, subtitle, body and settings of a draft or published post, as Duplicate in the post list does. Substack puts [COPY] in front of the title; change it with update_draft. Nothing is published or sent.
Inputs: post_id (required).
export_subscribersExport subscribersARead-onlyIdempotentInspect
The full subscriber list as a CSV download link, with the row count.
Builds the same CSV as Export in the subscriber dashboard: email, name, subscription type, activity rating and start date. Substack builds the file in the background; the call waits up to about a minute and otherwise asks you to try again later. The link needs no sign-in and works until expires_at, 24 hours when we recorded it. For filtered pages use list_subscribers.
Inputs: no named parameters.
follow_userFollow userAIdempotentInspect
Follow or unfollow a Substack user, so their Notes reach your feed.
Follows a person on Substack, as Follow on their profile does, or unfollows them. Following is not subscribing: you get their Notes and activity in the app, not their newsletter by email. They see the follow.
Inputs: user (required), unfollow.
get_audience_insightsGet audience insightsARead-onlyIdempotentInspect
Where your subscribers live, and which publications share your readers.
Returns Analytics > Statistics > Audience: subscriber counts per country (region world, ISO codes such as us, gb) or per US state (region usa, codes such as ny, ca), all subscribers or paid only, the number of countries and states with any subscriber, and the publications whose readers overlap most with yours. Substack computes these in the background; a new publication has empty lists for a while.
Inputs: region, paid_only.
get_conversationGet conversationARead-onlyIdempotentInspect
The latest messages of one direct-message conversation, oldest first.
Returns who is in the conversation and its latest messages as the chat window first shows them, oldest first, with sender, text and time. Opening a conversation this way marks nothing read.
Inputs: conversation_id (required).
get_daily_statsGet daily statsARead-onlyIdempotentInspect
Day by day: total and paid subscribers, followers and views.
Returns one row per day of the period, as the charts on the dashboard home and in Audience: total subscribers, paid subscribers and followers at the end of the day, and the day's views across your site and the app. Days Substack has no number for are null; a young publication starts on the day it was made.
Inputs: period.
get_feedGet feedARead-onlyIdempotentInspect
Your Substack home feed: posts and Notes, For you or Following.
Returns one page of the home feed of the Substack app, split into posts and Notes in feed order. for_you is Substack's own mix; following holds only people and publications you follow or subscribe to. Suggestions of people to follow are left out. Reading marks nothing seen. Page with next_cursor; the feed is personal and changes between calls.
Inputs: tab, cursor.
get_postGet postARead-onlyIdempotentInspect
Full post: title, subtitle, body as Markdown, audience, URL and dates.
Returns one post of your publication, draft, scheduled or published, with its full body as Markdown, including the paywalled part. Images come back as URLs. Buttons, embeds and footnotes come back as plain text, so writing the body back with update_draft drops them. A scheduled post also has publish_at.
Inputs: post_id (required).
get_post_engagementGet post engagementARead-onlyIdempotentInspect
Who liked and commented on a post, and the subscribers it won and lost.
Returns the Engagement and Growth parts of a post's stats: like and comment counts with the people behind them (name and handle, never email), and the free signups, paid subscriptions and unsubscribes Substack credits to the post. Counts keep changing for days after a send.
Inputs: post_id (required).
get_post_statsGet post statsARead-onlyIdempotentInspect
Recipients, opens, open rate, views, likes, restacks and subscribers gained.
Returns the engagement numbers of one published post, as on its stats page in the dashboard. Email numbers cover the send; views include the web; likes are reactions. A draft or scheduled post returns an error. Numbers keep growing for days after a send, so check again later.
Inputs: post_id (required).
get_post_trafficGet post trafficARead-onlyIdempotentInspect
Where a post's readers came from: sources, categories and devices.
Returns the Traffic part of a post's stats: each source (app, email, a website, search) with its views, share of all views and the free and paid subscribers it brought, the share per source category and per device. A post nobody has read yet returns empty lists.
Inputs: post_id (required).
get_publication_statsGet publication statsARead-onlyIdempotentInspect
Total and paid subscribers, new subscribers, paid cancellations and estimated revenue for a period.
Totals are from the publisher dashboard at the end of the period (7, 30 or 90 days). subscribers_churned counts paid cancellations only; Substack keeps no count of free unsubscribes. subscribers_new is the growth in total subscribers plus those cancellations. revenue_usd is not money received: it is the dashboard's annualized revenue at the end of the period, times the period's share of a year.
Inputs: period.
get_unread_countsGet unread countsARead-onlyIdempotentInspect
How many unread direct messages, message requests and activity notifications you have.
Returns the badges of the Substack app: unread direct messages, pending message requests and unread activity (likes, replies, new followers, restacks). Reading them marks nothing read.
Inputs: no named parameters.
like_commentLike comment or NoteAIdempotentInspect
Like or unlike a comment or a Note as you.
Adds your heart to any Note or Note reply, or to a comment under a post of your publication, or removes it with unlike. Comments and Notes share one ID space, so a Note ID from list_notes or search_substack works too. The author sees your like in their activity.
Inputs: comment_id (required), unlike.
like_postLike postAIdempotentInspect
Like or unlike any Substack post as you.
Adds your heart to a post on any publication, as the heart under a post does, or removes it with unlike. The author sees your like in their activity. Liking twice keeps one like.
Inputs: post_id (required), unlike.
list_activityList activityARead-onlyIdempotentInspect
Your Substack notifications: replies, likes, new followers, restacks, newest first.
Returns the Activity tab of the Substack app, newest first. type is Substack's own name, e.g. note_reply, note_like, comment_reply, comment_like, post_like, follow, restack or mention. from lists the latest people behind a grouped item and people counts all of them. A reply or mention carries its comment_id and text; on_comment_id and on_post_id point at what it was about. Reading the list marks nothing read. Page with next_cursor.
Inputs: cursor, filter.
list_commentsList commentsARead-onlyIdempotentInspect
Comments on a post, with author, text and whether you replied.
Returns all comments of one post at once, oldest first, with replies nested under their parent. Deleted comments are left out. replied is true when you answered anywhere in the thread under the comment; unanswered_only keeps only top-level comments where you did not. Pass comment_id to reply_to_comment.
Inputs: post_id (required), unanswered_only.
list_conversationsList conversationsARead-onlyIdempotentInspect
Your direct-message conversations, latest first, with the last message.
Returns your Substack chat inbox: one-to-one and group direct messages with who they are with, the last message, its time, your unread count and whether it is a message request from someone you do not follow. Publication chats are left out. Reading the list does not mark anything read. Pass conversation_id to get_conversation or send_message.
Inputs: cursor, unread_only.
list_note_repliesList Note repliesARead-onlyIdempotentInspect
Replies under a Note, with author, text and likes.
Returns the direct replies under one Note (yours or anyone's), in Substack's order. replies is the count under each reply; list those by passing its note_id. Substack sends no handle with replies, so author.handle is empty and url is null. Page with next_cursor.
Inputs: note_id (required), cursor.
list_notesList NotesARead-onlyIdempotentInspect
Notes posted by you or any other Substack user, newest first, with likes and replies.
Returns the Notes on a profile's Notes tab, newest first: text, time, likes, restacks, reply count and link. Without user it lists yours. Posts and restacks of posts on the profile are left out. Page with next_cursor. Pass note_id to list_note_replies, like_comment or reply_to_note.
Inputs: user, cursor.
list_postsList postsARead-onlyIdempotentInspect
Posts of your publication, newest first, with status and audience.
Lists posts of your publication, newest first. Filter by status to see drafts or scheduled posts. Scheduled posts include their publish time. Pages hold up to 50 posts; pass next_cursor back as cursor for the next page.
Inputs: limit, cursor, status.
list_post_tagsList post tagsARead-onlyIdempotentInspect
Tags your publication uses to group posts.
Returns every post tag of your publication with its ID, name and slug; readers see tagged posts on /t/{slug}. hidden tags group posts without a public page. Pass tag_id to tag_post.
Inputs: no named parameters.
list_recommendationsList recommendationsARead-onlyIdempotentInspect
Publications you recommend, or that recommend you, with the subscribers each sent.
Returns Audience > Recommendations: with direction given, the publications you recommend; with received, the ones recommending you, and whether you recommend them back (mutual). subscribers_sent counts subscribers the recommendation brought. The table is rebuilt by Substack in the background, so a recommendation made minutes ago may be missing while counts already include it; publication_id checks one recommendation of yours directly.
Inputs: direction, publication_id.
list_sectionsList sectionsARead-onlyIdempotentInspect
Sections of your publication, the separate newsletters inside it.
Returns each section with its ID, name, description and slug. live is false while Substack still sets a new section up. subscribed_by_default tells whether new subscribers get its emails. A publication without sections returns an empty list.
Inputs: no named parameters.
list_subscribersList subscribersARead-onlyIdempotentInspect
Subscribers with plan, start date and activity rating.
Lists subscribers, newest first, from the subscriber dashboard. Activity rating is the 0 to 5 score Substack shows there. Pages hold up to 500 rows; pass next_cursor back as cursor. The plan and since filters apply inside each page, so a filtered page can be short or empty while next_cursor still points further. Someone added a minute ago may not show yet: Substack fills the table in the background. paid includes founding members.
Inputs: plan, limit, since, cursor.
list_subscriber_tagsList subscriber tagsARead-onlyIdempotentInspect
Tags you use to group subscribers.
Returns the subscriber tags of your publication with their IDs, as Audience > Subscribers > Tags shows them. Subscribers never see tags. Pass tag_id to tag_subscribers.
Inputs: no named parameters.
list_subscriptionsList subscriptionsARead-onlyIdempotentInspect
Publications you subscribe to, with your plan and whether their emails reach you.
Returns every publication your account subscribes to, as Settings > Subscriptions lists them: name, link, plan (free, paid, comp, founding or gift, as Substack names the membership) and whether you get its emails. Your own publications are left out.
Inputs: no named parameters.
list_traffic_sourcesList traffic sourcesARead-onlyIdempotentInspect
Where your publication's visitors came from in a period, most views first.
Returns Analytics > Traffic > Traffic sources: each source (the app, email, a website, search, social) with its category, views, unique visitors and the free and paid subscribers it brought. Sorted by views; page with next_cursor.
Inputs: limit, cursor, period.
pin_commentPin commentAIdempotentInspect
Pin a comment to the top of your post's comments, or unpin it.
Pins one comment on a post of your publication above all others, as Pin in the comment menu does, or unpins it. A comment on someone else's post returns an error.
Inputs: comment_id (required), unpin.
publish_notePublish NoteADestructiveInspect
Short post in Substack Notes, now or at a set time, optionally with a link card to one of your posts.
Posts a Note under your name. Without publish_at it goes out now; with it, the Note waits in your scheduled Notes, status is scheduled and published_at is that time. Text is 1 to 1,000 characters. link_post_id must be a published post.
Inputs: body (required), publish_at, link_post_id.
publish_postPublish postADestructiveInspect
Publish a draft now.
Publishes a draft immediately, on the web and, unless send_email is false, by email, to the audience set on the draft. Substack's own pre-publish check runs first; a missing title or an empty body stops the call. A sent email cannot be recalled. On a publication with sections the post goes to section_id, else to the section already set on the draft, else to the main publication.
Inputs: post_id (required), section_id, send_email.
recommend_publicationRecommend publicationADestructiveIdempotentInspect
Recommend another publication to your readers, or stop recommending it.
Adds a publication to your Recommendations, as Growth > Recommendations does: Substack suggests it to people who subscribe to you and notifies its author. blurb is the short reason readers see. With remove it takes the recommendation back.
Inputs: publication_id (required), blurb, remove.
remove_commentRemove commentADestructiveInspect
Remove someone's comment from your post as the publication's moderator.
Hides a comment on a post of your publication, as Remove in the comment menu does: readers see that a moderator removed it, the text is gone, replies under it stay. Use delete_comment for your own comments. A comment on someone else's post returns an error.
Inputs: comment_id (required).
remove_subscriberRemove subscriberADestructiveInspect
Remove one email from your subscriber list.
Removes a subscriber from your list, as Remove in the subscriber's menu does: they get no more emails from you and no notice. A paid subscription is cancelled and Substack refunds the unused part. An email not on your list returns an error; add_subscriber takes about a minute before the address is listed.
Inputs: email (required).
reply_to_commentReply to commentADestructiveInspect
Reply as you under a comment on your post.
Posts a reply under one comment on a post of your publication, under your name, visible to everyone who can read the post. A comment elsewhere on Substack returns an error. The author gets Substack's usual reply notification.
Inputs: body (required), comment_id (required).
reply_to_noteReply to NoteADestructiveInspect
Reply as you under any Note or Note reply.
Posts a reply under a Note (yours or anyone's) or under a reply to one, visible to everyone who sees the Note. Text is 1 to 1,000 characters; Markdown bold, italics and links work. The author gets Substack's usual notification.
Inputs: body (required), note_id (required).
schedule_postSchedule postADestructiveIdempotentInspect
Publish a draft at a set time, on the web and by email.
Schedules a draft to go live at the time you set, on the web and, unless send_email is false, by email, to the audience set on the draft. The time needs a time zone and must be in the future. Substack's own pre-publish check runs first; a missing title or an empty body stops the call. A scheduled post stays editable until it goes out. On a publication with sections the post goes to section_id, else to the section already set on the draft, else to the main publication.
Inputs: post_id (required), publish_at (required), section_id, send_email.
search_substackSearch SubstackARead-onlyIdempotentInspect
Search all of Substack for people, posts and Notes.
Runs Substack's search as the search box does and splits the results into people, posts and Notes. Use the IDs with follow_user, like_post, like_comment, reply_to_note, send_message or recommend_publication. Page with next_cursor; later pages may hold only posts and Notes.
Inputs: query (required), cursor.
send_messageSend messageADestructiveInspect
Send a direct message on Substack, in a conversation or to a person.
Sends a private chat message under your name. With conversation_id it replies there; with user it writes to that person, in your existing conversation with them or a new one. Someone who does not follow you gets it as a message request. Give one of conversation_id or user. A sent message cannot be recalled.
Inputs: body (required), user, conversation_id.
tag_postTag postAIdempotentInspect
Add a tag to a post, or take it off.
Puts one of your post tags on a draft or published post, or removes it with remove. A post can have several tags. Tagging twice keeps one tag.
Inputs: tag_id (required), post_id (required), remove.
tag_subscribersTag subscribersAInspect
Put a tag on subscribers by email, or take it off.
Adds one of your subscriber tags to up to 50 subscribers, or removes it with remove. Emails not on your list come back in not_found and nothing else fails. A subscriber added a minute ago may not be findable yet; try again shortly.
Inputs: emails (required), tag_id (required), remove.
unpublish_postUnpublish postADestructiveInspect
Take a published post off the web and back to drafts.
Turns a published post back into a draft, as Unpublish in the editor does: it leaves your site, archive and the Substack app, and its link stops working. Comments and stats stay with the draft. Emails already sent stay in inboxes. Publish it again with publish_post. A post that is not published returns an error.
Inputs: post_id (required).
update_draftUpdate draftAInspect
Change the title, subtitle, body or audience of a draft.
Changes the fields you pass and leaves the others as they are. body_markdown replaces the whole body. Drafts and scheduled posts only: a published post returns an error. Nothing reaches your subscribers, so it runs without asking.
Inputs: fields (required), post_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 50 tools
Despite the large surface, most tools target distinct resources and actions, and the descriptions clearly separate tricky pairs such as delete_comment vs remove_comment and post vs publication analytics. A few analytics/listing/export tools could still be confused at a glance, so it is not perfect.
Tool names consistently use snake_case verb_noun patterns such as list_posts, create_draft, publish_post, and tag_subscribers. Compound names like get_post_engagement and list_traffic_sources remain predictable and readable.
Fifty tools is excessive for an MCP surface, even for a broad platform like Substack. Many analytics, subscriber, tag, and comment variants are individually justified but collectively impose a high selection cost.
The surface covers the core lifecycle for posts, drafts, scheduling, publishing, subscribers, tags, comments, Notes, DMs, recommendations, search, and analytics. The main gap is that published posts cannot be edited directly without unpublishing first, and sections are list-only rather than fully managed.
Maintenance
Related MCP Connectors
Draft & schedule Substack Notes, manage articles, and read stats via WriteStack.
Extract Substack archives, clean LLM Markdown posts, and global search results via REST & MCP.
Ghost MCP server for ChatGPT, Claude and any AI agent: list posts, create draft post, schedule post, send newsletter, list members and label members in your own Ghost account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Ghost yourself; Cotlet does not store your password and you need no Ghost API key. About the official Ghost API: Ghost has a full REST Admin API, but no official MCP server (checked 17 Oct 2026). The Admin API covers posts, pages, members, labels, newsletters, tiers and offers, and Ghost says everything Ghost Admin can do is also possible with the API. Setup and FAQ: https://cotlet.dev/integrations/ghost-api-mcp-server
Medium MCP server for ChatGPT, Claude and any AI agent: create post, edit post, cross-post article and get post stats in your own Medium account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Medium yourself; Cotlet does not store your password and you need no Medium API key. About the official Medium API: Medium has an old REST API, but it is no longer supported and Medium does not allow new integrations (checked 11 Oct 2026). Accounts that still hold a token can only create posts, list publications and upload images, with no editing, stats or responses. Setup and FAQ: https://cotlet.dev/integrations/medium-api-mcp-server
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to control your existing Chrome browser via MCP, using your logged-in sessions for automation on authenticated sites. Provides high-level browser tools plus raw CDP and Chrome API access.MIT
- AlicenseBqualityDmaintenanceEnables AI to control your existing logged-in Chrome session via MCP, supporting social media drafting and explicit user-confirmed publishing.8MIT

@inssist/mcpofficial
AlicenseAqualityBmaintenanceEnables AI agents to manage a personal Instagram account through a logged-in browser session, supporting actions like reading profiles and DMs, publishing posts, reels, and stories, scheduling content, and accessing insights and audience reports.62234 npm13MIT- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to publish social posts and Reddit comments to connected platforms by executing jobs in the user's own logged-in desktop Chrome session, with OAuth and without platform API keys.MIT