substack-mcp
Provides tools for searching and reading Substack newsletters via RSS feeds, managing and publishing drafts with Markdown and paywalls, tracking subscriber and post metrics, and browsing article comments.
Click on "Install 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-mcpsearch my Substack feed for articles about AI and give me a summary"
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 MCP (substack-mcp)
FastMCP 3.1+ Model Context Protocol (MCP) server & SOTA React webapp dashboard for Substack newsletters.
Quick Start โข What is Substack? โข Dual Capabilities โข Onboarding โข Just Commands โข Documentation
๐ง What is Substack?
Substack is an independent publishing platform and creator network founded in 2017. It allows writers, journalists, researchers, podcasters, and thinkers to publish long-form newsletters directly to their readers' email inboxes and the web.
+-----------------------------------------------------------------------------------+
| Substack Publication |
+----------------------------------------+------------------------------------------+
|
+-------------------+---------------+---------------+--------------------+
| | | |
v v v v
+---------+ +------------------+ +-------------------+ +-------------------+
| Posts | | Substack Notes | | Substack Chat | | Subscriber Tiers |
| (Email | | (Short-form | | (Community | | (Free, Monthly, |
| + Web) | | Social Feed) | | Messaging) | | Annual, Founder) |
+---------+ +------------------+ +-------------------+ +-------------------+๐ Want a deep dive? Read our complete Substack Primer Guide covering Substack's history, platform architecture, RSS endpoints, and monetization strategies.
Related MCP server: Substack Reader MCP Server
โก Dual Capabilities: Search/Read & Draft/Publish
substack-mcp is designed for both readers/researchers and creators/publishers:
Workflow Mode | Auth Required? | Capabilities & Features |
๐ Search & Read (Public Mode) | No Login Needed | โข Ingest RSS feeds from any Substack newsletter domainโข Full-text offline article search in local SQLiteโข Reader pane & audio/podcast detailsโข Star & bookmark favorite articles |
โ๏ธ Draft & Publish (Author Mode) | Requires | โข Stage, edit, and update Substack post draftsโข Convert Markdown to Substack HTML with paywalls ( |
๐ Built-in Onboarding & Help
To get you up and running in minutes, substack-mcp includes interactive onboarding directly inside the webapp and in the documentation:
๐ฑ Interactive Webapp Dashboard (
http://127.0.0.1:11164):Onboarding Tab: Step-by-step setup wizard.
Help & System Diagnostics Tab: Live health check cards for API Backend (
:11163), SQLite DB, Substack Cookie Auth, and Local LLMs.Cookie Extractor Tutorial: Visual guide to copy your
substack.sidsession cookie from Browser DevTools (F12) into Settings.MCP Client Integration Snippets: One-click endpoints for Google Antigravity, Claude Desktop, and Cursor.
๐ Repo Guides: See
INSTALL.mdanddocs/ONBOARDING.md.
โ๏ธ just Task Runner Commands
All common tasks are defined in the repository justfile:
# Run full quality check (lint + typecheck + pytest)
just check
# Run Python Pytest test suite
just test
# Lint backend (ruff) and webapp (biome)
just lint
# Format code (ruff format & biome format)
just format
# Static typecheck (pyright & tsc)
just typecheck
# Start unified dev servers (clears zombie ports, starts backend & webapp, opens browser)
just start
# Pack .mcpb desktop package
just mcpb-pack
# Build Tauri NSIS Windows installer
just tauri-build
# Run headless CUA smoke test
just cua-smokeโก Quick Start
1. Launch Server & Webapp Dashboard
# Clone the repository
git clone https://github.com/sandraschi/substack-mcp.git
cd substack-mcp
# Launch backend (11163) and dashboard (11164) via just or PowerShell script
just start
# or: .\start.ps1The webapp dashboard will automatically open in your default browser at http://127.0.0.1:11164.
2. Connect AI Assistants (Google Antigravity / Claude Desktop)
Point your MCP client configuration to the FastMCP Streamable HTTP endpoint:
http://127.0.0.1:11163/mcp๐ ๏ธ Portmanteau MCP Tools
Tool | Operations | Description |
| Ingest RSS feeds, list tracked newsletters, search articles | |
| Stage drafts, edit content, render Markdown HTML | |
| Track subscriber metrics, post views, open rates | |
| Read article comments and stage discussion responses |
๐ Sub-Package Documentation
๐ Substack Primer Guide (
docs/SUBSTACK_PRIMER.md) โ What Substack is, platform structure, history, and ecosystem.๐จ Webapp Dashboard (
webapp/) โ Vite, React, Tailwind CSS, and Biome setup.โ๏ธ Backend Package (
substack_mcp/) โ FastAPI, FastMCP 3.1+, Local LLM engine, and SQLite database.๐งช Test Suite (
tests/) โ Pytest unit test specifications and coverage.๐ Scripts (
scripts/) โ Fleet launchers and prompt generation utilities.๐ Documentation Hub (
docs/) โ Complete configuration, onboarding, tools, and troubleshooting guides.
๐ License
Distributed under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables interaction with Substack publications through natural conversation, allowing users to create posts with cover images, publish notes, manage content, and retrieve profile information.82
- AlicenseNot gradedqualityDmaintenanceEnables users to manage and read Substack content directly within Claude, including listing subscriptions and fetching full post details. It supports searching within newsletters and retrieving recent feeds using authenticated browser cookies.1MIT
- AlicenseAqualityFmaintenanceEnables AI tools to programmatically manage Substack content, including creating drafts, publishing posts, and posting to Substack Notes. It supports image uploads, live blogging, and document formatting compatible with Substack's ProseMirror editor.118MIT
- AlicenseNot gradedqualityCmaintenanceEnables reading from and optionally drafting to a Substack publication via Claude, using unofficial JSON endpoints and RSS feed.1MIT
Related MCP Connectors
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Track, analyze, and act on your streaming and SaaS subscriptions from any AI agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/substack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server