# MaterialsCodeGraph > MaterialsCodeGraph runs materials simulations for AI agents over MCP, with a binding token quote before every run and a permanent record after it. - MCP endpoint: https://api.materialscodegraph.com/mcp (Streamable HTTP, POST-only JSON-RPC; header Authorization: Bearer ) - Registry: com.materialscodegraph/mcg at https://registry.modelcontextprotocol.io/v0.1/servers?search=materialscodegraph - Tools (seventeen): mcg_catalog, mcg_rates, mcg_quote, mcg_clusters, mcg_stage, mcg_run, mcg_list_runs, mcg_get_study, mcg_list_studies, mcg_update_study, mcg_study_members, mcg_delete_study, mcg_archive, mcg_get_run, mcg_cancel_run, mcg_fetch_artifacts, mcg_get_artifact - Key scopes: read, quote, spend; a spend key carries daily_token_cap: a positive integer per UTC day, or "unlimited" - Rates: https://api.materialscodegraph.com/api/rates (version 6, token_usd 0.001 on 2026-10-18) - Kinds: https://api.materialscodegraph.com/api/kinds ## Connect Claude Code: claude mcp add --transport http mcg https://api.materialscodegraph.com/mcp --header "Authorization: Bearer $MCG_MCP_KEY" Codex: codex mcp add mcg --url https://api.materialscodegraph.com/mcp --bearer-token-env-var MCG_MCP_KEY Other clients: curl -s https://api.materialscodegraph.com/mcp -H "Authorization: Bearer $MCG_MCP_KEY" -H "content-type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mcg_rates","arguments":{}}}' ## Pages - https://materialscodegraph.com/ (sections: Price, Calls, Record, Connect; Fig. 1 replays run_e67bd64f82b84c5ba71d) - https://materialscodegraph.com/fixtures/quote-2026-10-16.json (a captured mcg_quote request and response, QE + D3Q silicon) - https://materialscodegraph.com/fixtures/replay-2026-10-16.json (the event log, billing, and artifacts of a finished kALDo run, with its OpenMaterials reference) - https://materialscodegraph.com/fixtures/catalog-2026-10-18.json (a captured mcg_catalog response, filtered, last on 2026-11-16: entries of private code and of retired kinds are removed) - https://materialscodegraph.com/terms.html - https://materialscodegraph.com/privacy.html - App: https://app.materialscodegraph.com MaterialsCodeGraph is operated by Da Vinci Labs, Berkeley.