PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
作者提供的说明(英文原文)
FastMCP server for Substack — publish Notes and posts, pull analytics, manage drafts, pluggable…
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
用 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr,或回答中出现 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr
FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 的应用
B · 营销与社交媒体 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
Claude Code 暂时无法连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr
开发者只提供了电脑版 Claude 应用的安装文件
A · 使用能连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 的应用
Cursor 暂时无法连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr
开发者只提供了电脑版 Claude 应用的安装文件
A · 使用能连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 的应用
VS Code 暂时无法连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr
开发者只提供了电脑版 Claude 应用的安装文件
A · 使用能连接 FastMCP server for Substack — publish Notes and posts, pull analytics, manage dr 的应用
SUBSTACK_SID_COOKIE 机密 必填 env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
注册名称已通过 GitHub 账户 adelaidasofia 验证,该账户拥有此仓库
代码最后更新于前天
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SUBSTACK_SID_COOKIE
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于前天,最新版本(0.1.0)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
同一分类中有:PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
FastMCP server for Substack: publish Notes and posts, pull analytics, manage drafts, bridge Obsidian vault drafts to Substack, and generate visual cards with pluggable image generators.
substack__test_connection -- verify auth (start here)
substack__publish_note text=... -- publish a Note immediately substack__list_vault_drafts -- show drafts from your vault file substack__publish_vault_draft index=N -- publish one vault draft as a Note substack__create_draft title=... body=... -- create a post draft substack__get_dashboard days=30 -- subscriber + view KPIs substack__capture_analytics_to_vault -- snapshot analytics to vault markdown
test_connection(publication?) -- verify auth, return your profilelist_publications() -- show configured publications and which is defaultpublish_note(text, publication?, attachment_ids?) -- publish a Note immediately; markdown supportedcreate_note_attachment(image_path?, image_url?, link_url?, publication?) -- upload image or register link; returns attachment UUID for use with publish_notelist_my_notes(limit?, publication?) -- your recent Notes with reaction + comment countsreply_to_note(note_id, text, publication?) -- reply to a Note by IDlist_vault_drafts() -- parse vault drafts file, return index + preview for each draftpublish_vault_draft(index, publication?, move_to_published?) -- publish one vault draft as a Notebatch_publish_vault_drafts(indices, publication?) -- publish multiple vault drafts in sequencecreate_draft(title, body, subtitle?, audience?, publication?, section_id?) -- create a post draft; body is markdownupdate_draft(draft_id, title?, body?, subtitle?, audience?, publication?, section_id?) -- edit an existing draftpublish_post(draft_id, send_email?, audience?, publication?, section_id?) -- publish a draft live to subscribersschedule_post(draft_id, publish_at, publication?, section_id?) -- schedule a draft for future publication (ISO 8601)list_sections(publication?) -- list configured sections for a publication; required to publish on publications with sectionslist_drafts(limit?, publication?) -- list unpublished draftslist_published(limit?, publication?) -- list published posts with basic statsget_post(identifier, publication?) -- get full post by slug or numeric IDupload_image(image_path, publication?) -- upload an image to Substack CDN; returns CDN URLreact(post_id, publication?) -- heart a postrestack(post_id, publication?) -- restack a postcomment(post_id, body, publication?) -- comment on a postget_feed(limit?, publication?) -- your reader feed (posts from publications you follow)get_dashboard(days?, publication?) -- KPIs: total/paid subscribers, views, growth, ARRget_post_stats(post_id, publication?) -- views, opens, clicks, shares, conversions for one postget_subscriber_growth(publication?) -- subscriber count over timeget_growth_sources(publication?) -- subscriber growth by source (search, recommendations, direct, social)get_top_posts(limit?, publication?) -- posts ranked by engagementget_earnings(publication?) -- revenue data for paid publicationsget_recommendation_stats(direction?, publication?) -- recommendation network performancecapture_analytics_to_vault(publication?) -- write a weekly analytics snapshot to your vaultOpen Claude Code, paste:
/plugin marketplace add adelaidasofia/substack-mcp /plugin install substack-mcp@substack-mcp
Legacy install
git clone https://github.com/adelaidasofia/substack-mcp
cd substack-mcp pip3 install -r requirements.txt python3 -c "import server; print('OK')"
Copy config.example.json to config.json and fill in your values:
cp config.example.json config.json
config.json is gitignored. Key fields:
| Field | Description |
|---|---|
publications[].name | Internal name used in tool calls |
publications[].subdomain | Your Substack subdomain (e.g. yourname) |
publications[].cookie | Session cookie (see below) |
default_publication | Which publication to use when publication arg is omitted |
vault_drafts_path | Path to your vault drafts markdown file |
image_generator.default | Active image adapter: pillow_local or canva |
Substack does not have a public API with OAuth. Auth uses your browser session cookie.
substack.com.substack.sid.config.json under the matching publication's cookie field.The raw value works; the server accepts both abc123 and substack.sid=abc123.
Session cookies expire. If tools return {"error": "Auth failed"}, re-extract the cookie.
Add to your .mcp.json (project-scoped) or via claude mcp add -s user:
{
"mcpServers": { "substack": { "command": "python3", "args": ["/path/to/substack-mcp/server.py"] } } }
Restart Claude Code after editing .mcp.json. Verify with claude mcp list.
Set vault_drafts_path in config.json to a markdown file in your Obsidian vault. Format each draft as a section separated by ---. Sections under ## Ready to Post are surfaced first by list_vault_drafts. Sections under ## Essay Seeds come next.
After publishing, publish_vault_draft moves the draft to a ## Published section and appends the Substack URL and timestamp.
Visual card generation is handled by the adapter set in config.json under image_generator.default.
`pillow_local` (default) -- pure Pillow, no external API. Renders 1080x1080 PNG cards locally using fonts from the fonts/ directory. Three pillar templates: warm mustard with optional figure (P1), deep burgundy bold quote (P2), mustard with section tag (P3). Use with render_card.py as a standalone CLI.
`canva` -- Canva MCP choreography. Returns a steps list describing the Canva MCP tool calls needed to clone a template, replace text, replace the figure, and export PNG. The Claude session executing the playbook follows these steps. Requires Canva MCP connected in Claude Code and design IDs filled in under image_generator.canva.pillars.
`nano_banana` -- Gemini 3 Pro Image via the nano-banana skill. Stub in image_generators/nano_banana.py. Implement generate() by calling the skill's image endpoint with a prompt built from the card spec.
`midjourney` -- Midjourney API (or proxy). Stub in image_generators/midjourney.py. Implement generate() by submitting a prompt, polling for completion, and downloading the result.
`dalle` -- OpenAI DALL-E. Stub in image_generators/dalle.py. Implement generate() using openai.images.generate.
Subclass ImageGenerator from image_generators.base:
from image_generators.base import ImageGenerator
class MyAdapter(ImageGenerator): @property def name(self) -> str: return "my_adapter"
def generate(self, spec: dict) -> dict:
...
Register it in image_generators/__init__.py and add a config block under image_generator.my_adapter in config.json.
The visual_helper.py script handles the deterministic side of the visual queue pipeline: parsing a Review Queue markdown file, rotating through figures, and marking entries published. See visual_playbook.md for the full end-to-end flow including image generation, upload, and publishing steps.
python3 visual_helper.py peek --lang es # get next approved visual item
python3 visual_helper.py mark --lang es ... # mark published + update log python3 visual_helper.py rotate-figure --pillar P1
substack.sid cookies expire after a few weeks. Re-extract from Chrome DevTools when test_connection returns auth errors.create_draft will 400 without it. The server fetches your user_id from /user/profile/self automatically and injects it into every draft POST.POST /comment/attachment/ (with slash) works. Without slash it returns 404. The server handles this correctly.substack.com/api/v1/comment/feed/. Post drafts use {subdomain}.substack.com/api/v1/drafts. Mixing them returns 404 or 403.get_earnings for actual revenue data.publication="name" to any tool to target a specific publication. Omit it to use default_publication from config.HTTP 400: Please choose a section from publish_post / schedule_post when the draft hasn't been filed under a section. Look up section IDs with list_sections(publication="main"), then pass section_id= to either the draft tool or the publish/schedule tool: list_sections # → [{id: 12345, name: "Essays", slug: "essays", ...}, ...]
create_draft title=... body=... section_id=12345
publish_post draft_id=987654 section_id=12345
publish_post / schedule_post patch the draft before publishing, so a single call is enough.
Same author, same architecture pattern (FastMCP, draft+confirm on writes where applicable, vault auto-export, MIT):