Substack MCP
サブスタックMCP
Claude やその他の AI アシスタントとの Substack API 統合用の MCP (モデル コンテキスト プロトコル) サーバー。
概要
このプロジェクトは、ClaudeのようなAIアシスタントが標準化されたインターフェースを介してSubstackのニュースレター、投稿、そして著者とやり取りできるようにするModel Context Protocol(MCP)サーバーを実装します。Substack APIライブラリを活用し、その機能をMCPを通じて提供します。
この MCP サーバーを使用すると、Claude は次のことが可能になります。
ニュースレターの投稿、ポッドキャスト、おすすめ情報を取得する
投稿コンテンツとメタデータを取得する
ニュースレター内の投稿を検索する
ユーザープロフィール情報とサブスクリプションを取得する
Related MCP server: systemprompt-mcp-reddit
インストール
前提条件
Python 3.10以上
Claude for Desktop (テスト用)
設定
このリポジトリをクローンします:
git clone https://github.com/Greg-Swiftomatic/substack-mcp.git cd substack-mcpuvを使用して仮想環境を設定します。curl -LsSf https://astral.sh/uv/install.sh | sh # Install uv if not already installed uv init . uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate依存関係をインストールします:
uv add "mcp[cli]" substack-api
使用法
サーバーの実行
MCP サーバーを実行します。
python substack_mcp.pyデスクトップ版Claudeの設定
Claude for Desktop の設定ファイルを開きます。
macOS/Linux :
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows :
%APPDATA%\Claude\claude_desktop_config.json
サーバー構成を追加します:
{ "mcpServers": { "substack": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/substack-mcp", "run", "substack_mcp.py" ] } } }Claude for Desktop を再起動します。
クエリの例
設定が完了すると、Claude に次のような質問をすることができます。
「 https://stratechery.com/からの最近の投稿を表示」
「この投稿の内容は何ですか: https://stratechery.com/2023/the-ai-unbundling/ 」
「 https://stratechery.com/で「AI」を検索してください」
「 https://stratechery.com/の著者は誰ですか?」
利用可能なツール
サーバーは次の MCP ツールを提供します。
道具 | 説明 |
| Substackニュースレターから最近の投稿を取得します |
| 特定のSubstack投稿の完全なコンテンツを取得します |
| ニュースレター内の投稿を検索します |
| Substackの著者に関する情報を取得します |
| Substack の出版物に推奨されるニュースレターを取得します |
| Substackニュースレターの著者を獲得する |
プロジェクト構造
substack_mcp.py- メインMCPサーバーの実装examples/- クエリと応答の例docker/- コンテナ化されたデプロイメント用の Docker 構成
発達
このプロジェクトに貢献するには:
リポジトリをフォークする
機能ブランチを作成する (
git checkout -b feature/amazing-feature)変更をコミットします (
git commit -m 'Add some amazing feature')ブランチにプッシュする (
git push origin feature/amazing-feature)プルリクエストを開く
トラブルシューティング
問題が発生した場合:
Claude のログでエラーを確認します。
# macOS/Linux tail -n 20 -f ~/Library/Logs/Claude/mcp*.log # Windows type %APPDATA%\Claude\Logs\mcp*.logサーバーがビルドされ、エラーなしで実行されることを確認します。
python substack_mcp.pyclaude_desktop_config.jsonファイルに正しいパスと構文が含まれていることを確認してください。Claude for Desktop を完全に再起動してみてください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
謝辞
Substack API - Substackインタラクションの基礎となるライブラリ
モデルコンテキストプロトコル- 標準化された LLM 統合のための Anthropic のプロトコル
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.2108Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.26810Apache 2.0
- FlicenseAqualityDmaintenanceAn MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.62
- FlicenseNot gradedqualityDmaintenanceA MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.83
Related MCP Connectors
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Greg-Swiftomatic/substack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server