What is Open-Sourced Model Context Protocol (MCP) implementation that connects Claude to your Substack and Medium writing.?
Writer Context Tool is an MCP server that allows Claude to access and analyze your writing from platforms like Substack and Medium. With this tool, Claude can understand the context of your published content, providing more personalized assistance with your writing. It retrieves and caches blog posts, uses embeddings for semantic searches, and makes essays available as resources for Claude.
Documentation
Writer Context Tool for Claude
Open-Sourced Model Context Protocol (MCP) implementation that connects Claude to your Substack and Medium writing.
What is this?
Writer Context Tool is an MCP server that allows Claude to access and analyze your writing from platforms like Substack and Medium. With this tool, Claude can understand the context of your published content, providing more personalized assistance with your writing.
Features
🔍 Retrieves and permanently caches your blog posts from Substack and Medium
🔎 Uses embeddings to find the most relevant essays based on your queries
📚 Makes individual essays available as separate resources for Claude
🧠 Performs semantic searches across your writing
⚡ Preloads all content and generates embeddings at startup
How It Works
The tool connects to your Substack/Medium blogs via their RSS feeds, fetches your posts, and permanently caches them locally. It also generates embeddings for each post, enabling semantic search to find the most relevant essays based on your queries.
When you ask Claude about your writing, it can use these individual essay resources to provide insights or help you develop new ideas based on your existing content.
Setup Instructions (Step by Step)# Prerequisites
Python 3.10 or higher
Claude Desktop (latest version)
A Substack or Medium account with published content
1. Clone this Repository
git clone https://github.com/yourusername/writer-context-tool.git
cd writer-context-tool
2. Set up Python Environment
Using uv (recommended):
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create virtual environment and install dependencies
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -r requirements.txt