substack-mcp
Provides tools to read a Substack user's notes and recent activity when given a public profile name.
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-mcpget notes for @on"
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
Remote MCP server that provides tools to read a Substack user's notes and recent activity when given a public profile name.
Features
get_user_notes: Fetch recent notes for a profile slug (for example,onor@on)get_user_activity: Fetch recent posts and notes, merged and sorted by date
Related MCP server: Substack MCP Server
Requirements
Node.js 18+
A valid
substack.sidcookie value (used asSUBSTACK_TOKEN)A reachable HTTP host/port for the MCP endpoint
Disclaimer
This project accesses Substack data using authentication cookies and is intended only for accounts and content you are authorized to access. Make sure your use complies with Substack's terms, applicable privacy rules, and any consent requirements for the data you retrieve.
The server may use AI-assisted processing when returning or summarizing results. AI-generated output can be incomplete, inaccurate, or stale, so verify important information before relying on it.
Setup
Install dependencies:
npm installCreate your environment file:
cp .env.example .envSet
SUBSTACK_TOKENin.env.Optionally set
HOSTandPORTin.env.
Run
Development mode:
npm run devBuild and run:
npm run build
npm startThe server listens on http://0.0.0.0:3000/mcp by default and exposes a health check at /healthz.
MCP Configuration Example
Add this remote MCP endpoint to your client config:
{
"mcpServers": {
"substack": {
"url": "http://your-host:3000/mcp"
}
}
}Tool Inputs
profile(string): Public profile slug, with or without@limit(number, optional): Maximum items to return (default10, max50)
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.
Latest Blog Posts
- 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/rabwill/substack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server