Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

Substack MCP Server

by marcomoauroversion 1.3.2i★ 92iRuns on your computer
Registry nameio.github.marcomoauro/substack-mcp

How to install

Overview

Description from the maker (original English)

Manage Substack publishing, subscribers, analytics, reader feeds, comments, and images through MCP.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Marketing & social media
  • You need to fill in: SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_ID

Install

Pick the AI app you use, then copy the settings.

Passed 2/2 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Substack MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    Open the Substack MCP Server site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "substack": {
          "command": "npx",
          "args": [
            "-y",
            "substack-mcp"
          ],
          "env": {
            "SUBSTACK_PUBLICATION_URL": "your-value",
            "SUBSTACK_SESSION_TOKEN": "your-value",
            "SUBSTACK_USER_ID": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Substack MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Substack MCP Server or shows a Substack MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Substack MCP Server yet

Substack MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Substack MCP Server

  • You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)
  • You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)
  • You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

B · Others in Marketing & social media that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Substack MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    Open the Substack MCP Server site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add substack --env SUBSTACK_PUBLICATION_URL=your-value --env SUBSTACK_SESSION_TOKEN=your-value --env SUBSTACK_USER_ID=your-value -- npx -y substack-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Substack MCP Server listed as connected

  6. Try it

    Use Substack MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Substack MCP Server or shows a Substack MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Substack MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    Open the Substack MCP Server site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Substack MCP Server settings, SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Substack MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Substack MCP Server or shows a Substack MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Substack MCP Server key (sign up on the maker’s site, may cost money) · Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Sign up and create a Substack MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. It may cost money.

    Open the Substack MCP Server site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Substack MCP Server settings, SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Substack MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Substack MCP Server or shows a Substack MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Substack MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add substack --env SUBSTACK_PUBLICATION_URL=your-value --env SUBSTACK_SESSION_TOKEN=your-value --env SUBSTACK_USER_ID=your-value -- npx -y substack-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "substack": {
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "your-value",
        "SUBSTACK_SESSION_TOKEN": "your-value",
        "SUBSTACK_USER_ID": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "substack": {
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "your-value",
        "SUBSTACK_SESSION_TOKEN": "your-value",
        "SUBSTACK_USER_ID": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "substack": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp"
      ],
      "env": {
        "SUBSTACK_PUBLICATION_URL": "your-value",
        "SUBSTACK_SESSION_TOKEN": "your-value",
        "SUBSTACK_USER_ID": "your-value"
      }
    }
  }
}

Values you fill in

  • SUBSTACK_PUBLICATION_URL required env
    Full URL of your Substack publication, including https://
  • SUBSTACK_SESSION_TOKEN secret required env
    Value of the substack.sid or connect.sid cookie from your authenticated Substack session
  • SUBSTACK_USER_ID required env
    Numeric user ID returned by Substack's publication_user request

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
214/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
1.3.2
Published to registryi
Sep 3, 2026
Code last changedi
Sep 3, 2026
Maker
marcomoauro
Packages
npm: substack-mcp
oci: docker.io/marcomoauro/substack-mcp:v1.3.2
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 12, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account marcomoauro, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 months ago

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Marketing & social mediai

  • More stars than 99% of the other 3798 servers in this category
  • Published to the registry more recently than 28% of the other 3798 servers in this category
  • Basic checks equal to or better than 100% of the other 3798 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Substack MCP Server safe?

It passed 2 of 2 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: SUBSTACK_PUBLICATION_URL, SUBSTACK_SESSION_TOKEN, SUBSTACK_USER_ID

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 months ago, and the latest version (1.3.2) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Docker on your computer.

What can I use instead?

In the same category: PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

PostHog MCP Server

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

by PostHogWidely used★ 40.7KUpdated 10 months ago

Runs in the cloud

Openshorts

Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.

by mutonbyWidely used★ 7.7KUpdated 3 months ago

Runs in the cloud

Google Ads + Meta Ads + SEO/GEO MCP

Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI

by irinabuht12-ossWidely used★ 7.3KUpdated 31 days ago

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Substack MCP Server

A Model Context Protocol (MCP) Server for Substack enabling LLM clients to interact with Substack's API for automations like creating posts, managing drafts, and more.

Create and publish posts, work with subscribers and analytics, browse your reader feeds, manage tags and comments, and upload images — 27 tools exposed through one MCP server.

[!IMPORTANT]

