Home · Integrations · Gemini CLI

Use FoxAPIs in Gemini CLI.

Gemini CLI reads MCP servers from its settings or from an extension file. FoxAPIs adds sourced people and company facts, paid per call in credits (nothing is charged when a call returns nothing): what it can answer, prices.

Connect FoxAPIs to Gemini CLI

MCP address: https://foxapis.com/mcp (Streamable HTTP). Header: Authorization: Bearer YOUR_KEY. Your key starts with fxp_.

  1. Save the block below as gemini-extension.json inside an extension folder, or put the mcpServers part in Gemini CLI's settings file.
  2. Set your key in place of YOUR_KEY, start Gemini CLI and list its tools.

gemini-extension.json

{
  "name": "foxapis",
  "version": "1.0.0",
  "mcpServers": {
    "foxapis": {
      "httpUrl": "https://foxapis.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

Get a key at the sign-up page. The tools and the price of each call are listed on the MCP page; the REST reference is the developer docs and the whole API as a file is openapi.json.

Three Gemini CLI prompts that name FoxAPIs

Keep the key safe in Gemini CLI

A rules file for Gemini CLI

A plain-text file for the agent that writes your code: the key stays a server-side secret, calls are made from the server, every fact keeps its source, an empty field stays empty, and one real call with its real answer. Download foxapis-agent-rules.txt.

Put its text where Gemini CLI keeps standing instructions for a project (a rules or knowledge setting). The name and place of that setting are in Gemini CLI's own docs; we did not confirm them for this page.

Start Gemini CLI from a template

Open-source starter apps that call FoxAPIs: a lead finder, a company check, a funding tracker and a Supabase edge function. Each one has a Deploy on Vercel link that asks for your key. foxapis-templates on GitHub

The one thing to know about Gemini CLI

Not verified: the shape follows Gemini CLI's documented MCP settings (httpUrl and headers) but we did not run it. Do not commit a real key.

FoxAPIs is not affiliated with or endorsed by Gemini CLI. Config shapes are shown as that tool's own documentation describes them; where we did not run one, the page says so.

All integrations · MCP server · Developer docs