Substack MCP logo

Substack MCP

by conorbronsdon

Manage Substack drafts, posts, comments, analytics, images, and immediately published Notes through MCP.

Install Substack MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "conorbronsdon-substack-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "substack-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y substack-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

conorbronsdon/substack-mcp connects an MCP client to an authenticated Substack publication for reading content, preparing long-form drafts, inspecting analytics, and publishing Notes. It runs locally over stdio or through self-hosted HTTP and supports browser-based login or stored credentials. Long-form post creation and updates remain in draft state for manual review, while Note tools publish immediately. Reach for it when an agent needs structured access to a Substack archive or a review-gated writing workflow.

Use cases

  • Review a Substack archive and retrieve full post content
  • Create long-form drafts for manual editorial approval
  • Inspect comments and performance metrics for published posts
  • Upload images for use in Substack content
  • Publish short-form Notes with optional links

Key features

  • Published post, draft, comment, and section retrieval
  • Draft creation and updates from Markdown
  • Subscriber counts with precision metadata
  • Per-post analytics lookup
  • Image uploads to Substack's CDN
  • Immediate Note publishing with link attachments

Tools14

What Substack MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

23/26 checks healthy over the last 99d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · substack-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars48Stargazers on the source repository.
npm downloads747Package downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed14Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Substack MCP works

What conorbronsdon/substack-mcp does

conorbronsdon/substack-mcp exposes Substack publication operations as MCP tools. It can retrieve subscriber counts, published posts, drafts, full post content, comments, publication sections, scheduled posts, and per-post performance data. It also supports creating and updating long-form drafts, uploading images to Substack's CDN, and creating short-form Notes.

The server separates reviewable long-form work from immediate public actions. Draft tools create or modify unpublished posts only; publishing a long-form post remains a manual action in Substack's editor. Notes are different: Substack has no draft state for them, so both Note creation tools publish to the public Notes feed as soon as they run.

How it works

The package is a TypeScript MCP server that can connect through local stdio or self-hosted HTTP. An MCP-compatible client invokes the tools, while the server uses an authenticated Substack publication session. Operations depend on the account's access to that publication.

A typical workflow is to authenticate, verify read access, inspect existing posts or analytics, create a draft with Markdown content, and review it in Substack before publication. The get_post_analytics operation searches the 500 most recent published posts because Substack does not provide a direct per-post statistics endpoint.

Setup and configuration

Node.js 22 or newer is required. Install the package with npm. Browser-based login additionally requires the optional Playwright dependency and a Chromium installation. The login command accepts a publication URL and account user ID, opens a browser for authentication, and stores the session after an authenticated read succeeds. A verified identity mode can derive the account ID from the authenticated publication session.

Stored browser-login data defaults to a session file under the user's home directory. SUBSTACK_MCP_HOME changes that directory. SUBSTACK_PROFILES and SUBSTACK_CREDENTIAL_STORE are available for profile and credential-storage configuration. The server can also use credential environment variables instead of the saved browser session.

After authentication, the doctor --json --check-auth command performs a bounded read for each publication and reports whether read access works. It does not establish write permission.

Tools and capabilities

  • Read exact, approximate, or unavailable subscriber-count results with precision metadata.
  • Browse published posts and drafts, retrieve full post content, and list scheduled posts.
  • Read comments, reactions, publication sections, and post performance metrics.
  • Create and update unpublished long-form drafts using Markdown.
  • Upload an image from a base64 data URI or local file path and receive a hosted URL.
  • Publish Notes with Markdown text, optionally attaching a link as a rich card.

Limitations and notes

Long-form posts cannot be published or deleted through the server. Draft updates work only on unpublished drafts, and final publication must happen in Substack's editor. Note publication is immediate, has no preview step, and cannot be undone through the available tools.

Uploaded images are publicly fetchable by anyone with the URL and are unlisted rather than attributed to the publication feed. Approximate subscriber counts must be displayed as lower-bound values such as 1,000+, not treated as exact counts. Scheduled posts are visible through the server, but scheduling is performed in Substack's editor. The server also provides no delete operation for Notes.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Substack MCP

conorbronsdon/substack-mcp is an MCP server that connects AI clients to an authenticated Substack publication. Its main tools read posts, drafts, comments, subscriber counts, sections, scheduled posts, and analytics; create or update long-form drafts; upload images; and publish Notes with optional links.

Install it with npm, using Node.js 22 or newer. For browser login, install the package with Playwright, install Chromium, then run the login command with your publication URL and account user ID. You can then add the local server to an MCP client.

It cannot publish long-form Substack posts. The server creates and updates unpublished drafts only, leaving final publication to Substack's editor. Its Note tools are an exception: `create_note` and `create_note_with_link` publish immediately to the public Notes feed.

Yes. The setup supports Claude Desktop and Claude Code, along with a local MCP connection. The project also documents a Codex plugin workflow. Authentication can use a stored browser-login session or configured credentials.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSubstack MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/conorbronsdon-substack-mcp?style=directory)](https://allmcps.com/mcp/conorbronsdon-substack-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/conorbronsdon-substack-mcp"><img src="https://allmcps.com/api/badge/conorbronsdon-substack-mcp?style=directory" alt="Substack MCP on AllMCPs" /></a>