quarryDocs

Other platforms

Add quarry to Microsoft Copilot Studio or n8n, or import it from its OpenAPI description.

Microsoft Copilot Studio

Copilot Studio has no wallet, so it can't pay per question: it uses free datasets and subscriptions.

  1. In your agent, open Tools → Add a tool → New tool → Model Context Protocol.

  2. Enter a server name (quarry), a description, and the server URL. The agent reads the description to decide when to call quarry, so say what's in it, for example "Search and cite sourced reports, filings, and research."

  3. Choose the authentication and the matching URL:

    AuthenticationServer URLYour agent can
    API key: type Header, name Authorizationhttps://quarry.market/api/mcpUse your organization's subscriptions, for everyone who uses the agent.
    OAuth 2.0: Dynamic discoveryhttps://quarry.market/api/agent/mcpUse the subscriptions of whoever signs in, after they sign in to quarry and click Connect agent.
    Nonehttps://quarry.market/api/mcpSearch quarry and read free datasets only.
  4. Click Create, then Add tool. Under Create a new connection, enter the key if you chose API key: type Bearer followed by the key, as in Bearer qk_.... Then click Add to agent.

For an agent that many employees use, choose API key, with a key created from your organization's quarry account: every question then uses that account's subscriptions, and search limits count that account's searches. With None, Copilot Studio reaches quarry from Microsoft's servers, and your employees share the signed-out limits with everyone else calling from there. See Share with your team and API keys.

Copilot Studio only connects to MCP servers over Streamable HTTP, which is what quarry serves. Your organization's Power Platform data policies apply to the connection.

n8n

  1. Add an MCP Client Tool node and connect it to the Tool input of an AI Agent node.
  2. Set Endpoint to https://quarry.market/api/mcp and Server Transport to HTTP Streamable.
  3. For Authentication, choose None to use free datasets, or Bearer Auth with a new credential whose token is your API key to use your subscriptions.
  4. Leave Tools to Include on All.

OpenAPI

Tools that import an API from an OpenAPI description can use:

https://quarry.market/openapi.json

It describes each dataset's contract and pay-per-question route (see the Dataset contract), plus the subscription routes, which take an API key as a bearer token (Subscription API). It has no free search across datasets: that's only in the MCP server, so use MCP when your tool supports it.

On this page

View as Markdown