Skip to main content

MatRouter

MatRouter logo

English | 简体中文

MatRouter is an agent-native materials evidence substrate. It routes explicit EvidenceRequirement objects to source-qualified operations and uses deterministic Python operators to decide whether returned evidence is admissible for a ClaimSpec.

The Agent control plane (LLM + MCP + Skill) plans and writes. The Python evidence plane owns capability truth, execution outcomes, provenance, scientific gates, and ClaimSupportMap. MatRouter therefore keeps availability → execution → admissibility separate: retrievable data or a successful API call is not by itself support for a scientific claim.

Install

MatRouter requires Python 3.11 or newer.

# Python dependency
uv add --prerelease=allow matrouter

# Standalone MCP command
uv tool install --prerelease=allow matrouter

From a checkout:

git clone https://github.com/MatRouter/matrouter.git
cd matrouter
uv sync
uv run matrouter

Python

from matrouter import create_router

with create_router() as router:
    print(router.explain_sources())

EvidenceBundle is the sole evidence truth. Deterministic qualification returns exactly four scientific dispositions: supported, conflicted, incomparable, and incomplete. An Agent may revise its plan but may not upgrade a MatRouter disposition.

Agent plugin

Codex and Claude Code can install the bundled plugin; other MCP hosts can run matrouter as a local stdio server and use the portable Skill when supported. See the user guide for the current installation and configuration procedure.

The sole distributable Skill source is plugins/matrouter/skills/matrouter/.

Scope

MatRouter does not mirror upstream databases, infer missing scientific context, or impose a fixed end-to-end research workflow. OPTIMADE remains complementary: OPTIMADE standardizes provider-side common records; MatRouter supplies agent-side evidence routing and task-relative scientific admissibility across native and OPTIMADE sources.

Documentation

Contact

License

MatRouter is licensed under Apache-2.0; see LICENSE and NOTICE. Retrieved data remains subject to each upstream provider's terms, licenses, attribution requirements, and access restrictions.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matrouter-0.3.4.tar.gz (833.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matrouter-0.3.4-py3-none-any.whl (359.6 kB view details)

Uploaded Python 3

File details

Details for the file matrouter-0.3.4.tar.gz.

File metadata

  • Download URL: matrouter-0.3.4.tar.gz
  • Upload date:
  • Size: 833.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for matrouter-0.3.4.tar.gz
Algorithm Hash digest
SHA256 9fb62a351e7bac7fb5f80f3ee838b3c2c43d058df97f8e2b639e9f5a0923cf93
MD5 81d201b06a2d8cd23521cf0be0226c6e
BLAKE2b-256 d19a17db68f0b577522f22579967bd17def85708378a4b3c8e6da97fc4503bdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for matrouter-0.3.4.tar.gz:

Publisher: publish.yml on MatRouter/matrouter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file matrouter-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: matrouter-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 359.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for matrouter-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cc8ab80ea0393f7a3fa5632f0440c3dd13b03df2db2d15b028dc4f6378cda529
MD5 d1603879a4fe138e55968fe519e0e8fa
BLAKE2b-256 1b46649dc0509ff36b244e75193ca404c84c0d4713e1c9dfc8178b4e89a871a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for matrouter-0.3.4-py3-none-any.whl:

Publisher: publish.yml on MatRouter/matrouter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.11.0

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.5

2 files

This release

0.3.4 This release

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page