サブスタックリーダー
Substack 上の Adam Mancini による Trade Companion から記事を取得して読むためのツール。
設定
前提条件
Python 3.8以上
Python用のUVパッケージマネージャー
クロードAIアシスタント
インストール
まだインストールしていない場合は、UV パッケージ マネージャーをインストールします。
curl -sSf https://install.ultraviolet.dev | sh仮想環境を作成してアクティブ化します。
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activatepyproject.toml ファイルを使用して依存関係をインストールします。
uv pip install -e .
Substack認証の設定
購読者限定コンテンツにアクセスするには、Substack クッキーを提供する必要があります。
ブラウザに Cookie-Editor 拡張機能をインストールします。
tradecompanion.substack.comで Substack アカウントにログインします。
Cookie-Editor拡張機能アイコンをクリックします
「エクスポート」をクリックし、「JSONとしてエクスポート」を選択します(これにより、Cookieがクリップボードにコピーされます)
このプロジェクトのルートディレクトリに
substack_cookies.json
という名前のファイルを作成します。コピーしたクッキーをこのファイルに貼り付けて保存します
クロードとの使用
このツールはClaude AIアシスタントと併用するように設計されています。設定方法は次のとおりです。
次のコードを Claude 構成ファイルに追加して、Claude がこの MCP サーバーを使用するように設定します。
/path/to/substack_reader
substack_reader ディレクトリへの実際のパスに置き換えます。
適切に設定されている場合、Claude は起動時にこの MCP サーバーに自動的に接続します。
その後、Claude に最新の Trade Companion の記事を取得するよう依頼できます。
特徴
Adam Manciniによる最新のTrade Companion記事を取得します
記事の内容をプレーンテキスト形式で抽出します
見出し、段落、リスト項目を保持します
「私のトレード手法の基礎」の記事は除外されます
プライバシーに関する注意事項
SubstackのCookieはsubstack_cookies.json
ファイルにローカルに保存され、Substackへのリクエストの認証にのみ使用されます。他の場所に送信されたり、いかなる形でも公開されることはありません。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Substack 上の Adam Mancini による Trade Companion から購読者限定コンテンツを取得して読み取ることができるため、Claude は最新の金融取引記事にアクセスして議論できるようになります。
Related Resources
Related MCP Servers
- -securityAlicense-qualityAn MCP server that enables AI assistants like Claude to interact with Substack newsletters, allowing for post retrieval, content searching, and author information access through a standardized interface.Last updated -MIT License
- -securityAlicense-qualityA server based on Model Context Protocol that enables AI assistants to query and search for stock information using the Tushare API.Last updated -28MIT License
- Creative Commons Zero v1.0 Universal
- AsecurityAlicenseAqualityEnables AI assistants like Claude to interact with Paper's trading platform API using natural language, allowing users to manage accounts, portfolios, trades, and access market data through conversational requests.Last updated -2310113MIT License