Tern

Read public documentation, compare cited sources, monitor changes, and hand off manual steps through a hosted MCP server.

Hosted MCP Server

npx add-mcp 'https://tern.grasany.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Web research for coding agents.

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

Connect an agent Download plugin

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

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.

Open Agent setup Open browser session

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.

Add to VS Code Add to Cursor / Grok Build

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}" }
    }
  }
}