Substack by Cotlet
PYPI · SUBSTACK-API-MCP · 3 COMPONENTS
Posts, Notes, messages, subscribers and stats for your publication.
Available components
Last scanned (2 hours ago)
Scores higher than 63% of PyPI servers
Category Marketing and SEO
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security50
- Malware scan not yet available for this package.Unverified
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 0 of 35 dependencies flagged as unhealthy. View diagnostics → Pass
Provenance & Transparency84
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to cotletdev/substack-api-mcp-server). View diagnostics → Pass
- License check failed: the license (PolyForm-Noncommercial-1.0.0) isn't a recognized OSI-approved license. See how to fix → Fail
- Actively maintained (last published 0 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability86
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 5480 tokens (~105/item across 52 items; 50 tools + 2 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 8 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 52 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 24 Oct 26 65
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 24 Oct 2026 · Analysed pypi/substack-api-mcp@1.0.3
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | cotletdev/substack-api-mcp-server |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/cotletdev/substack-api-mcp-server/.github/workflows/publish.yml@refs/tags/v1.0.3 |
| Rekor log index | 3439417753 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:feb1ef1fec1f33c90e0e226bee4ecee3099cf5dda89df1dc1164c99692864521 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 35 packages
| Packages resolved | 35 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
add_subscriber Add subscriber ~85
Add one email to your list as a free subscriber. Adds one email as a free subscriber, the same as Add subscribers in the dashboard, and Substack sends its usual welcome email. Substack adds the email in the background, so list_subscribers may show it a minute later. Add only people who agreed to hear from you.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Subscriber email. |
No output schema declared.
No examples provided.
cancel_scheduled_post Cancel scheduled post ~79
Stop a scheduled post from going out; it stays as a draft. Removes the scheduled time from a post, so nothing is published or emailed then; the post stays a draft with its content. Schedule it again with schedule_post. A post with no schedule returns an error.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
create_draft Create draft ~168
New draft from Markdown. Nothing is sent until you publish or schedule it. Creates a draft in your publication and returns its post_id and editor link. Markdown covers headings, paragraphs, bullet and numbered lists, quotes, code blocks, rules, images by public URL, bold, italic, strikethrough, inline code and links; local image files cannot be used. Sending is a separate step: schedule_post or publish_post. A draft reaches no one, so it runs without asking.
| Name | Type | Req | Description |
|---|---|---|---|
| audience | string | – | everyone, only_paid or founding. Default: everyone. |
| body_markdown | string | yes | Post body in Markdown. Images by public URL. |
| subtitle | string | – | Shown under the title and in the email preview. |
| title | string | yes | Post title. |
No output schema declared.
No examples provided.
create_post_tag Create post tag ~64
New tag for grouping your posts. Creates a post tag on your publication; Substack makes the slug from the name. A tag with no posts shows nowhere. Put posts under it with tag_post.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | Tag name, e.g. Habits. |
No output schema declared.
No examples provided.
create_subscriber_tag Create subscriber tag ~58
New private tag for grouping subscribers. Creates a subscriber tag on your publication. Tags are private: subscribers never see them. Put subscribers under it with tag_subscribers.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | Tag name, e.g. Early readers. |
No output schema declared.
No examples provided.
delete_comment Delete comment or Note ~87
Delete one of your own comments, Notes or Note replies. Deletes something you wrote: a comment under a post, a Note or a reply to a Note. Replies other people wrote under it stay, under a deleted placeholder. Someone else's comment returns an error; on your own posts remove it with remove_comment.
| Name | Type | Req | Description |
|---|---|---|---|
| comment_id | string | yes | ID of your comment, Note or Note reply. |
No output schema declared.
No examples provided.
delete_post Delete post ~101
Delete a draft, scheduled or published post, with its comments. Deletes one post of your publication for good: a draft, a scheduled post (its send is cancelled) or a published post, which leaves the web, the archive and the app with its comments and stats. Emails already sent stay in inboxes. Substack has no undo; unpublish_post keeps the post as a draft instead.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
duplicate_post Duplicate post ~82
Copy any post into a new draft. Makes a new draft with the title, subtitle, body and settings of a draft or published post, as Duplicate in the post list does. Substack puts [COPY] in front of the title; change it with update_draft. Nothing is published or sent.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
export_subscribers Export subscribers ~103
The full subscriber list as a CSV download link, with the row count. Builds the same CSV as Export in the subscriber dashboard: email, name, subscription type, activity rating and start date. Substack builds the file in the background; the call waits up to about a minute and otherwise asks you to try again later. The link needs no sign-in and works until expires_at, 24 hours when we recorded it. For filtered pages use list_subscribers.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
follow_user Follow user ~104
Follow or unfollow a Substack user, so their Notes reach your feed. Follows a person on Substack, as Follow on their profile does, or unfollows them. Following is not subscribing: you get their Notes and activity in the app, not their newsletter by email. They see the follow.
| Name | Type | Req | Description |
|---|---|---|---|
| unfollow | boolean | – | Unfollow instead. Default: false. |
| user | string | yes | Handle (e.g. @mayachen) or user ID. |
No output schema declared.
No examples provided.
get_audience_insights Get audience insights ~142
Where your subscribers live, and which publications share your readers. Returns Analytics > Statistics > Audience: subscriber counts per country (region world, ISO codes such as us, gb) or per US state (region usa, codes such as ny, ca), all subscribers or paid only, the number of countries and states with any subscriber, and the publications whose readers overlap most with yours. Substack computes these in the background; a new publication has empty lists for a while.
| Name | Type | Req | Description |
|---|---|---|---|
| paid_only | boolean | – | Count paid subscribers only. Default: false. |
| region | string | – | world (by country) or usa (by state). Default: world. |
No output schema declared.
No examples provided.
get_conversation Get conversation ~72
The latest messages of one direct-message conversation, oldest first. Returns who is in the conversation and its latest messages as the chat window first shows them, oldest first, with sender, text and time. Opening a conversation this way marks nothing read.
| Name | Type | Req | Description |
|---|---|---|---|
| conversation_id | string | yes | Conversation ID from list_conversations. |
No output schema declared.
No examples provided.
get_daily_stats Get daily stats ~100
Day by day: total and paid subscribers, followers and views. Returns one row per day of the period, as the charts on the dashboard home and in Audience: total subscribers, paid subscribers and followers at the end of the day, and the day's views across your site and the app. Days Substack has no number for are null; a young publication starts on the day it was made.
| Name | Type | Req | Description |
|---|---|---|---|
| period | string | – | Default: 30d. |
No output schema declared.
No examples provided.
get_feed Get feed ~134
Your Substack home feed: posts and Notes, For you or Following. Returns one page of the home feed of the Substack app, split into posts and Notes in feed order. for_you is Substack's own mix; following holds only people and publications you follow or subscribe to. Suggestions of people to follow are left out. Reading marks nothing seen. Page with next_cursor; the feed is personal and changes between calls.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| tab | string | – | for_you (Substack's picks) or following (whom you follow). Default: for_you. |
No output schema declared.
No examples provided.
get_post Get post ~103
Full post: title, subtitle, body as Markdown, audience, URL and dates. Returns one post of your publication, draft, scheduled or published, with its full body as Markdown, including the paywalled part. Images come back as URLs. Buttons, embeds and footnotes come back as plain text, so writing the body back with update_draft drops them. A scheduled post also has publish_at.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
get_post_engagement Get post engagement ~96
Who liked and commented on a post, and the subscribers it won and lost. Returns the Engagement and Growth parts of a post's stats: like and comment counts with the people behind them (name and handle, never email), and the free signups, paid subscriptions and unsubscribes Substack credits to the post. Counts keep changing for days after a send.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
get_post_stats Get post stats ~96
Recipients, opens, open rate, views, likes, restacks and subscribers gained. Returns the engagement numbers of one published post, as on its stats page in the dashboard. Email numbers cover the send; views include the web; likes are reactions. A draft or scheduled post returns an error. Numbers keep growing for days after a send, so check again later.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
get_post_traffic Get post traffic ~95
Where a post's readers came from: sources, categories and devices. Returns the Traffic part of a post's stats: each source (app, email, a website, search) with its views, share of all views and the free and paid subscribers it brought, the share per source category and per device. A post nobody has read yet returns empty lists.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
get_publication_stats Get publication stats ~137
Total and paid subscribers, new subscribers, paid cancellations and estimated revenue for a period. Totals are from the publisher dashboard at the end of the period (7, 30 or 90 days). subscribers_churned counts paid cancellations only; Substack keeps no count of free unsubscribes. subscribers_new is the growth in total subscribers plus those cancellations. revenue_usd is not money received: it is the dashboard's annualized revenue at the end of the period, times the period's share of a year.
| Name | Type | Req | Description |
|---|---|---|---|
| period | string | – | 7d, 30d or 90d. Default: 30d. |
No output schema declared.
No examples provided.
get_unread_counts Get unread counts ~60
How many unread direct messages, message requests and activity notifications you have. Returns the badges of the Substack app: unread direct messages, pending message requests and unread activity (likes, replies, new followers, restacks). Reading them marks nothing read.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
like_comment Like comment or Note ~110
Like or unlike a comment or a Note as you. Adds your heart to any Note or Note reply, or to a comment under a post of your publication, or removes it with unlike. Comments and Notes share one ID space, so a Note ID from list_notes or search_substack works too. The author sees your like in their activity.
| Name | Type | Req | Description |
|---|---|---|---|
| comment_id | string | yes | Comment ID from list_comments, or a Note ID. |
| unlike | boolean | – | Remove your like instead. Default: false. |
No output schema declared.
No examples provided.
like_post Like post ~95
Like or unlike any Substack post as you. Adds your heart to a post on any publication, as the heart under a post does, or removes it with unlike. The author sees your like in their activity. Liking twice keeps one like.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from search_substack, list_posts or a post's data. |
| unlike | boolean | – | Remove your like instead. Default: false. |
No output schema declared.
No examples provided.
list_activity List activity ~161
Your Substack notifications: replies, likes, new followers, restacks, newest first. Returns the Activity tab of the Substack app, newest first. type is Substack's own name, e.g. note_reply, note_like, comment_reply, comment_like, post_like, follow, restack or mention. from lists the latest people behind a grouped item and people counts all of them. A reply or mention carries its comment_id and text; on_comment_id and on_post_id point at what it was about. Reading the list marks nothing read. Page with next_cursor.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| filter | string | – | all, replies (replies and mentions) or restacks. Default: all. |
No output schema declared.
No examples provided.
list_comments List comments ~108
Comments on a post, with author, text and whether you replied. Returns all comments of one post at once, oldest first, with replies nested under their parent. Deleted comments are left out. replied is true when you answered anywhere in the thread under the comment; unanswered_only keeps only top-level comments where you did not. Pass comment_id to reply_to_comment.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
| unanswered_only | boolean | – | Skip threads you already replied to. |
No output schema declared.
No examples provided.
list_conversations List conversations ~118
Your direct-message conversations, latest first, with the last message. Returns your Substack chat inbox: one-to-one and group direct messages with who they are with, the last message, its time, your unread count and whether it is a message request from someone you do not follow. Publication chats are left out. Reading the list does not mark anything read. Pass conversation_id to get_conversation or send_message.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| unread_only | boolean | – | Only conversations with unread messages. |
No output schema declared.
No examples provided.
list_note_replies List Note replies ~111
Replies under a Note, with author, text and likes. Returns the direct replies under one Note (yours or anyone's), in Substack's order. replies is the count under each reply; list those by passing its note_id. Substack sends no handle with replies, so author.handle is empty and url is null. Page with next_cursor.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| note_id | string | yes | Note ID from list_notes or search_substack. |
No output schema declared.
No examples provided.
list_notes List Notes ~130
Notes posted by you or any other Substack user, newest first, with likes and replies. Returns the Notes on a profile's Notes tab, newest first: text, time, likes, restacks, reply count and link. Without user it lists yours. Posts and restacks of posts on the profile are left out. Page with next_cursor. Pass note_id to list_note_replies, like_comment or reply_to_note.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| user | string | – | Handle (e.g. @mayachen) or user ID. Default: you. |
No output schema declared.
No examples provided.
list_post_tags List post tags ~58
Tags your publication uses to group posts. Returns every post tag of your publication with its ID, name and slug; readers see tagged posts on /t/{slug}. hidden tags group posts without a public page. Pass tag_id to tag_post.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_posts List posts ~113
Posts of your publication, newest first, with status and audience. Lists posts of your publication, newest first. Filter by status to see drafts or scheduled posts. Scheduled posts include their publish time. Pages hold up to 50 posts; pass next_cursor back as cursor for the next page.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | Next page cursor from the previous call. |
| limit | integer | – | 1 to 50. Default: 20. |
| status | string | – | published, draft or scheduled. Default: published. |
No output schema declared.
No examples provided.
list_recommendations List recommendations ~144
Publications you recommend, or that recommend you, with the subscribers each sent. Returns Audience > Recommendations: with direction given, the publications you recommend; with received, the ones recommending you, and whether you recommend them back (mutual). subscribers_sent counts subscribers the recommendation brought. The table is rebuilt by Substack in the background, so a recommendation made minutes ago may be missing while counts already include it; publication_id checks one recommendation of yours directly.
| Name | Type | Req | Description |
|---|---|---|---|
| direction | string | – | given (publications you recommend) or received (that recommend you). Default: given. |
| publication_id | string | – | Check one publication instead: does yours recommend it (given only). |
No output schema declared.
No examples provided.
list_sections List sections ~65
Sections of your publication, the separate newsletters inside it. Returns each section with its ID, name, description and slug. live is false while Substack still sets a new section up. subscribed_by_default tells whether new subscribers get its emails. A publication without sections returns an empty list.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_subscriber_tags List subscriber tags ~50
Tags you use to group subscribers. Returns the subscriber tags of your publication with their IDs, as Audience > Subscribers > Tags shows them. Subscribers never see tags. Pass tag_id to tag_subscribers.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_subscribers List subscribers ~177
Subscribers with plan, start date and activity rating. Lists subscribers, newest first, from the subscriber dashboard. Activity rating is the 0 to 5 score Substack shows there. Pages hold up to 500 rows; pass next_cursor back as cursor. The plan and since filters apply inside each page, so a filtered page can be short or empty while next_cursor still points further. Someone added a minute ago may not show yet: Substack fills the table in the background. paid includes founding members.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | Next page cursor from the previous call. |
| limit | integer | – | 1 to 500. Default: 100. |
| plan | string | – | all, free, paid, comp or founding. Default: all. |
| since | string | – | Only subscribers who joined on or after this date. |
No output schema declared.
No examples provided.
list_subscriptions List subscriptions ~78
Publications you subscribe to, with your plan and whether their emails reach you. Returns every publication your account subscribes to, as Settings > Subscriptions lists them: name, link, plan (free, paid, comp, founding or gift, as Substack names the membership) and whether you get its emails. Your own publications are left out.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_traffic_sources List traffic sources ~110
Where your publication's visitors came from in a period, most views first. Returns Analytics > Traffic > Traffic sources: each source (the app, email, a website, search, social) with its category, views, unique visitors and the free and paid subscribers it brought. Sorted by views; page with next_cursor.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| limit | integer | – | Default: 20. |
| period | string | – | Default: 30d. |
No output schema declared.
No examples provided.
pin_comment Pin comment ~89
Pin a comment to the top of your post's comments, or unpin it. Pins one comment on a post of your publication above all others, as Pin in the comment menu does, or unpins it. A comment on someone else's post returns an error.
| Name | Type | Req | Description |
|---|---|---|---|
| comment_id | string | yes | Comment ID from list_comments. |
| unpin | boolean | – | Unpin instead. Default: false. |
No output schema declared.
No examples provided.
publish_note Publish Note ~146
Short post in Substack Notes, now or at a set time, optionally with a link card to one of your posts. Posts a Note under your name. Without publish_at it goes out now; with it, the Note waits in your scheduled Notes, status is scheduled and published_at is that time. Text is 1 to 1,000 characters. link_post_id must be a published post.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | yes | Note text, up to 1,000 characters. |
| link_post_id | string | – | Attach one of your published posts as a link card. |
| publish_at | string | – | ISO 8601 with time zone. Omit to post now. |
No output schema declared.
No examples provided.
publish_post Publish post ~153
Publish a draft now. Publishes a draft immediately, on the web and, unless send_email is false, by email, to the audience set on the draft. Substack's own pre-publish check runs first; a missing title or an empty body stops the call. A sent email cannot be recalled. On a publication with sections the post goes to section_id, else to the section already set on the draft, else to the main publication.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
| section_id | string | – | Section ID from list_sections, or main. Default: the draft's section, else main. |
| send_email | boolean | – | Email it to subscribers. Default: true. |
No output schema declared.
No examples provided.
recommend_publication Recommend publication ~120
Recommend another publication to your readers, or stop recommending it. Adds a publication to your Recommendations, as Growth > Recommendations does: Substack suggests it to people who subscribe to you and notifies its author. blurb is the short reason readers see. With remove it takes the recommendation back.
| Name | Type | Req | Description |
|---|---|---|---|
| blurb | string | – | Why you recommend it, shown to your readers (optional). |
| publication_id | string | yes | Publication ID, e.g. from search_substack posts. |
| remove | boolean | – | Stop recommending it instead. Default: false. |
No output schema declared.
No examples provided.
remove_comment Remove comment ~88
Remove someone's comment from your post as the publication's moderator. Hides a comment on a post of your publication, as Remove in the comment menu does: readers see that a moderator removed it, the text is gone, replies under it stay. Use delete_comment for your own comments. A comment on someone else's post returns an error.
| Name | Type | Req | Description |
|---|---|---|---|
| comment_id | string | yes | Comment ID from list_comments. |
No output schema declared.
No examples provided.
remove_subscriber Remove subscriber ~92
Remove one email from your subscriber list. Removes a subscriber from your list, as Remove in the subscriber's menu does: they get no more emails from you and no notice. A paid subscription is cancelled and Substack refunds the unused part. An email not on your list returns an error; add_subscriber takes about a minute before the address is listed.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Subscriber's email address. |
No output schema declared.
No examples provided.
reply_to_comment Reply to comment ~87
Reply as you under a comment on your post. Posts a reply under one comment on a post of your publication, under your name, visible to everyone who can read the post. A comment elsewhere on Substack returns an error. The author gets Substack's usual reply notification.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | yes | Reply text. |
| comment_id | string | yes | Comment ID from list_comments. |
No output schema declared.
No examples provided.
reply_to_note Reply to Note ~115
Reply as you under any Note or Note reply. Posts a reply under a Note (yours or anyone's) or under a reply to one, visible to everyone who sees the Note. Text is 1 to 1,000 characters; Markdown bold, italics and links work. The author gets Substack's usual notification.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | yes | Reply text, up to 1,000 characters. |
| note_id | string | yes | Note ID from list_notes, list_note_replies or search_substack. |
No output schema declared.
No examples provided.
schedule_post Schedule post ~200
Publish a draft at a set time, on the web and by email. Schedules a draft to go live at the time you set, on the web and, unless send_email is false, by email, to the audience set on the draft. The time needs a time zone and must be in the future. Substack's own pre-publish check runs first; a missing title or an empty body stops the call. A scheduled post stays editable until it goes out. On a publication with sections the post goes to section_id, else to the section already set on the draft, else to the main publication.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
| publish_at | string | yes | ISO 8601 with time zone. |
| section_id | string | – | Section ID from list_sections, or main. Default: the draft's section, else main. |
| send_email | boolean | – | Email it to subscribers. Default: true. |
No output schema declared.
No examples provided.
search_substack Search Substack ~104
Search all of Substack for people, posts and Notes. Runs Substack's search as the search box does and splits the results into people, posts and Notes. Use the IDs with follow_user, like_post, like_comment, reply_to_note, send_message or recommend_publication. Page with next_cursor; later pages may hold only posts and Notes.
| Name | Type | Req | Description |
|---|---|---|---|
| cursor | string | – | next_cursor from the previous page. |
| query | string | yes | Words to search for. |
No output schema declared.
No examples provided.
send_message Send message ~137
Send a direct message on Substack, in a conversation or to a person. Sends a private chat message under your name. With conversation_id it replies there; with user it writes to that person, in your existing conversation with them or a new one. Someone who does not follow you gets it as a message request. Give one of conversation_id or user. A sent message cannot be recalled.
| Name | Type | Req | Description |
|---|---|---|---|
| body | string | yes | Message text. |
| conversation_id | string | – | Reply in this conversation from list_conversations. |
| user | string | – | Or start one with this handle (e.g. @mayachen) or user ID. |
No output schema declared.
No examples provided.
tag_post Tag post ~101
Add a tag to a post, or take it off. Puts one of your post tags on a draft or published post, or removes it with remove. A post can have several tags. Tagging twice keeps one tag.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
| remove | boolean | – | Take the tag off instead. Default: false. |
| tag_id | string | yes | Tag ID from list_post_tags or create_post_tag. |
No output schema declared.
No examples provided.
tag_subscribers Tag subscribers ~125
Put a tag on subscribers by email, or take it off. Adds one of your subscriber tags to up to 50 subscribers, or removes it with remove. Emails not on your list come back in not_found and nothing else fails. A subscriber added a minute ago may not be findable yet; try again shortly.
| Name | Type | Req | Description |
|---|---|---|---|
| emails | array | yes | Subscribers' email addresses, up to 50. |
| remove | boolean | – | Take the tag off instead. Default: false. |
| tag_id | string | yes | Tag ID from list_subscriber_tags or create_subscriber_tag. |
No output schema declared.
No examples provided.
unpublish_post Unpublish post ~102
Take a published post off the web and back to drafts. Turns a published post back into a draft, as Unpublish in the editor does: it leaves your site, archive and the Substack app, and its link stops working. Comments and stats stay with the draft. Emails already sent stay in inboxes. Publish it again with publish_post. A post that is not published returns an error.
| Name | Type | Req | Description |
|---|---|---|---|
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
update_draft Update draft ~113
Change the title, subtitle, body or audience of a draft. Changes the fields you pass and leaves the others as they are. body_markdown replaces the whole body. Drafts and scheduled posts only: a published post returns an error. Nothing reaches your subscribers, so it runs without asking.
| Name | Type | Req | Description |
|---|---|---|---|
| fields | string | yes | JSON object with any of title, subtitle, body_markdown, audience, e.g. {"title": "New title"}. |
| post_id | string | yes | Post ID from list_posts. |
No output schema declared.
No examples provided.
How do I install the Substack by Cotlet MCP server?
Substack by Cotlet runs locally as a PyPI package, launched with uvx substack-api-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · substack-api-mcp
claude mcp add dev-cotlet-substack -- uvx substack-api-mcp
What is the Substack by Cotlet MCP server?
Substack by Cotlet is an MCP server listed in the public MCP registry as dev.cotlet/substack. Posts, Notes, messages, subscribers and stats for your publication. This page covers its PyPI package (substack-api-mcp).
Is the Substack by Cotlet MCP server safe to use?
Substack by Cotlet scores 65 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 October 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Substack by Cotlet MCP server expose?
Substack by Cotlet exposes 50 tools: add_subscriber, cancel_scheduled_post, create_draft, create_post_tag, create_subscriber_tag, and 45 more. Their descriptions and schemas cost roughly 5,366 tokens of context every time the server is loaded.
Is the Substack by Cotlet MCP server still maintained?
Substack by Cotlet is still listed as active in the MCP registry. We last reached this channel on 24 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Substack by Cotlet MCP server under?
Substack by Cotlet declares the PolyForm-Noncommercial-1.0.0 licence, which is not on the OSI-approved list. Read the terms before using it at work, and note this covers the source only, not the cost of any service it calls.