MCP Substack Server

MCP Substack Server

site icon
2024.11.30 3
JavaScriptSubstack 文章处理内容解析内容生成
MCP Substack Server 是一个基于 Model Context Protocol (MCP) 的服务,专门用于下载和解析 Substack 的文章内容。它可以与 Claude.ai 桌面应用集成,提供文章内容的下载、解析和摘要功能。
View on GitHub

Overview

基本能力

产品定位

MCP Substack Server 是一个专门用于处理 Substack 文章内容的服务,通过与 Claude.ai 桌面应用的集成,提供文章内容的下载、解析和摘要功能。

核心功能

  • 下载和解析 Substack 文章
  • 提取文章的标题、作者、副标题和内容
  • 支持公开的 Substack 文章
  • 与 Claude.ai 桌面应用集成

适用场景

  • 需要快速获取和解析 Substack 文章内容的用户
  • 需要将 Substack 文章内容集成到 Claude.ai 桌面应用中的用户

工具列表

  • download_substack: 下载并解析 Substack 文章内容

常见问题解答

使用教程

使用依赖

  • Node.js v18+
  • Claude 桌面应用

安装教程

  1. 安装依赖:
npm install
  1. 配置 Claude 桌面应用: 将以下内容添加到 ~/Library/Application Support/Claude/claude_desktop_config.json 文件中:
{
  "mcpServers": {
    "mcp-substack": {
      "command": "/opt/homebrew/bin/node",
      "args": ["/path/to/mcp-substack/lib/index.mjs"],
      "methods": {
        "download_substack": {
          "description": "Download and parse content from a Substack post"
        }
      }
    }
  }
}
  1. 启动服务:
npm start

调试方式

在 Claude 桌面应用中使用以下命令:

Could you download and summarize this Substack post: [URL]

许可证

该项目遵循 MIT 开源许可条款。