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.
- Create a key in Platform → API keys. Store it as
PEARCH_API_KEYin your backend’s secret configuration. - Add
https://mcp.pearch.ai/mcpto your backend’s agent framework using Streamable HTTP. SendAuthorization: Bearer <YOUR_API_KEY>from the server. Your end users can use the agent without a Pearch account or API key. - Discover the tool schemas and expose only the search and enrichment tools your product needs.
- Call
get_user_infoto verify your connection, credits, and prices without using credits. Keep credentials out of output. - 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.
Updated about 4 hours ago
Did this page help you?
