Connect your product agent

Use MCP when you want to add Pearch search and enrichment tools to an agent inside your product. Your backend uses your workspace’s Pearch API key, and requests use that workspace’s credits.

  1. Create a key in Platform → API keys. Store it as PEARCH_API_KEY in your backend’s secret configuration.
  2. Add https://mcp.pearch.ai/mcp to your backend’s agent framework using Streamable HTTP. Send Authorization: Bearer <YOUR_API_KEY> from the server. Your end users can use the agent without a Pearch account or API key.
  3. Discover the tool schemas and expose only the search and enrichment tools your product needs.
  4. Call get_user_info to verify your connection, credits, and prices without using credits. Keep credentials out of output.
  5. Prepare a small search and let the user review its requirements before running it.

Check the MCP server reference for the available tools. For features beyond the MCP tool schemas, see the API Reference.

Building with a coding agent? Give it the full MCP integration instructions.


Did this page help you?