Skip to main content
MCP server CX Codex

three.ws Tutor — Claude Code MCP server: session tab and attested

Reads the itemized tab of a Pay-As-You-Learn tutoring session and seals it with an attested invoice. Neither call costs the learner anything.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --transport stdio tutor-mcp -- npx -y @three-ws/tutor-mcp
Open on GitHub

What three.ws Tutor does

Two tools arrive over stdio. load_session takes an opaque sessionId and hands back the running tab: each question, its level, output tokens, per-item price and the total so far. close_session flips the session from open to closed, attaches a SHA-256 attestation and stops any further billing.

Repeating the close on the same session returns the same total, so that call is safe to retry. Reading is not: new answered questions keep adding lines. The paid action is the per-question answer, handled elsewhere, and these tools move no funds.

No signer and no API key — the session is addressed by its identifier alone. You need Node.js 20 or newer and network reach to https://three.ws or to whatever deployment sits behind THREE_WS_BASE. An identifier with nothing stored comes back as an empty open session with questionCount: 0 instead of an error.

What it helps with

  • read a session's line items and running total
  • see what each answered question cost
  • close a session and get an attested invoice
  • lock billing once a tutoring session ends
  • confirm nothing has been charged on a session yet

Example prompts for the agent

  • Show the line items and total for session learn-abc123
  • Close learn-abc123 and give me the attested invoice
  • Load the tab for the sessionId the learner sent

How to install three.ws Tutor

Platform CLI

claude mcp add --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --transport stdio tutor-mcp -- npx -y @three-ws/tutor-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about three.ws Tutor

How do I install three.ws Tutor in Claude Code?

Run claude mcp add tutor-mcp -- npx -y @three-ws/tutor-mcp. For a custom endpoint or timeout, add --env THREE_WS_BASE=<THREE_WS_BASE> and --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS>, with --transport stdio placed before the command.

What does three.ws Tutor do?

It reads a tutoring session's itemized tab and closes the session, returning a SHA-256 attested invoice.

What do I need to run it?

Node.js 20 or newer and a reachable THREE_WS_BASE, which defaults to https://three.ws. Both tools are free and take a sessionId up to 100 characters.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set29

x402 Universal Payer An MCP server that settles x402 payments for your agent: it signs, retries and returns the response with a settlement receipt, under spending caps. CX Codex +1 ★ 249repo stars three.ws Vision Examines images, extracts screenshot text, and generates captions through visual models. Runs over stdio without billing or API credentials. CX Codex +1 ★ 249repo stars three.ws Avatars Brings interactive 3D models into chat windows and generates iframe embed snippets. Works out of the box with zero API keys required for public assets. CX Codex +1 ★ 249repo stars three.ws Solana Memo Media Pulls images embedded in Solana SPL Memo instructions and hands them to your assistant inline. Useful when you have a transaction signature instead of a file. CX Codex +1 ★ 249repo stars three.ws Signals Connects AI agents to copy-trade feeds and verified on-chain publisher rankings. Useful when automating trade monitoring or mirror-trading. CX Codex +1 ★ 249repo stars pump.fun Solana Data Read-only MCP server for pump.fun and Solana: token search, bonding curves, trades, holders, SNS names, 3D snapshots. No API key, RPC URL or wallet. CX Codex +1 ★ 249repo stars three.ws Provenance Logs AI assistant actions to an append-only registry with EVM signatures. Useful when verifying delegation history or auditing third-party agents. CX Codex +1 ★ 249repo stars three.ws Notifications Hands an agent the three.ws notification inbox: read events, mark them read, tune delivery channels, register Web Push devices. CX Codex +1 ★ 249repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor