Documentation / Tools & endpoints

Tools & endpoints → Web search for your agent

Web search, docs search and page reading for your coding agent

A coding agent that can look things up writes less from memory. AxForge runs its own search as an MCP server with three tools: web_search finds pages on the web, docs_search finds pages in AxForge's own documentation as it is today, read_page reads one as text. It comes with the Coder plans and Managed Endpoint plans and runs on your API key, at no extra cost.

Before you start
  • An AxForge API key. Get one (a minute).
  • A Coder plan (Noob, Coder or Pro) or a Managed Endpoint plan on that key's account: the Coder plans.
  • A coding agent that speaks MCP over HTTP: Claude Code, OpenCode, or any other MCP client.

Add it to your agent

  1. Claude Code

    One command adds it for every project (--scope user):

    claude mcp add --transport http --scope user axforge-search https://api.axforge.ai/v1/mcp --header "Authorization: Bearer orx_live_your_key_here"

    claude mcp list then shows axforge-search. Ask Claude Code to look something up and it calls web_search.

  2. OpenCode

    One command adds it for every project (--global). OpenCode keeps the address and your key in its own settings, so there is no file to open:

    opencode mcp add axforge-search --url https://api.axforge.ai/v1/mcp --header "Authorization=Bearer orx_live_your_key_here" --global

    opencode mcp list then shows axforge-search as connected (the first time it can take a few seconds; run it again). It works beside the OpenCode guide's setup: the key you gave there is for the models, this one line is for the search.

  3. Any other MCP client

    Give it the address and one header:

    Address   https://api.axforge.ai/v1/mcp
    Header    Authorization: Bearer orx_live_your_key_here

    It speaks MCP over plain HTTP (JSON-RPC), protocol versions 2024-11-05 to 2025-11-25.

The three tools

ToolWhat it does
web_searchFinds pages for a query on AxForge's own search: their titles, addresses and a line of each. 8 results unless asked for more, 20 at most.
docs_searchFinds pages in AxForge's own documentation on dev.axforge.ai, as it is today: the API and its endpoints, the models, how to connect each tool, the glossary, the AI engineering guides. The best pages first, each with its title, address and a short excerpt; 8 unless asked for more, 20 at most.
read_pageReads one page as text, up to 30,000 characters: http and https addresses on the web's own ports, 80 and 443, never an address on a private network.

Check that it works

Ask your agent to search for something it cannot know from memory, such as this week's release of a library, or ask it how to connect its own tool to AxForge: it then calls docs_search. The calls show in the console under API Keys → Recent calls within a minute, as mcp/web_search, mcp/docs_search and mcp/read_page.

When it does not work

Not sure which it is? The connection doctor makes seven small checks on your key and names the fix: irm https://dev.axforge.ai/assets/axforge-doctor.ps1 | iex in PowerShell, curl -fsSL https://dev.axforge.ai/assets/axforge-doctor.sh | bash on macOS and Linux.

What you seeWhat it meansFix
401the key was refusedpaste it again, whole, after Bearer , or make a new one
"Web search comes with the Coder plans"the key's account has no Coder plan or Managed Endpoint plantake one in the console, Billing & Usage → Coder plans
"not answering"the search engines behind it did not answer, or the docs search's own server did nottry again in a minute
"This address cannot be read"not an http or https page on port 80 or 443, or on a private networknothing to fix: read_page reads public web pages only
Ask on the forum Markdown For AI Updated 2026-11-15

Anything unclear on this page?

Ask on the forum. The answer helps the next person too.

Ask about this page