Connect explainx.ai to Claude Code
Add explainx.ai to Claude Code's MCP config, or use the CLI helper.
Claude Code, Anthropic's terminal coding agent, reads MCP servers from a project's .mcp.json or your global config, and can also add them with a single claude mcp add command. That makes explainx.ai's search and pricing tools available inside a coding session without switching to a browser.
Add the explainx.ai MCP server so you can search AI news and compare model prices. Run `claude mcp add --transport http explainx https://mcp.explainx.ai/mcp`, then reconnect with `/mcp` and open the browser tab you're prompted with to sign in with my explainx.ai account and approve the read-only permissions.
Setup steps
- 01Run claude mcp add --transport http explainx https://mcp.explainx.ai/mcp, or edit .mcp.json directly.
- 02Restart Claude Code (or run /mcp) to pick up the new server.
- 03Approve the OAuth authorization prompt that opens in your browser.
- 04Ask Claude to search explainx.ai news, prices, or directory listings.
.mcp.json (project root){
"mcpServers": {
"explainx": {
"url": "https://mcp.explainx.ai/mcp"
}
}
}Frequently asked
Should I add explainx.ai to .mcp.json or my global Claude Code config?
Add it to a project's .mcp.json if you only want it available there, or to your global config (claude mcp add --scope user) if you want explainx.ai available across every project.