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.
Install the plugin
Run this in a terminal.
Terminalcodex plugin marketplace add OPACTOR-DEV/querying-plugins codex plugin add querying@queryingSign 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.
Ask your first question
Paste this into the agent. One ChatGPT answer costs 1 credit.
First promptAsk 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 = 240Let 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 →