Substack does not provide a public API for these operations. This server uses your authenticated

web session. Treat the session token exactly like a password: keep it local, never commit it, and

never include it or a complete Cookie header in a bug report.

Quick start

The fastest installation uses Node.js 22 or newer and npx.

1. Collect your Substack credentials

Sign in to Substack in your browser and open your publication dashboard. You need three values:

  • Publication URL — the full base URL of your publication, for example https://your-publication.substack.com.
  • Session token — open your browser's developer tools, select Network, filter to Fetch/XHR, and reload the dashboard. Open a successful authenticated request to your publication. Under Request Headers, find the Cookie header and locate a session cookie named substack.sid or connect.sid. Copy its value without the cookie name or the rest of the header. If both names appear with different values, test them separately and locally with the read-only verification in step 3; never paste either value into an issue.
  • User ID — in the same Network panel, search for a successful publication_user request. In its JSON response, copy the numeric id inside the user object.

If the browser UI differs, the illustrated credential guide shows the same requests. If authentication later stops working, sign in again and repeat these steps to obtain the current token.

2. Add the server to your MCP client

For clients that accept MCP JSON configuration, add:

{

"mcpServers": { "substack": { "command": "npx", "args": ["-y", "substack-mcp@latest"], "env": { "SUBSTACK_PUBLICATION_URL": "https://your-publication.substack.com", "SUBSTACK_SESSION_TOKEN": "your-session-token", "SUBSTACK_USER_ID": "your-user-id" } } } }

Replace the three example values, save the configuration, and restart your MCP client. Consult your client's documentation if it uses a different configuration format.

3. Verify the connection

Ask your client:

List my five most recent Substack drafts.

The client should call list_posts with status: "drafts". If it fails, check the client's MCP logs and the logging section below before opening an issue.

Docker quick start

To use the published Docker image instead of Node.js, add this server configuration:

