Substack Reader
Enables fetching and reading subscriber-only content from Trade Companion by Adam Mancini on Substack, allowing Claude to access and discuss the latest financial trading articles.
pl728
README
Substack Reader
A tool to fetch and read articles from Trade Companion by Adam Mancini on Substack.
Setup
Prerequisites
- Python 3.8+
- uv package manager for Python
- Claude AI assistant
Installation
-
Install uv package manager if you don't have it already:
curl -sSf https://install.ultraviolet.dev | sh
-
Create and activate a virtual environment:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies using the pyproject.toml file:
uv pip install -e .
Setting up Substack Authentication
To access subscriber-only content, you'll need to provide your Substack cookies:
-
Install the Cookie-Editor extension for your browser:
-
Log in to your Substack account at tradecompanion.substack.com
-
Click on the Cookie-Editor extension icon
-
Click "Export" and select "Export as JSON" (This copies the cookies to your clipboard)
-
Create a file named
substack_cookies.json
in the root directory of this project -
Paste the copied cookies into this file and save
Usage with Claude
This tool is designed to be used with Claude AI assistant. To set it up:
- Configure Claude to use this MCP server by adding the following to your Claude config file:
{
"mcpServers": {
"substack_reader": {
"command": "uv",
"args": [
"--directory",
"/path/to/substack_reader",
"run",
"substack_reader.py"
]
}
},
"globalShortcut": "Ctrl+Space"
}
Replace /path/to/substack_reader
with the actual path to your substack_reader directory.
-
When properly configured, Claude will automatically connect to this MCP server when launched.
-
You can then ask Claude to fetch the latest Trade Companion article.
Features
- Fetches the latest Trade Companion articles by Adam Mancini
- Extracts article content in plain text format
- Preserves headings, paragraphs, and list items
- Excludes the "My Trade Methodology Fundamentals" article
Privacy Note
Your Substack cookies are stored locally in the substack_cookies.json
file and are only used to authenticate requests to Substack. They are not sent anywhere else or exposed in any way.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Excel MCP Server
A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.
Playwright MCP Server
Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.
@kazuph/mcp-fetch
Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
Apple MCP Server
Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
YouTube Transcript MCP Server
This server retrieves transcripts for given YouTube video URLs, enabling integration with Goose CLI or Goose Desktop for transcript extraction and processing.
serper-search-scrape-mcp-server
This Serper MCP Server supports search and webpage scraping, and all the most recent parameters introduced by the Serper API, like location.