Text Summarizer
About
Text Summarizer condenses long-form content into structured, actionable summaries so AI agents and applications can work with information faster and at lower cost. Feed it meeting notes, research articles, documentation, JSON payloads, or Markdown files and get back a clean summa
Details
- Author
- garyedgington
- Downloads
- 381
- Categories
- Knowledge Base, AI, Productivity
Jump to
- Four output formats: prose, bullets, headline, and TL;DR
- Three length presets (brief, medium, detailed) or exact word count
- Free trial endpoint (4KB limit, prose only)
- Paid endpoint supports 100KB input, all formats
- Returns compression ratio and optional explain notes
- x402 v2 USDC micropayment ($0.005/call) on Base mainnet
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Text SummarizerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Two access modes: via MCP tools over SSE (connect any MCP-compatible client, billing through MCP‑Hive) or via REST with x402 micropayments ($0.005 USDC per call on Base mainnet). A free trial endpoint /v1/summarize/trial is available for prose-only summaries up to 4KB. Add the server URL to your MCP client config or use curl to the paid or trial endpoints with the required request fields.
summarize_text
Compress text, Markdown, or JSON to a structured summary using Claude AI. Supported formats: prose, bullets, headline, tldr. Length presets: brief (~30 words), medium (~80 words), detailed (~200 words). Set target_words (1–500) to override the length preset with an exact word target. Set explain=true to receive a 'notes' field describing what was omitted. Args: input: Text, Markdown, or JSON string to summarize. Max 100KB. input_type: How to interpret the input — text, markdown, or json. format: Output format — prose, bullets, headline, or tldr. length: Length preset — brief, medium, or detailed. Ignored when target_words is set. target_words: Exact target word count (1–500). Overrides length when set. explain: If true, include a notes field describing what was omitted. Returns: summary (str), format (str), word_count (int), compression_ratio (float), notes (str or null), meta (object). On failure: error (str).
summarize_text_trial
Compress text to a prose summary using Claude AI (free trial — prose only, 4KB max). Restrictions: prose format only, brief or medium length only, no target_words, explain always disabled. Use summarize_text for full access to all formats and options. Args: input: Text to summarize. Max 4KB. length: Length preset — brief (~30 words) or medium (~80 words). Returns: summary (str), format (str), word_count (int), compression_ratio (float), notes (null on trial). On failure: error (str).
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"text summarizer": {
"x402-text-summarizer": {
"url": "https://web-production-78e17.up.railway.app/sse"
}
}
}
}
McpServers
{
"x402-text-summarizer": {
"url": "https://web-production-78e17.up.railway.app/sse"
}
}
x402 Text Summarizer
Compress long-form text to a target length and format using Claude AI. Supports plain text, Markdown, and JSON input. Part of the x402 micropayment task market.
Live service: https://project-summarizer-production.up.railway.app _(pending deployment)_
Payment: $0.005 USDC per call · x402 v2 · Base mainnet
---
What it does
Send text (or Markdown or a JSON payload) and get back a compressed summary in your chosen format — prose paragraph, bullet list, headline, or TL;DR. Specify a length preset (brief, medium, detailed) or an exact target word count.
Built for autonomous agents, document pipelines, and developers who need reliable, cheap, per-call text compression without managing prompt engineering or model selection themselves.
Supports two access modes:
- MCP tools via SSE — connect any MCP-compatible client directly, fiat billing via MCP-Hive
- REST + x402 — HTTP endpoint with USDC micropayment on Base mainnet ($0.005/call)
---
Endpoints
| Endpoint | Payment | Formats | Limit |
|---|---|---|---|
| GET /sse (MCP SSE) | Fiat via MCP-Hive | All | None |
| POST /v1/summarize | x402 USDC ($0.005) | All | 100KB input |
| POST /v1/summarize/trial | Free | prose only | 4KB input |
| GET /health | Free | — | — |
---
Quickstart — MCP (recommended for AI agents)
Add to your MCP client config:
{
"mcpServers": {
"summarizer": {
"url": "https://project-summarizer-production.up.railway.app/sse"
}
}
}
Two tools are available: summarize_text (full, all formats and lengths) and summarize_text_trial (free, prose only, 4KB limit).
---
Quickstart — trial (no payment)
curl -X POST https://project-summarizer-production.up.railway.app/v1/summarize/trial \
-H "Content-Type: application/json" \
-d '{
"input": "The Federal Reserve held interest rates steady on Wednesday, as expected by markets, while signaling it remains in no rush to cut borrowing costs amid continued uncertainty over trade policy and its effects on inflation. Fed Chair Jerome Powell said the central bank is watching the data carefully and is prepared to act if conditions change, but emphasized that patience is the appropriate stance for now. Markets had priced in two cuts by year-end before the meeting; that expectation held unchanged after the statement.",
"format": "prose",
"length": "brief"
}'
Response:
{
"summary": "The Federal Reserve kept rates unchanged and signaled patience on cuts, citing trade policy uncertainty and inflation risk. Markets expect two cuts by year-end.",
"format": "prose",
"word_count": 30,
"compression_ratio": 5.1,
"notes": null,
"meta": {
"format": "prose",
"length_preset": "brief",
"target_words": null,
"model": "claude-haiku-4-5",
"input_length": 612
}
}
---
Quickstart — paid endpoint (x402)
The paid endpoint requires an x402 v2 USDC micropayment of $0.005 per call on Base mainnet.
Payment flow:
1. Send request to POST /v1/summarize without payment headers.
2. Receive 402 Payment Required with x402Version=2 and payment details.
3. Sign and send payment via PAYMENT-SIGNATURE header.
4. Receive 200 with summary result.
---
Request fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| input | string | yes | — | Text, Markdown, or JSON string to summarize |
| input_type | string | no | "text" | "text", "markdown", or "json" |
| format | string | no | "prose" | "prose", "bullets", "headline", or "tldr" |
| length | string | no | "medium" | "brief", "medium", or "detailed" |
| target_words | integer | no | null | Exact target word count (overrides length if set) |
| explain | boolean | no | false | Include notes on what was omitted or compressed |
Format options
| Format | Description | Typical output |
|---|---|---|
| prose | Single paragraph summary | 1–3 sentences / 30–150 words |
| bullets | Bullet list of key points | 3–7 bullet items |
| headline | One-sentence headline | ≤ 20 words |
| tldr | TL;DR prefix + one sentence | ≤ 25 words |
Length presets
| Length | Target words (prose) | Behavior |
|---|---|---|
| brief | ~30 words | Core conclusion only |
| medium | ~80 words | Main points + key context |
| detailed | ~200 words | Full summary preserving structure |
target_words overrides length when set.
---
Response fields
| Field | Type | Description |
|---|---|---|
| summary | string | The compressed output in the requested format |
| format | string | Format used (prose, bullets, headline, tldr) |
| word_count | integer | Word count of the summary |
| compression_ratio | float | Approximate input/output word ratio |
| notes | string / null | What was omitted or compressed (only when explain=true) |
| meta | object | Model, input length, and configuration metadata |
---
Pricing
| Mode | Price |
|---|---|
| Trial (/v1/summarize/trial) | Free |
| Paid (/v1/summarize) | $0.005 USDC per call |
Payment is handled via the x402 protocol — an HTTP-native micropayment standard using USDC on Base.
---
Health check
curl https://project-summarizer-production.up.railway.app/health
{"status": "ok", "service": "summarizer-agent", "version": "0.1.0"}
---
Ecosystem
This service is the fourth paid endpoint in the x402 micropayment task market:
- A2A Hub — service discovery
- Schema Checker — JSON Schema validation
- Formatter — data format conversion
- Classifier — content classification
- Summarizer (this service) — text compression
Full capability manifest: GET https://project-a2a-production.up.railway.app/v1/capabilities
---
Reporting issues
If you encounter unexpected responses, payment errors, or summarization quality issues, please open a GitHub issue.
Include:
- The endpoint called
- The request body (redact sensitive data)
- The response received
- The X-Request-ID header value from the response if available
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



