Tern. Open workbench

Public beta

Web research for coding agents.

Read docs, gather cited evidence, and monitor pages through MCP. Tern reads approved public HTTPS sources.

Free during beta100 request units per UTC dayFuture pay-per-use billing requires a funded Grasany Wallet

Documentation lookup

Example · No sign-in required

find_in_page

{
  "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/ETag",
  "query": "specific version",
  "maxMatches": 1
}
Show example output Hide example output

Prewritten example output

An ETag identifies a specific version of a resource.

MDN Web Docs · ETag

What your agent can do

Read documentation

Find exact text, pull out headings and code examples, and cite the source.

Compare evidence

Find links on approved pages, search MDN or Wikimedia, and compare cited excerpts.

Monitor page changes

Run checks on demand, schedule them where enabled, and review up to 30 saved results.

Make your first call

Agent setup has OAuth instructions for ChatGPT Work and Claude, plus configurations for Codex CLI and OpenCode.

For hands-on browsing, enter and review an approved HTTPS address in the blank address field. Open unsupported sites directly on your device.

  1. Open a Tern workspace

    Create a workspace and save its access code, or sign in with your existing code.

  2. Configure your client

    Authorize an OAuth connection or create a personal key in Agent setup and set TERN_API_KEY in the client’s environment.

  3. Try Tern

    Call get_capabilities to see approved hosts and limits. Try the documentation lookup or copy the optional quota fallback rule.

Install in your editor or CLI

Create a personal key in Agent setup and make it available as TERN_API_KEY in your client’s environment.

These links open the desktop client for review. For a masked VS Code key prompt or manual Cursor setup, see Agent setup.

Claude Code

Run in your project’s terminal.

claude mcp add-json tern '{"type":"http","url":"https://tern.grasany.com/agent-mcp","headers":{"Authorization":"Bearer ${TERN_API_KEY}"}}'
Gemini CLI

Merge into ~/.gemini/settings.json. Gemini CLI setup guide

{
  "mcpServers": {
    "tern": {
      "httpUrl": "https://tern.grasany.com/agent-mcp",
      "headers": { "Authorization": "Bearer ${TERN_API_KEY}" }
    }
  }
}
Windsurf

Merge into ~/.codeium/windsurf/mcp_config.json. Windsurf setup guide (German)

{
  "mcpServers": {
    "tern": {
      "serverUrl": "https://tern.grasany.com/agent-mcp",
      "headers": { "Authorization": "Bearer ${env:TERN_API_KEY}" }
    }
  }
}