Web search MCP / Codex
Web search MCP server for OpenAI Codex CLI
Codex reads the key for a remote MCP server from an environment variable you name, so the config file holds no secret. Ristria answers its web lookups with the passages that answer and their sources.
Set it up
- Create an API key in the console.
- Add the block above to ~/.codex/config.toml.
- Export RISTRIA_API_KEY in your shell profile and start Codex.
[mcp_servers.ristria]
url = "https://api.ristria.com/mcp"
bearer_token_env_var = "RISTRIA_API_KEY"Then, in the shell that starts Codex:
export RISTRIA_API_KEY="<YOUR_API_KEY>"Codex sends the value of RISTRIA_API_KEY as a bearer token. Set the variable in the shell that starts Codex.
Hosted endpoint: https://api.ristria.com/mcp (Streamable HTTP, key as a bearer token). Checked against Codex: MCP on 2026-12-04.
What your agent gets
Each search returns the passages that answer the query, with the source URL of each, instead of the whole pages. On our benchmark of 30 Oct 2026 the answer the agent read was 85% lighter than the full pages of the same results (median). With one search per question, an open model answered 90.2% of SimpleQA Verified correctly. Method and limits are on the benchmarks page.
| Tool | What it does | Credits |
|---|---|---|
| search | Basic or advanced, BM25 passages included | 1 credit |
| extract | One URL: HTML, /llms.txt or PDF | 1 credit |
| map | robots.txt, sitemaps and link discovery | 1 credit, up to 200 URLs |
| find_similar | Seed title and key terms, lexical and entity overlap | 1 credit |
| research | mini: 2 sub-queries and a follow-up search · pro: 4 sub-queries and deeper extraction; cited sources and passages, no written report | 3 credits mini · 5 credits pro |
Free plan: 1,500 credits a month. Try every endpoint and MCP tool. A card check unlocks the credits, with no charge. Credits renew every month. Every tool and its options are in the tools reference; plans are on the pricing page.