> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/tools/article-summarizer. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# Article summarizer

Give the URL of an article. SpecStream’s Extract API reads its main text into Markdown, and your own model writes the summary from it. The tool opens in the workspace after sign-up and runs on the $10 of credit a new account gets, no card.

[Read an article](https://specstream.ai/signup?src=tools-article-summarizer&returnTo=%2Fworkspace%2Fplayground%3Fapi%3Dextract%26url%3Dhttps%253A%252F%252Fwww.paulgraham.com%252Fgreatwork.html)[Read the docs](https://specstream.ai/docs/extract-api.md)

PythoncURLMCP

pip install specstream-client anthropicCopy

```
import os
import anthropic
from specstream_client import Client

# 1. The Extract API reads the article into Markdown.
client = Client(api_key=os.environ["SPECSTREAM_API_KEY"])
page = client.extract_pages({"urls": ["https://www.paulgraham.com/greatwork.html"]})["results"][0]

# 2. Your model writes the summary from that text.
reply = anthropic.Anthropic().messages.create(
    model=os.environ["ANTHROPIC_MODEL"],
    max_tokens=1024,
    messages=[{"role": "user", "content": "Summarize this article in five bullet points.\n\n" + page["text"]}],
)
print(reply.content[0].text)
```

Reply of the Extract API, cut shortCopy

```
{
  "data": {
    "results": [
      {
        "url": "https://www.paulgraham.com/greatwork.html",
        "status": "ok",
        "title": "How to Do Great Work",
        "text": "If you collected lists of techniques for doing great work in a lot of different fields, what would the intersection look like? ..."
      }
    ]
  }
}
```

## How it works

Two steps. The first runs on the [Extract API](https://specstream.ai/extract-api.md), the second on the model you already use.

Give the URL of the article

Paste the link to a news story, a blog post or an essay in the Extract tab of the API playground.

The Extract API reads the page

You get the main text of the article as Markdown, with its title and its published date, and without the menus, footers and ads. A page that gives no text is not charged.

Your model writes the summary

Give the Markdown to the model you use, with the instruction you want: a short summary, the main points, or the answer to one question. An agent connected through MCP does both steps in one request.

## Article summarizer questions

Something we didn't answer? [Talk to a human](https://specstream.ai/talk-to-a-human.md)

Does SpecStream write the summary?

No. The Extract API returns the main text of the article as Markdown. The summary comes from your own model, which reads that text. The code on this page does both steps.

What does it cost?

A new account gets $10 of credit, with no card. After that, the Extract API is charged per 1,000 pages read, and the [pricing page](https://specstream.ai/pricing.md) has the price. The model that writes the summary is charged by its own supplier.

Which pages can it read?

Web pages at a public URL, and PDF, Word and Excel files. Send up to 20 URLs in one call. A site that refuses the read comes back as blocked and is not charged.

Can an agent use it?

Yes. Connect the [SpecStream MCP server](https://specstream.ai/docs/mcp.md) and the agent calls read\_pages with the URL of the article, then writes the summary from the text.

## Read your first article

Sign up, paste the URL of an article, and get its main text as Markdown. The same call runs from your code with an API key.

[Start free](https://specstream.ai/signup?src=tools-article-summarizer&returnTo=%2Fworkspace%2Fplayground%3Fapi%3Dextract%26url%3Dhttps%253A%252F%252Fwww.paulgraham.com%252Fgreatwork.html)[Talk to a human](https://specstream.ai/talk-to-a-human.md)
