Skip to content
MCP server

MaterialsCodeGraph

MCP server for materials simulations with a binding price quoted before every run

Pricing
Freemium
Platforms
API, Web
Runs
Remotely
Version
0.1.1
Listing updated
1 day ago

About MaterialsCodeGraph

MaterialsCodeGraph is a freemium MCP server for health and science. It runs as a hosted remote server, so there is nothing to install locally.

MaterialsCodeGraph wraps Quantum ESPRESSO, GPUMD and kALDo behind one endpoint, mainly for computing thermal conductivity. The distinguishing mechanism is billing: mcg_quote returns a free, binding quote with a hash and expiry, mcg_run spends exactly that amount or refuses a repriced or expired quote, and mcg_get_run returns the finished record. Each run's artifacts carry SHA-256 hashes so a rerun can be checked file by file.

The site's worked example is a kALDo direct-inversion calculation for silicon at 300 K costing 179 tokens, or $0.18, finished in 4 minutes 20 seconds, with the result compared against a pinned reference within a 2 percent tolerance. It is candid that this does not predict measured silicon, and that the QE plus D3Q engine currently covers silicon only on meshes below convergence, so its values are pipeline checks.

Tokens cost $0.001 each. Academic emails (.edu, .ac.xx) get 5,000 tokens at signup, other keys can read and quote free, and spend keys must set a daily token cap. Access uses bearer API keys with read, quote and spend scopes.

Install

Run in a terminal

claude mcp add --transport http mcg https://api.materialscodegraph.com/mcp

Add to Settings → Connectors → Add custom connector

https://api.materialscodegraph.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcg": {
      "url": "https://api.materialscodegraph.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcg": {
      "type": "http",
      "url": "https://api.materialscodegraph.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcg": {
      "serverUrl": "https://api.materialscodegraph.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcg": {
      "type": "http",
      "url": "https://api.materialscodegraph.com/mcp"
    }
  }
}

Tools this server provides (17)

Taken from the project documentation; the running server may differ.

mcg_catalog
Lists available methods with cost and time.
mcg_rates
Returns the rate card.
mcg_quote
Returns a binding price for a request.
mcg_clusters
Lists clusters.
mcg_stage
Stages a run.
mcg_run
Launches a quoted run.
mcg_list_runs
Lists runs.
mcg_get_study
Reads a study.
mcg_list_studies
Lists studies.
mcg_update_study
Updates a study.
mcg_study_members
Manages study members.
mcg_delete_study
Deletes a study.
mcg_archive
Archives items.
mcg_get_run
Returns run state, billing and record.
mcg_cancel_run
Cancels a run.
mcg_fetch_artifacts
Lists artifacts with SHA-256 hashes.
mcg_get_artifact
Fetches one artifact.

What it does

Binding quotes
Get a fixed price for free before any compute starts.
Permanent run records
Inputs, code versions and artifact hashes are kept.
Three engines
Quantum ESPRESSO, GPUMD and kALDo.
Scoped keys
Read, quote and spend scopes with a required daily token cap.
Idempotent runs
Reusing an idempotency key returns the same run.
Live catalog
mcg_catalog lists methods with token cost and wall time.

Good for

  • Price a thermal conductivity calculation before committing
  • Run a phonon calculation from an agent and keep an auditable record
  • Reproduce a recorded result and check artifact hashes
  • Cap daily spend for an autonomous agent

Pricing

Freemium, from $10 a month

Free quotes; 0.001 USD per token; monthly plan 20 USD, token blocks from 10 USD

Prices change. Check materialscodegraph.com before you buy.

MaterialsCodeGraph FAQ

Do quotes cost anything?

No. mcg_quote is free and binding.

How much does a run cost?

Tokens are $0.001 each; the kALDo silicon example cost 179 tokens, or $0.18.

Who gets free tokens?

Academic email addresses receive 5,000 tokens at signup.

Are the results validated against experiment?

Not necessarily. The site says its silicon examples do not predict measured values and the QE plus D3Q values are pipeline checks.

Is MaterialsCodeGraph free?

MaterialsCodeGraph has a free plan, with paid plans for more usage or features. Paid plans start at $10 a month.

How do I add MaterialsCodeGraph to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcg https://api.materialscodegraph.com/mcp

What are the best alternatives to MaterialsCodeGraph?

The closest alternatives to MaterialsCodeGraph are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and MedXpert 全球法规连接器 (reg-connector).

Alternatives to MaterialsCodeGraph

  1. Tooluniverse

    MCP server

    MCP server giving AI agents access to thousands of scientific research tools

    Runs locally
    • Open source
    • 1.8K GitHub stars
    • Health and science
  2. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  3. Later Stages

    MCP server

    California senior living and care provider records from state licensing and Medicare

    • 6 tools
    • Remote
    • Free
    • Health and science
  4. Read-only local index of medical-device standards with official links, no standard text

    Runs locally
    • 4 tools
    • Free
    • Legal and government
  5. Splyt

    MCP server

    Let Claude or ChatGPT read your Splyt workouts, records, plan, habits and sleep

    • Remote
    • Free
    • Health and science