Nanotoll MCP

dev.nanotollPublished by nanotoll.devOfficial publisherv0.1.1Updated Oct 29, 2026

Compress prose for LLM context windows. Per-call USDC billing, signed receipt.

VerifiedStreamable HTTPWeb executableData & AnalyticsAI & ML

Overview

AI-generated overview

Remote MCP server that compresses prose before it enters an LLM context window and returns a signed receipt, with paid per-call USDC billing.

What you can do
  • Compress prose text before it reaches an LLM context window, returning the compressed text plus a signed receipt showing ratios, refusals and coverage
  • Check the account balance, USDC funding address, key tier and expiry, and lifetime usage totals without charge
  • Use the receipt and balance tools to confirm what was kept or dropped and to see shortfalls after an HTTP 402
When to use it
Useful when long prose documents need to fit a context budget and you want a verifiable record of what was dropped instead of silent truncation. Less suitable for code or diffs, which the server says compress badly.
Requirements
Remote streamable HTTP endpoint; no local install. Requires a Nanotoll API key sent as an Authorization bearer token, obtained through a free trial or a funded registration. Funding is with USDC on Base L2; network access to the Nanotoll API is needed.
Before you install
Paid service: compress calls are billed in USDC on Base L2 per call (free deterministic tier, extractive and verified tiers priced per call), and insufficient credit returns HTTP 402. The API key is a secret sent in the Authorization header and forwarded as a bearer token to the backend. Text submitted for compression is sent to a third-party service.

Installation

In SourceWeft

  1. Open Nanotoll MCP in the dashboard and add it to a workspace.
  2. Connect Authorization token credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.nanotoll%2Fnanotoll-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "nanotoll": {
      "type": "http",
      "url": "https://mcp.nanotoll.dev/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

Tools

2

compress

Compress Text

Compress prose before it enters an LLM context window. Returns the compressed text plus a signed receipt (ratios, refusals, coverage) so the caller can verify what was dropped. Use this instead of truncating or slicing text to fit a budget: truncation drops the tail silently, compression keeps a sentence skeleton and reports what went. Do not use it for source code, config, JSON, diffs or tables - send those verbatim. Very short input (under roughly 2,000 chars) gains little, and verified mode is slower there. To compress a web page, fetch it with the read tool first and compress the markdown it returns, never raw HTML. Prefer deterministic for bulk low-stakes text (free), extractive for ordinary prose, verified when a silently dropped fact would be expensive. Flat per-call price by mode: deterministic free, extractive $0.0008, verified $0.0015 (USDC on Base L2); insufficient credit returns HTTP 402.

Parameterstextrequiredsqueeze_modetarget_ratio_idempotency_key

check_balance

Check Balance

Read your own account and cost nothing: credit balance left, the USDC funding address to top up, key tier and expiry, and lifetime usage totals. Takes no arguments and is not billed. Call it after an HTTP 402 from compress to see the shortfall, or before a long batch to confirm credit. It reads the account belonging to the API key in your MCP client config (Authorization: Bearer ...) - that is the balance compress bills against.

Takes no parameters.

Version history

2
  1. v0.1.1LatestOct 29, 2026
  2. v0.1.0Sep 16, 2026

Score

72% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts

    Publish an icon in the registry entry.

  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.