JP

jonathan-politzki/mcp-writer-substack

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

34 stars 4 forks 품질 53 트렌드 12

Substack 글에 있는 교량에 모형 Context 의정서는 Claude에 씁니다.

개요

Open-Sourced Model Context Protocol (MCP) 구현은 Substack 및 Medium 작성에 Claude를 연결합니다. Writer Context Tool은 Substack 및 Medium과 같은 플랫폼에서 Claude에 액세스하고 분석할 수 있는 MCP 서버입니다. 이 도구로, Claude는 출판 된 콘텐츠의 컨텍스트를 이해할 수 있으며, 더 많은 개인적 지원을 제공합니다. -  만회 및 영구적으로 Substack 및 Medium의 블로그 게시물을 캐시 - ✪은 쿼리에 기반을 둔 가장 관련 에세이를 찾을 수 있도록 embeddings를 사용하여 - 은 Claude에 별도의 리소스로 사용할 수있는 개별 에세이를 만듭니다 - ⚡은 모든 콘텐츠를 업로드하고 시작시 embeddings를 생성합니다. 도구는 RSS 피드를 통해 Substack/Medium 블로그에 연결하고 게시물을 태우고 영구적으로 로컬로 캐시합니다. 그것은 또한 각 게시물에 대한 embeddings를 생성, 당신의 쿼리를 기반으로 가장 관련 에세이를 찾을 수 있도록 semantic 검색을 가능하게.

개요(AI 번역)

Open-Sourced Model Context Protocol (MCP) 구현은 Substack 및 Medium 작성에 Claude를 연결합니다.

이것은 무엇입니까?

Writer Context Tool은 Substack 및 Medium과 같은 플랫폼에서 Claude에 액세스하고 분석할 수 있는 MCP 서버입니다. 이 도구로, Claude는 출판 된 콘텐츠의 컨텍스트를 이해할 수 있으며, 더 많은 개인적 지원을 제공합니다.

특징

  • 🇨🇳 Substack 및 Medium의 블로그 게시물을 검색하고 영구적으로 캐시합니다.
  • 당신의 쿼리에 근거를 둔 가장 관련 에세이를 찾을 수 있도록 돕기
  • es은 Claude에 대한 별도의 자원으로 사용할 수있는 개별 에세이를 만듭니다.
  • 은 당신의 쓰기를 통해 semantic 검색을 수행
  • 모든 컨텐츠를 Preloads and generates embeddings at Startup

그것이 작동하는 방법

도구는 RSS 피드를 통해 Substack/Medium 블로그에 연결하고 게시물을 태우고 영구적으로 로컬로 캐시합니다. 그것은 또한 각 게시물에 대한 embeddings를 생성, 당신의 쿼리를 기반으로 가장 관련 에세이를 찾을 수 있도록 semantic 검색을 가능하게.

여러분의 글에 대해 글을 작성할 때, 이 개별 에세이 리소스를 사용하여 통찰력을 제공하거나 기존 콘텐츠를 기반으로 새로운 아이디어를 개발할 수 있습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

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):

# Install uv if you don't have it
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

Or using standard pip:

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -r requirements.txt

3. Configure Your Blogs

  1. Copy the example configuration file:

    cp config.example.json config.json
    
  2. Edit config.json with your Substack/Medium URLs:

    {
      "platforms": [
        {
          "type": "substack",
          "url": "https://yourusername.substack.com",
          "name": "My Substack Blog"
        },
        {
          "type": "medium",
          "url": "https://medium.com/@yourusername",
          "name": "My Medium Blog"
        }
      ],
      "max_posts": 100,
      "cache_duration_minutes": 10080,
      "similar_posts_count": 10
    }
    
    • max_posts: Maximum number of posts to fetch from each platform (default: 100)
    • cache_duration_minutes: How long to cache content before refreshing (default: 1 week or 10080 minutes)
    • similar_posts_count: Number of most relevant posts to return when searching (default: 10)
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

# Get the absolute path to your uv command UV_PATH=$(which uv) # Create the configuration cat > ~/Library/Application\ Support/Claude/claude_desktop_config.json << EOF { "mcpServers": { "writer-tool": { "command": "${UV_PATH}", "args": [ "--directory", "$(pwd)", "run", "writer_tool.py" ] } } } EOF