{

"mcpServers": { "substack": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SUBSTACK_PUBLICATION_URL", "-e", "SUBSTACK_SESSION_TOKEN", "-e", "SUBSTACK_USER_ID", "marcomoauro/substack-mcp:latest" ], "env": { "SUBSTACK_PUBLICATION_URL": "https://your-publication.substack.com", "SUBSTACK_SESSION_TOKEN": "your-session-token", "SUBSTACK_USER_ID": "your-user-id" } } } }

🛠 Available Tools

create_draft_post - Create a draft post

Inputs:

  • title (string): Title of the post
  • subtitle (string): Subtitle of the post
  • body (string): Body of the post. Plain text becomes one paragraph per line — Markdown is not interpreted, so ## Heading arrives literally. A JSON string of a Substack document also works and is validated against the same schema set_post_body publishes, so an unrecognised node name is an error rather than a silently mangled post.

Returns: {draft_id, is_published}. Pass draft_id to get_draft to read the draft back.

For anything structured — headings, lists, links, code, images, a paywall — use set_post_body after creating the draft: the schema is published there, so the calling model can read the node vocabulary rather than guess at it.

list_subscribers - List and filter your subscribers

Exposes the same filtering the Subscribers dashboard offers: 48 columns, 18 operators, free-text search, sorting and pagination.

Inputs:

  • filters (array, optional): conditions combined with AND, each {column, operator, value}
  • search (string, optional): free text matched against subscriber name and email
  • sort_by (string, optional): any filterable column
  • sort_direction (asc | desc, optional): defaults to desc
  • limit (number, optional): 1–100, defaults to 25
  • offset (number, optional): for paging

Which operators a column accepts depends on its type:

TypeOperators
Intis is_not gt gte lt lte
Stringis is_not is_any_of contains starts_with ends_with includes_none
DateTimeis_on is_after is_on_or_after is_before is_on_or_before
Array (tag_ids, emails_enabled)includes_any includes_all includes_none
subscription_type, group_membershipis is_not is_any_of

The columns cover subscriber identity (name, email, country, state, group membership), subscription (type, start/expiry/cancel dates, revenue, Stripe plan, attribution), email engagement (opens and unique opens over 7d/30d/6mo, links clicked, sections) and site engagement (post views, unique posts seen, comments, shares, days active, activity rating). The full list with types reaches the client in the tool's JSON Schema, so a model does not have to guess names.

Returns: {count, returned, limit, offset, subscribers}. count is the total matching the filters regardless of limit, so a call with limit: 1 is a cheap way to size a segment.

Note: engagement columns can be *filtered* on here but are not part of the records this tool

returns — Substack takes the fields it returns from the publication's saved Display settings and

ignores a per-request column list. Use `export_subscribers` to read their values.

There is no OR and no nesting: anything needing OR has to be issued as separate calls.

export_subscribers - Export subscribers with every column value

The way to actually *read* the engagement metrics list_subscribers can only filter on: email opens over 7d/30d/6mo, unique emails seen, post views, unique posts seen, comments, shares, links clicked, days active and activity rating.

Inputs:

  • filters (array, optional): the same conditions as list_subscribers, combined with AND
  • search (string, optional): free text matched against subscriber name and email
  • columns (array, optional): which columns to include, defaulting to all of them
  • max_wait_seconds (number, optional): 1–600, defaulting to 120

Returns: {count, columns, missing_columns, unmapped_columns, export_id, subscribers}, where each subscriber is keyed by column name.

Substack generates the file asynchronously, so the tool creates a subscriber set, requests the export, polls until it is ready and downloads it. A small export lands in a few seconds. If the wait budget runs out the tool says so and names the export_id rather than blocking.

Two caveats, both verified against the live API:

- tag_ids and group_membership cannot be exported. Substack drops them silently rather

than failing, so they are reported in missing_columns — asking for all 48 columns returns 46.

- Values arrive display-formatted, not raw: revenue is "€50.00" here and the number 50

through list_subscribers. Dates are ISO strings.

There is no paging: an export covers the whole matching set.

list_posts - List drafts, published or scheduled posts

Inputs:

  • status (drafts | published | scheduled): which list to read
  • search (string, optional): free text matched against title and content
  • limit (number, optional): 1–100, defaults to 25
  • offset (number, optional): for paging
  • sort_direction (asc | desc, optional): drafts and published posts are newest-first, scheduled posts soonest-first

Returns: {status, total, returned, limit, offset, posts}, each post summarised — use get_draft for the full content of an unpublished one.

get_draft - Read one draft in full

Inputs:

  • draft_id (number): the id returned by list_posts or create_draft_post

Returns: the draft as Substack stores it, body and audience/email settings included.

set_post_body - Replace a draft's body with a structured document

The only way to write structured content: headings, lists, links, code blocks, quotes, images, buttons and a paywall. create_draft_post takes plain text; this takes the document Substack actually stores, and its schema is published in tools/list so the calling model can read the node vocabulary instead of guessing.

Inputs:

  • draft_id (number): the id returned by list_posts or create_draft_post
  • body (object): a Substack ProseMirror document — {type: 'doc', content: [...]}

Fifteen node types are accepted: paragraph, heading, bullet_list, ordered_list, list_item, blockquote, highlighted_code_block, code_block, horizontal_rule, captionedImage, button, paywall, youtube2, plus digestPostEmbed, substack_mentions and directMessage passed through unchanged so a document read with get_draft can be written back. Marks: strong, em, code, strikethrough, link.

Returns: {draft_id, nodes}, where nodes counts what was stored by type — so a caller that asked for a paywall can confirm there is one. Validation cannot report a node that was never sent.

Three things worth knowing:

  • An image must already be hosted by Substack. image2.src pointing at an external URL is stored but does not render. Use upload_image to re-host one and get a src that works.
  • A document may contain at most one `paywall`. Substack accepts two and renders both, leaving it undefined which one cuts the post, so this tool refuses the second.
  • `ordered_list` numbers from `attrs.order`, not `attrs.start`. A list given only start renders from 1 with no error.

upload_image - Host an image on Substack, from a URL or a local file

Substack's editor uploads images as base64 data URIs to POST /api/v1/image, which answers with a Substack-hosted URL. image2.src in set_post_body and cover_image in update_draft only render such a URL, so this tool is the bridge. Substack itself only re-fetches URLs already in its own storage, so the image is encoded here rather than being handed off.

Inputs — exactly one of url or path:

  • url (string): the http(s) URL of an image to download and re-host
  • path (string): absolute path to an image file on the machine running this server, read straight from disk with no download
  • post_id (number, optional): the post the image belongs to; its effect is unconfirmed

Returns: {id, url, content_type, bytes, width, height} — put url into an image2.src when calling set_post_body, or into cover_image when calling `update_draft

Only the beginning is shown; read the rest in the repo