Home · Integrations · Claude Code

Use FoxAPIs in Claude Code.

Claude Code adds a remote MCP server with one command. After it, the ten FoxAPIs tools are available in the terminal session. 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 Claude Code

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

  1. Run the command below in a terminal, with your key in place of YOUR_KEY.
  2. Start Claude Code and ask it to list its MCP tools; the FoxAPIs tools should appear.

Add the server

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

The same command is shown, with its source and date, on /mcp/.

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 Claude Code prompts that name FoxAPIs

Keep the key safe in Claude Code

A rules file for Claude Code

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.

Claude Code reads project instructions from CLAUDE.md in the project root, or from .claude/CLAUDE.md (its memory docs, read 2 December 2026): paste the file's text there.

Start Claude Code 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 Claude Code

The command stores the key in your local Claude Code configuration. Do not share that file.

FoxAPIs is not affiliated with or endorsed by Claude Code. 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

If a setup step looks different from this page, check the Claude Code changelog, release by release.