Mcp Substack Scraper

com.mambabuilt由 mambabuilt.com 發布v1.0.1更新於 Nov 7, 2026

Substack publications, posts, subscriber counts, and keyword search.

概覽

AI 產生的概覽

透過 Apify actor 擷取 Substack 刊物、文章、訂閱人數與關鍵字搜尋結果的 MCP 伺服器。

可以做什麼
  • 讀取刊物資料:名稱、作者、簡介、訂閱人數與付費方案價格
  • 列出刊物最新文章,含標題、連結、日期、受眾層級、按讚、留言、轉發、字數與標籤
  • 可選擇附上文章正文,付費文章僅回傳免費預覽
  • 依關鍵字搜尋 Substack,回傳符合的文章或這些文章所屬的刊物
  • 依時間範圍篩選文章,並限制每個刊物或每次搜尋回傳的列數
適用情境
適合讓助理進行 Substack 調查:比較各刊物的訂閱人數與定價、查看某刊物近期發布了什麼,或依關鍵字尋找特定主題的刊物。
執行需求
透過 npx 在本機執行,需要 Node.js 18 或更新版本。需要 Apify 帳號,並將 Apify API 權杖設為 APIFY_TOKEN 環境變數;沒有權杖時工具仍會列出,但呼叫時需要權杖。需要能連線至 Apify 與 Substack 的網路。
安裝前請注意
所有工作都在 Apify 上執行,依回傳列數計費到你的 Apify 帳號(文章列、刊物列以及每次執行的啟動費),上限設得大就會產生費用,可用 max_charge_usd 限制單次執行。APIFY_TOKEN 屬於機密,不要放進共用設定。它只讀取 Substack 的公開頁面與公開 JSON 路徑,結果僅限公開可見內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Substack Scraper,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Substack Scraper MCP Server

[Glama score] [MCP Registry] [npm version] [npm downloads] [license] [mcpservers.org]

[Substack Scraper MCP server]

An MCP server for the Mamba Labs Substack Newsletter and Posts Scraper actor on Apify. Give it Substack publications or keywords. It returns publication profiles and posts as flat rows.

What's Inside

What it does

  • Publications: name, author, tagline, subscriber count as Substack shows it (subscriber_count_text, and subscriber_count_min as a number), subscriber tier text, and monthly, yearly, and founding plan prices.
  • Posts: title, URL, date, audience (free, paid, or founding), likes, comments, restacks, word count, bylines, and tags. Optional post text with include_body.
  • Search: keyword search across Substack posts, returned as posts or as the publications behind them.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

json
{  "mcpServers": {    "mamba-substack-scraper": {      "command": "npx",      "args": [        "-y",        "@mambalabsdev/mcp-substack-scraper"      ],      "env": {        "APIFY_TOKEN": "your-apify-token"      }    }  }}

Restart the client. The scrape_substack tool appears.

Prerequisites

Example prompts

  • "How many subscribers does Lenny's Newsletter have, and what does a paid plan cost?"
  • "Find Substack newsletters that write about cold email and list their subscriber counts."
  • "What did notboring.co publish in the last 30 days, and which posts were paid only?"

Tool

scrape_substack. One tool. Example arguments:

json
{  "publications": [    "lenny.substack.com"  ],  "search_queries": [    "cold email"  ],  "max_posts_per_publication": "5",  "max_search_results": "5"}

Inputs

Every buyer facing input of the actor, unchanged. Omitted inputs take the actor's own defaults. Numbers and booleans are sent as strings.

InputTypeDescription
publicationsarraySubstack publications, one per line, up to 100: a URL (https://www.lennysnewsletter.com), a domain (lenny.substack.com), a profile (substack.com/@lenny), or a bare Substack name (lenny). Each one returns a publication row and its newest posts
search_queriesarrayKeywords to search across Substack posts, one per line, up to 20. Each query returns matching posts, or the publications behind them when Search output is publications
search_outputstringWhat a search query returns Default posts
max_posts_per_publicationstringNewest posts returned per publication, 0 to 1000. 0 returns only the publication row Default 20
max_search_resultsstringRows returned per search query, 1 to 1000 Default 50
since_daysstringOptional. Skip posts older than this many days. 0 or empty keeps every post up to the max Default 0
include_publication_rowstringtrue to return one publication row per listed publication (name, author, subscribers, paid plan prices), billed as a publication row. false returns only post rows Default true
include_bodystringtrue to add the post text (up to 20,000 characters) to each post row of a listed publication. A paid post gives its free preview. Reads one more page per post; no extra charge Default false
max_charge_usdstringOptional. The run stops before it would charge more than this
proxy_modestringHow pages are fetched Default auto

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
post-row, one Substack post returned as a row: from a listed publication or from a search$0.00115$0.001093$0.001035$0.000977
publication-row, one Substack publication profile returned as a row: name, author, subscriber count as shown, and paid plan prices$0.002$0.0019$0.0018$0.0017
apify-actor-start, per run start$0.001057$0.001057$0.001057$0.001057

no_results and error rows are free, including the one row a refused input returns.

Your keys

The actor needs no key. It reads Substack's public pages and public JSON routes and holds no key of any kind. Proxy traffic adds nothing to your price: Mamba Labs pays the platform costs of the run.

Full actor documentation

apify.com/mambalabs/substack-scraper

License

MIT. See LICENSE.

來源:README.md,提交 a3d3c1a

工具

1

scrape_substack

Scrape Substack publications, posts, and search

Read Substack publications and posts, or search Substack by keyword. Give publications as URLs, domains, substack.com profiles, or bare Substack names (for example lenny.substack.com, https://www.notboring.co, lenny). Each publication returns one publication row (name, author, subscriber count as Substack shows it, subscriber tier text, paid plan prices) and its newest posts, one row each with date, free or paid audience, likes, comments, restacks, word count, bylines, and tags. Search queries return matching posts with their publication and subscriber count, or one row per publication when search_output is publications. Input with nothing to run returns one free row whose error_reason starts with input_invalid:. A run that does not succeed is returned as an error with its run ID. Read-only; requires an APIFY_TOKEN; Apify charges per post row and per publication row.

輸入參數proxy_modesince_daysinclude_bodypublicationssearch_outputmax_charge_usdsearch_queriesmax_search_resultsinclude_publication_rowmax_posts_per_publication

版本歷史

2
  1. v1.0.1最新Nov 5, 2026
  2. v1.0.0Oct 29, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分