Substack API integration and MCP server by Cotlet
MCP server by cotletdev Verified · cotlet.dev
Substack by Cotlet is a self-hosted MCP server and REST API for managing a Substack publication. It covers posts, drafts, Notes, comments, subscribers and stats, and is aimed at technical users for noncommercial use.
Install Substack API integration and MCP server by Cotlet
Built from the published package, never by AI.
claude mcp add substack-by-cotlet -- uvx substack-api-mcpRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Substack API integration and MCP server by Cotlet in Claude Code
{
"mcpServers": {
"substack-by-cotlet": {
"args": [
"substack-api-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Substack API integration and MCP server by Cotlet in Claude Desktop
{
"mcpServers": {
"substack-by-cotlet": {
"args": [
"substack-api-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install Substack API integration and MCP server by Cotlet in Cursor
{
"servers": {
"substack-by-cotlet": {
"args": [
"substack-api-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install Substack API integration and MCP server by Cotlet in VS Code
codex mcp add substack-by-cotlet -- uvx substack-api-mcpStep-by-step: install Substack API integration and MCP server by Cotlet in Codex
{
"mcpServers": {
"substack-by-cotlet": {
"args": [
"substack-api-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Substack API integration and MCP server by Cotlet in Antigravity CLI
gemini mcp add substack-by-cotlet uvx substack-api-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install Substack API integration and MCP server by Cotlet in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the substack-by-cotlet block.
About
Substack by Cotlet is a self-hosted MCP server and REST API for Substack, written in Python. It provides 50 tools for posts and drafts written from Markdown, publishing and scheduling, Notes, comments, subscribers, stats, recommendations and direct messages. The source says Substack has no public API for these actions and no official MCP server.
It runs on your own computer. The connect command reads your Substack session cookies from Chrome through the Chrome DevTools Protocol and saves them to a file readable only by your user. Tool calls then go to Substack's own web app endpoints with those cookies. It works with Claude Code, Claude Desktop, Cursor and Codex. The source says it is for technical people and for noncommercial use only.
Written from the project's README and checked against it.
Tools it gives your assistant
list_postsLists published, draft or scheduled posts on your publication.create_draftCreates a draft post from Markdown text.schedule_postSchedules a draft to publish at a set time.get_post_statsReturns statistics for a specific post.list_commentsLists comments on a specific post.
What you need
- Python 3.11 or newer
- Google Chrome 144 or newer, signed in to Substack
- A Substack account
- macOS, Linux or Windows
Try asking
- List my draft posts and their audiences.
- Draft essay.md and schedule it for Tuesday at 8:00.
- Show stats for my last post and list its comments.
Good to know
- For noncommercial use only, according to the source.
- The Substack session cookie lasts about three months.
- Publisher tools need admin, owner, editor or contributor access to the publication.
- The hosted version at cotlet.dev is suggested for 24/7 running, teams or businesses.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Substack API integration and MCP server by Cotlet
All alternatives →Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.
Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.
NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.
Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.
Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.
Reports new AI model, product, tool and repo names as they start to surge, with the generic search terms people use for them. Built for people who make SEO pages, newsletters or directories around new AI terms.
Substack API integration and MCP server by Cotlet: common questions
Does Substack have an official MCP server?
The source says Substack has no official MCP server and no public API to write posts, publish Notes or manage subscribers. This project provides both.
Does it store my Substack password?
The source says Substack signs in by emailed code or link, so there is no password to store. Session cookies are saved to a file readable by your user only.
Can I use it for a business?
The source says the self-hosted version is for noncommercial use only. For a team or business, it points to the hosted version at cotlet.dev.
How do I install Substack API integration and MCP server by Cotlet?
In Claude Code run claude mcp add substack-by-cotlet -- uvx substack-api-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Substack API integration and MCP server by Cotlet the official server?
Substack API integration and MCP server by Cotlet is published by cotlet.dev from its verified domain in the official MCP Registry.
Is Substack API integration and MCP server by Cotlet free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Substack API integration and MCP server by Cotlet safe to use?
It scores 57 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Substack API integration and MCP server by Cotlet?
Does Substack API integration and MCP server by Cotlet work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
