Skip to main content
AI agents read the Forager docs through llms.txt, Markdown pages, the skill file and the OpenAPI specAI agents read the Forager docs through llms.txt, Markdown pages, the skill file and the OpenAPI spec
AI agents can use Forager today through the REST API and this documentation. This page lists what is available now.

Call the API from an agent

The Forager API is a standard REST API described by an OpenAPI 3 spec.
  1. Create an account and copy your API key and your Account ID.
  2. Send the key in the X-API-KEY header on every request. See Authentication.
  3. Give your agent the OpenAPI spec so it can discover operations and parameters: openapi.yaml. The API server is https://api-v2.forager.ai.
  4. Point your agent at a worked example: each of the recipes solves one job end to end and starts with a prompt you can paste into a coding agent.
Most requests consume credits. See Credit pricing before letting an agent run unattended, and keep your API key out of prompts, logs and source control.

Read these docs from an agent

They are served from the same host as this documentation, https://www.forager.ai/docs. Every page also has a menu with Copy page, View as Markdown, Open in ChatGPT, Open in Claude and MCP actions.

Connect the docs MCP server

The docs MCP server lets an MCP-capable client (for example Claude, Cursor or VS Code) search these docs. It does not call the Forager API and does not need your API key.
  1. Take the docs URL, https://www.forager.ai/docs, and append /mcp.
  2. Add that URL as a remote MCP server in your client’s settings.
  3. Or use Connect MCP or Copy MCP server URL from the menu at the top of any page.

Use the Forager API skill

A ready-made agent skill describes when to use the Forager API, how to authenticate, the core tasks and their endpoints, and rules for spending credits. It follows the Agent Skills format and is published at /skill.md, where agents look for it, and in the /.well-known/agent-skills/ index. Add it to a skill-aware agent (for example Claude Code) by saving it as forager-api/SKILL.md in the agent’s skills directory.
Last modified on October 28, 2026