Substack in Print
Turn your Substack into a printed magazine, with a public-domain artist in residence for the plates
我该使用它吗
质量与安全性
发现(1)
- LOW在 how_many_pages_will_my_magazine_be 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"substack-in-print": {
"url": "https://substack-magazine.vercel.app/mcp"
}
}
}远程端点
https://substack-magazine.vercel.app/mcpstreamable-http它能做什么
工具清单
工具(11)
🟢read_substack_archive(substack, cursor)
Lists a Substack publication's posts, newest first, up to 100 per call: slug, title, subtitle, date, word count, whether it is paywalled (paid posts print only their free preview), and Substack's one-line description. Accepts a handle (aidanjude), a subdomain (aidanjude.substack.com) or a custom domain. Returns next_cursor when there are more posts; passing it back returns the next 100. Example calls: {"substack":"aidanjude"}; {"substack":"www.example.com","cursor":"c:eyJ..."}.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "Substack handle, subdomain or custom domain"
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous call, to read further back"
}
},
"required": [
"substack"
],
"additionalProperties": false
}🟢read_substack_post(substack, slug)
Returns one post's title, subtitle, date, word count, image count and full text as plain paragraphs (up to 20,000 characters; truncated is true past that). Paid posts return only the free preview Substack shares publicly. Example: {"substack":"aidanjude","slug":"nov-26-pt4"}.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "Substack handle, subdomain or custom domain"
},
"slug": {
"type": "string",
"description": "The post's slug, from read_substack_archive"
}
},
"required": [
"substack",
"slug"
],
"additionalProperties": false
}🟢find_artist_works(artist, limit)
Searches the Art Institute of Chicago and the Cleveland Museum of Art open-access collections for works by one artist that the museum itself flags public domain / CC0, and drops everything else. Each work comes back with its museum id (aic:NNN or cma:NNN), title, date, medium, whether it is a line work (print or drawing, which also suits a white-on-black stencil), orientation, pixel size, the resolution it reaches as a full-bleed page (full_page_bleed_ppi; 200+ prints sharp), a thumbnail, the museum page and the credit line. The summary counts how many works print a full page sharp, which says whether the artist can fill an issue (about 8 to 12 distinct works for a 24 to 40 page issue). Living or recently dead artists usually return nothing: their work is not public domain. Example: {"artist":"Albrecht Dürer"}; {"artist":"Hokusai","limit":20}.
输入模式
{
"type": "object",
"properties": {
"artist": {
"type": "string",
"description": "The artist's name, e.g. 'Albrecht Dürer', 'Hokusai', 'Piranesi'"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many works to return (default 30)"
}
},
"required": [
"artist"
],
"additionalProperties": false
}🟡lay_out_issue(substack, post_slugs, artist, title, work_ids, ...)
Saves an issue (the essays in order, the title, the artist in residence and the works for its plates) and returns a short link to a page where it is already laid out as a stapled 8.5 x 11 in print magazine: cover art, contents, each essay set in print type, a frontispiece, full-page plates on spare pages and white-on-black stencils where an essay ends early, with 'Artist in residence: <name>' on the back cover. The page pages through like the printed copy and takes the order (quantity, then Stripe checkout); copies are printed and shipped to one address, or mailed to a list of the writer's readers. Every work is re-checked against the museum's public-domain flag; anything not flagged, or not by the named artist, is dropped. work_ids are optional: without them, or when too few are given for the plate slots, the artist's sharpest public-domain works fill the rest. Returns the link, the estimated page count, the essays it found, the works on hand and example prices. Example: {"substack":"aidanjude","post_slugs":["oct-26-pt1","oct-26-pt2"],"artist":"Albrecht Dürer","title":"Periodicals","work_ids":["aic:51498","aic:55330"]}.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "Substack handle, subdomain or custom domain"
},
"post_slugs": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 40,
"description": "The essays, in reading order, by slug"
},
"artist": {
"type": "string",
"description": "The artist in residence the writer picked"
},
"title": {
"type": "string",
"description": "The magazine's name on the cover (default: the publication's name)"
},
"work_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "Optional: works from find_artist_works in order of preference (aic:NNN / cma:NNN); the first portrait one that prints full page sharp is the cover unless cover_work_id is given"
},
"cover_work_id": {
"type": "string",
"description": "Optional: the work for the front cover"
},
"typography": {
"type": "string",
"enum": [
"garamond",
"baskerville",
"editorial",
"typewriter",
"grotesk"
],
"description": "Optional type pairing (default garamond)"
}
},
"required": [
"substack",
"post_slugs",
"artist"
],
"additionalProperties": false
}🟢price_print_run(pages, copies, mail_to_readers)
Prices a print run of a stapled 8.5 x 11 in magazine on 100 lb satin paper: Mixam's print price for that page count and quantity (quoted from Mixam's own calculator, date included), ground shipping to one US address, sales tax, our margin, card fees, the total and the price per copy. With mail_to_readers it adds, per reader, First-Class Mail postage for a flat at the issue's weight, an envelope and handling (copies come to us and we mail each one). Example: {"pages":28,"copies":10}; {"pages":24,"copies":40,"mail_to_readers":true}.
输入模式
{
"type": "object",
"properties": {
"pages": {
"type": "integer",
"minimum": 8,
"maximum": 80,
"description": "Page count including covers, a multiple of 4 (lay_out_issue gives an estimate; the issue page shows the exact count)"
},
"copies": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"description": "How many copies"
},
"mail_to_readers": {
"type": "boolean",
"description": "true = we mail one copy to each reader on a list the writer uploads (copies = number of readers)"
}
},
"required": [
"pages",
"copies"
],
"additionalProperties": false
}🟢print_edition_estimate(substack, essays)
Returns a publication's name, which of its public posts suit a stapled magazine (titled, 600 to 5,000 words), an estimated page count, and the price of one printed copy and of ten. It does not lay out, print or charge for an issue.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "The Substack: a URL, a subdomain or a custom domain"
},
"essays": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"description": "How many essays to estimate for (default 8)"
}
},
"required": [
"substack"
],
"additionalProperties": false
}🟢best_substack_posts_for_print(substack, limit)
A Substack's posts sorted for print: public, titled newsletter posts between 600 and 5,000 words first, longest first, each with its word count and an estimated page count, and the posts set aside (paid, very short, podcasts, threads) with the reason. Example questions: which of my posts should go in the magazine; my best essays for print; what would make a good print issue from my archive.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "The Substack: a URL, a subdomain or a custom domain"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 40,
"description": "Posts to return (default 15)"
}
},
"required": [
"substack"
],
"additionalProperties": false
}🟢cost_to_print_my_substack(substack, post_slugs, essays, pages, copies)
What a printed issue of a Substack costs: pages estimated from the chosen posts' word and image counts (or the given page count), then the itemised price (Mixam printing, shipping, tax, Stripe, our margin) at 1, 5, 10 and 25 copies or the number asked. Example questions: how much to print my Substack; cost of 20 copies of my newsletter as a magazine; price of a 40-page zine.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "The Substack: a URL, a subdomain or a custom domain"
},
"post_slugs": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "The essays, by slug; without them the most recent print-suited posts are used"
},
"essays": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"description": "How many recent essays when no slugs are given (default 8)"
},
"pages": {
"type": "integer",
"minimum": 8,
"maximum": 80,
"description": "A page count, instead of a Substack"
},
"copies": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}🟢how_many_pages_will_my_magazine_be(substack, post_slugs, essays)
The estimated page count of a printed issue: cover, contents, frontispiece, each essay from its words and images, and a back page, rounded up to a multiple of 4, and whether it fits a stapled magazine (80 pages). The issue page gives the exact count once laid out. Example questions: how many pages would my essays make; will 12 posts fit in one issue; how long would the magazine be.
输入模式
{
"type": "object",
"properties": {
"substack": {
"type": "string",
"description": "The Substack: a URL, a subdomain or a custom domain"
},
"post_slugs": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40
},
"essays": {
"type": "integer",
"minimum": 1,
"maximum": 30
}
},
"required": [
"substack"
],
"additionalProperties": false
}🟢price_to_mail_printed_copies(readers, pages, substack, post_slugs)
Returns the itemised price of printing one copy per reader and mailing each copy by US First-Class: printing, shipping the batch, envelopes, postage and handling. It does not send mail and it does not charge anyone. Reader count is 1 to 100; pass a page count or a Substack to estimate one.
输入模式
{
"type": "object",
"properties": {
"readers": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many readers get a copy (1 to 100; the price grid on file stops at 100 copies)"
},
"pages": {
"type": "integer",
"minimum": 8,
"maximum": 80
},
"substack": {
"type": "string",
"description": "The Substack: a URL, a subdomain or a custom domain"
},
"post_slugs": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40
}
},
"required": [
"readers"
],
"additionalProperties": false
}🟢is_this_artist_public_domain(artist)
Whether an artist's works are public domain and on hand to print, from the Art Institute of Chicago and Cleveland Museum of Art open-access collections: works found, how many print a full page sharp, line works, life dates, and whether there are enough for an issue (8 full-page works), with three sample works and their credit lines. Example questions: can I use Hokusai in my magazine; is Aubrey Beardsley public domain; does Gustave Doré have enough prints for an issue.
输入模式
{
"type": "object",
"properties": {
"artist": {
"type": "string",
"description": "The artist's name"
}
},
"required": [
"artist"
],
"additionalProperties": false
}社区
证据