caelum0x bdfe2b23d5 docs(toolgate): SCR-POS fix remaining stale 22-tool mentions to live 23
Commit 0f38d93 fixed the stale 22/27 count in package.json and the
.claude-plugin manifests, but three more live surfaces still said "22
tools": the CLI's own --help text (src/commands/help.mjs, printed on every
invocation), README.md's title line and sample-output caption, and
skills/toolgate/SKILL.md's frontmatter description served to Claude Code.
Live catalog is 23 (18 free, 5 priced), re-verified against
https://toolgate.scribase.com/catalog.md this pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:21:45 +03:00

6.3 KiB

name, description
name description
toolgate Use when a task needs live outside data (DNS, WHOIS, geocoding, weather, SEC filings, company LEI, arXiv/OpenAlex papers, Hacker News, GitHub repos, npm/PyPI/crates package info, a web page as markdown, a Wikipedia summary) or a priced action (send a magic sign-in link, create a database branch, query a Scribase database, render a Menivor video). Scribase Toolgate serves 23 tools on one key; 18 are free; every call is quoted in micro-USD before it runs and billed only on success. Also use to connect Toolgate to Claude Code, Cursor or any MCP client.

Toolgate: one key, priced tools, quoted before they run

Toolgate is a hosted tool catalog with an MCP endpoint and a plain HTTP API. You search by the job ("geocode an address"), read the price, and call. Free tools cost nothing. Paid tools quote a price in micro-USD (1,000,000 µ$ = $1), hold that amount, run, and capture only on success. A failed call is never billed. Credentials for upstream providers live on the server: never ask the user for a provider API key.

First: check where you stand

Take the first case that holds.

  1. You can see Toolgate's MCP tools (search_tools, describe_tool, call_tool, balance, usage): it is connected. Use them directly. search_tools for the job, describe_tool for the exact input fields and price, call_tool with { "id": "<tool id>", "input": { ... } }.

  2. toolgate runs in the terminal (toolgate --version): use the CLI below.

  3. Neither: run it with npx, no install step:

    npx github:caelum0x/toolgate tools --free            # list the free tools, no key needed
    npx github:caelum0x/toolgate signup --org "my-team"  # free key, no card, no email required
    

    signup saves the key to ~/.config/toolgate/config.json (mode 600) and prints the exact claude mcp add line to connect the MCP server. Run that line only if the user asked to connect Toolgate to Claude Code; otherwise keep using the CLI.

The free tools (no balance needed)

Tool Does
knowledge.wikipedia.summary Short summary of a topic. Input title, optional lang.
domain.dns.lookup DNS records over DoH. Input name, optional type (A, AAAA, MX, TXT, CNAME, NS, SOA, CAA).
domain.rdap.whois Registrar, creation and expiry dates, nameservers. Input domain.
geo.geocode.nominatim, geo.geocode.photon Place or address to lat/lon. Input q, optional limit, country.
weather.forecast.open-meteo Hourly temperature and precipitation. Input lat, lon, optional days.
company.sec.filings Recent SEC EDGAR filings. Input ticker or cik, optional form, limit.
company.lei.lookup Legal entity record from GLEIF. Input name or lei.
dev.github.repos.search GitHub repos by stars. Input q, optional limit, sort.
dev.package.info.registries Latest version, license, links. Input ecosystem (npm, pypi, crates), name.
research.papers.arxiv, research.papers.openalex Papers by query. Input q, optional limit.
social.hn.search Hacker News stories. Input q, optional limit, tags.
web.read.readable A web page as markdown. Input url, optional max_chars.
web.search.searxng Web search (public SearXNG; availability varies). Input q, limit.
web.search.brave Web search; priced free but needs the user's own Brave key stored on Toolgate.
relay.chat.complete Chat completion through Scribase Relay (free models only).
menivor.video.status Menivor render job status; useful only with a Menivor connection.

Paid tools (prices from the live catalog, toolgate tools, checked live 2026-11-27): scribase.db.query 50 µ, `scribase.auth.magic_link.send` 400 µ, scribase.db.branch.create $0.01, and menivor.video.render $0.02 per second. The rally.* tools listed here before (email verify/send, leads search, company enrich) are no longer in the live catalog. A fresh signup has no balance: paid calls return 402 insufficient_balance with a topup_url. Tell the user the price and the link; do not retry.

CLI

toolgate tools [--free] [--json]             # catalog with prices, no key needed
toolgate search "verify an email"            # tools for a task
toolgate describe domain.dns.lookup          # input fields, example, price
toolgate call domain.dns.lookup name=example.com type=MX
toolgate call geo.geocode.nominatim --input '{"q":"Brandenburger Tor, Berlin","limit":1}'
toolgate call <id> ... --max-cost 500        # refuse anything quoted above 500 µ$
toolgate call <id> ... --dry-run             # quote only
toolgate balance                             # balance, caps, top-up link
toolgate usage --group day                   # calls and spend
toolgate mcp --client claude|cursor|json     # connection snippet

call prints the tool's data as JSON on stdout and one provider= cost= cache= line on stderr, so piping into jq works. Values in key=value are coerced: numbers, true/false, and anything starting with {, [ or " is parsed as JSON.

Exit codes: 0 ok, 1 error (bad input, unknown tool, network), 2 unknown command, 3 insufficient balance.

Over MCP

Connect once (toolgate mcp prints this with the saved key):

claude mcp add --transport http toolgate https://toolgate.scribase.com/mcp --header "Authorization: Bearer sk-t0-..."

Then the five MCP tools map onto the CLI: search_tools = search, describe_tool = describe, call_tool = call (arguments id, input, optional options.max_cost_micros, options.dry_run, idempotency_key), balance, usage. Pass idempotency_key for anything that writes, sends or spends. The MCP response names the provider and the cost in micro-USD.

Rules

  • Read the price with describe (or describe_tool) before the first call of any paid tool, and state it to the user in plain words ("200 µ$, about $0.0002").
  • Use --max-cost / options.max_cost_micros when the user set a budget.
  • Never paste the sk-t0- key into chat, files or commits. It lives in TOOLGATE_KEY or the config file.
  • invalid_input means the JSON Schema was not met and nothing was spent; fix the fields named in the error and retry once.
  • no_provider means the tool needs the user's own credential stored on Toolgate (for example Brave). Say so; do not ask the user to paste a key into the agent.