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-mcp
⚡ デュアル機能:検索・閲覧と下書き・公開
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 の下で提供されています。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Draft & schedule Substack Notes, manage articles, and read stats via WriteStack.
Draft, schedule, and analyze content for Substack, Medium, LinkedIn, X, Bluesky, and Threads.
Manage beehiiv newsletters, posts, podcasts, community, subscribers, and analytics.
Posts of any Substack newsletter with engagement counts and optional full text.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to draft, publish, and schedule posts on Substack, bypassing the lack of an official publishing API.134-
- AlicenseAqualityBmaintenanceEnables AI agents to write and publish Substack posts, manage subscribers and analytics, schedule Notes, and research other writers through 65 tools.651MIT
- FlicenseNot gradedqualityBmaintenanceEnables managing Substack publications through 27 tools for drafting, publishing, subscriber analytics, comments, Notes, and reader feed via Streamable HTTP.1-
- AlicenseNot gradedqualityCmaintenanceEnables reading, searching, drafting, and updating Substack newsletter posts through natural-language requests, while leaving publishing and emailing to the user.MIT