Skip to content

Connect querying.ai to your AI agent

Install the plugin and sign in. There is no API key to copy: your agent runs engines, monitors and search on your account.

  1. Install the plugin

    Run this in a terminal.

    Terminal
    codex plugin marketplace add OPACTOR-DEV/querying-plugins
    codex plugin add querying@querying
  2. Sign in

    Open a new chat and Codex opens the sign-in page. If it does not, run codex mcp login querying.

    New to querying.ai? Sign up on the sign-in page and get 500 free credits.

  3. Ask your first question

    Paste this into the agent. One ChatGPT answer costs 1 credit.

    First prompt
    Ask ChatGPT "best wireless earbuds for running" from the US with the querying run_prompt tool. Show me the answer and its sources.

Other ways to connect

Connect with an API key

For servers, CI and clients without sign-in. Create a key in the dashboard and send it as a bearer token.

~/.codex/config.toml
[mcp_servers.querying]
url = "https://mcp.querying.ai/mcp"
bearer_token_env_var = "QUERYING_API_KEY"
tool_timeout_sec = 240
Create an API key →

Let the agent set itself up

Agents that read docs can start from auth.md. It covers sign-up, keys, scopes and credits.

Open auth.md →
Read the full setup guide ↗