Sponsored by Deepsite.site

Text Summarizer

Created By
garyedgingtona month ago
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 summary in the format you need — a full prose paragraph, a bullet list of key points, a single headline, or a TL;DR — at the length you specify. Built for agents that process high volumes of text where passing the full content downstream is slow, expensive, or unnecessary. The compression ratio returned with every response lets callers track exactly how much content was reduced. No API keys or credentials required. Pay $0.005 USDC per call via x402 on Base mainnet. A free trial tool is included for integration testing — prose format, up to 4KB, no payment needed.
Overview

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

EndpointPaymentFormatsLimit
GET /sse (MCP SSE)Fiat via MCP-HiveAllNone
POST /v1/summarizex402 USDC ($0.005)All100KB input
POST /v1/summarize/trialFreeprose only4KB input
GET /healthFree

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

FieldTypeRequiredDefaultDescription
inputstringyesText, Markdown, or JSON string to summarize
input_typestringno"text""text", "markdown", or "json"
formatstringno"prose""prose", "bullets", "headline", or "tldr"
lengthstringno"medium""brief", "medium", or "detailed"
target_wordsintegernonullExact target word count (overrides length if set)
explainbooleannofalseInclude notes on what was omitted or compressed

Format options

FormatDescriptionTypical output
proseSingle paragraph summary1–3 sentences / 30–150 words
bulletsBullet list of key points3–7 bullet items
headlineOne-sentence headline≤ 20 words
tldrTL;DR prefix + one sentence≤ 25 words

Length presets

LengthTarget words (prose)Behavior
brief~30 wordsCore conclusion only
medium~80 wordsMain points + key context
detailed~200 wordsFull summary preserving structure

target_words overrides length when set.


Response fields

FieldTypeDescription
summarystringThe compressed output in the requested format
formatstringFormat used (prose, bullets, headline, tldr)
word_countintegerWord count of the summary
compression_ratiofloatApproximate input/output word ratio
notesstring / nullWhat was omitted or compressed (only when explain=true)
metaobjectModel, input length, and configuration metadata

Pricing

ModePrice
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:

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

Server Config

{
  "mcpServers": {
    "x402-text-summarizer": {
      "url": "https://web-production-78e17.up.railway.app/sse"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Tavily Mcp
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™