medium-writer-mcp
v0.2.1MCP server for reading Medium and getting your articles Medium-ready, no API token needed
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_user_stories
Get the most recent stories by a Medium author (newest first).
| Parameter | Type | Description |
|---|---|---|
username * | string | Medium username, with or without '@', e.g. 'asherazeem'. |
include_content | boolean | Include each story's full text as Markdown. Much longer output. |
limit | integer | How many stories to return (max 10). |
get_publication_stories
Get the most recent stories from a Medium publication.
| Parameter | Type | Description |
|---|---|---|
publication * | string | Publication slug from its URL, e.g. 'better-programming'. |
include_content | boolean | Include each story's full text as Markdown. Much longer output. |
limit | integer | How many stories to return (max 10). |
get_tag_stories
Get the latest stories Medium lists under a tag. Useful for spotting what's being written about a topic.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Medium tag, e.g. 'python' or 'machine learning'. |
include_content | boolean | Include each story's full text as Markdown. Much longer output. |
limit | integer | How many stories to return (max 10). |
prepare_article
Check Markdown against what Medium supports and return a cleaned version. Converts tables to aligned text, demotes extra/deep headings, turns checklists into emoji, and reports anything it can't fix (nested lists, footnotes, raw HTML, missing alt text, title length, tags). Also returns word count and reading time.
| Parameter | Type | Description |
|---|---|---|
markdown * | string | The article body in Markdown. |
canonical_url | Original URL if this was first published elsewhere (protects SEO). | |
subtitle | One-line subtitle shown under the title. | |
tags | Up to 5 tags. | |
title | Story title. Defaults to the first '# ' heading. |
export_article
Write the article as an HTML page to copy-paste into Medium's editor (no token needed). Runs prepare_article first, then converts to HTML. The user opens the file in a browser, selects all, copies, and pastes into medium.com/new-story; Medium keeps headings, bold, links, lists, quotes, images and code blocks. Tell the user the output path and pass on the warnings.
| Parameter | Type | Description |
|---|---|---|
canonical_url | Original URL if cross-posting. | |
file_path | Path to the article's .md file. Use this or `markdown`. | |
markdown | Article Markdown, if there is no file. | |
output_path | Where to write the .html. Defaults to <file>.medium.html next to the input, or ./medium-export.html. | |
subtitle | One-line subtitle shown under the title. | |
tags | Up to 5 tags (entered in Medium's publish dialog). | |
title | Story title. Defaults to the first '# ' heading. |
open_in_medium
Copy the article to the clipboard as formatted text and open a new Medium story (macOS). No login or browser automation: it opens medium.com/new-story in the user's normal browser, where they're already signed in, and they press Cmd+V. Replaces whatever is on the clipboard. Show the user the warnings, and the tags/subtitle to enter in Medium's publish dialog. Nothing is published.
| Parameter | Type | Description |
|---|---|---|
browser | macOS app to open, e.g. 'Safari' or 'Google Chrome', or 'default'. Defaults to $MEDIUM_BROWSER, else Safari. | |
canonical_url | Original URL if cross-posting. | |
file_path | Path to the article's .md file. Use this or `markdown`. | |
markdown | Article Markdown, if there is no file. | |
subtitle | One-line subtitle shown under the title. | |
tags | Up to 5 tags (entered in Medium's publish dialog). | |
title | Story title. Defaults to the first '# ' heading. |