substack-mcp
📰 Substack MCP (substack-mcp)
FastMCP 3.1+ Model Context Protocol(MCP)サーバーと、Substackニュースレター向けの最先端Reactウェブアプリダッシュボードです。
クイックスタート • Substackとは? • デュアル機能 • オンボーディング • justコマンド • ドキュメント
🧠 Substackとは?
Substack は、2017年に設立された独立系出版プラットフォームであり、クリエイターネットワークです。ライター、ジャーナリスト、研究者、ポッドキャスター、思想家などが、長編ニュースレターを読者のメール受信トレイやウェブに直接配信できます。
+-----------------------------------------------------------------------------------+
| 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) |
+---------+ +------------------+ +-------------------+ +-------------------+📖 詳細を深掘りしたい? Substackの歴史、プラットフォームアーキテクチャ、RSSエンドポイント、収益化戦略をカバーする完全版 Substack Primer Guide をお読みください。
Related MCP server: Substack Reader MCP Server
⚡ デュアル機能:検索・閲覧と下書き・公開
substack-mcp は、読者/研究者とクリエイター/パブリッシャーの両方を対象に設計されています。
Workflow Mode | 認証は必要? | 機能と特長 |
🔍 検索・閲覧 (パブリックモード) | ログイン不要 | • 任意のSubstackニュースレターのRSSフィードを取り込む• ブロック内SQLiteで記事全文のオフライン検索• リーダーペインと音声/ポッドキャスト詳細• お気に入り記事のスター付け&ブックマーク |
✍️ 下書き・公開 (著者モード) |
| • Substack投稿の下書きを準備・編集・更新• Markdownをペイウォール付きSubstack HTMLに変換( |
🚀 組み込みのオンボーディングとヘルプ
数分でセットアップできるよう、substack-mcp にはウェブアプリ内およびドキュメント内に直接インタラクティブなオンボーディングが含まれています。
📱 インタラクティブなウェブアプリダッシュボード(
http://127.0.0.1:11164):オンボーディングタブ: ステップバイステップのセットアップウィザード
ヘルプとシステム診断タブ: APIバックエンド(
:11163)、SQLite DB、Substack Cookie 認証、ローカルLLMのライブヘルスチェックカード。Cookie抽出チュートリアル: ブラウザDevTools(
F12)からsubstack.sidセッションCookieをコピーして日々設定に貼り付けるビジュアルガイド。MCPクライアント統合スニペット: Google Antigravity、Claude Desktop、Cursor向けのWebキーでコピー&ペーストできるエンドポイント。
📚 リポジトリガイド:
INSTALL.mdとdocs/ONBOARDING.mdをご覧ください。
⚙️ just タスクランナーコマンド
一般的なタスクはすべて、リポジトリの 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⚡ クイックスタート
1. サーバーとウェブアプリダッシュボードの起動
# 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.ps1ウェブアプリダッシュボードは、デフォルトブラウザで http://127.0.0.1:11164 が自動的に開きます。
2. AIアシスタントの接続(Google Antigravity / Claude Desktop)
MCPクライアント設定をFastMCP Streamable HTTPエンドポイントに指定します:
http://127.0.0.1:11163/mcp🛠️ 複合MCPツール
ツール | 操作 | 説明 |
| RSSフィードの取り込み、追跡中のニュースレターの一覧表示、記事の検索 | |
| 下書きの準備、編集、更新、Markdown HTMLのレンダリング | |
| 購読者数の動向、投稿閲覧数、開封率の記録・取得・集計 | |
| 記事コメントの閲覧と、ディスカッション返信の準備 |
📁 サブパッケージのドキュメント
📖 Substack Primer Guide(
docs/SUBSTACK_PRIMER.md) — Substackとは何か、プラットフォーム構成、歴史、エコシステムについて。🎨 ウェブアプリダッシュボード(
webapp/) — Vite、React、Tailwind CSS、Biomeのセットアップについて。⚙️ バックエンドパッケージ(
substack_mcp/) — FastAPI、FastMCP 3.1+、ローカルLLMエンジン、SQLiteデータベースについて。
📄 ライセンス
MIT License の下で提供されています。
This server cannot be deployed
Maintenance
Related MCP Connectors
Draft, schedule, and analyze content for Substack, Medium, LinkedIn, X, Bluesky, and Threads.
- beehiivOAuthcom.beehiiv
Manage beehiiv newsletters, posts, podcasts, community, subscribers, and analytics.
11 Read Buttondown subscribers, emails, analytics and automations; add subscribers; write email drafts.
251Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
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 npm-
- 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.2MIT
- 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.119MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to draft, publish, and schedule posts on Substack, bypassing the lack of an official publishing API.134-