Materials Project · Capability
Materials Project API — Materials Alloys
Materials Project API — Materials Alloys. 1 operations. Lead operation: Get AlloyPairDoc documents. Self-contained Naftiko capability covering one Materials Project business surface.
What You Can Do
GET
Searchmaterialsalloysget
— Get AlloyPairDoc documents
/v1/materials/alloys
MCP Tools
get-alloypairdoc-documents
Get AlloyPairDoc documents
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Materials Project API — Materials Alloys
description: 'Materials Project API — Materials Alloys. 1 operations. Lead operation: Get AlloyPairDoc documents. Self-contained
Naftiko capability covering one Materials Project business surface.'
tags:
- Materials Project
- Materials Alloys
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
MATERIALS_PROJECT_API_KEY: MATERIALS_PROJECT_API_KEY
capability:
consumes:
- type: http
namespace: materials-project-materials-alloys
baseUri: ''
description: Materials Project API — Materials Alloys business capability. Self-contained, no shared references.
resources:
- name: materials-alloys
path: /materials/alloys/
operations:
- name: searchmaterialsalloysget
method: GET
description: Get AlloyPairDoc documents
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: material_ids
in: query
type: string
description: Comma-separated list of material_ids to query on
- name: formulae
in: query
type: string
description: Comma-separated list of end-point formulas to query.
- name: _page
in: query
type: integer
description: Page number to request (takes precedent over _limit and _skip).
- name: _per_page
in: query
type: integer
description: Number of entries to show per page (takes precedent over _limit and _skip). Limited to 1000.
- name: _skip
in: query
type: integer
description: Number of entries to skip in the search.
- name: _limit
in: query
type: integer
description: Max number of entries to return in a single query. Limited to 1000.
- name: _fields
in: query
type: string
description: 'Fields to project from AlloyPairDoc as a list of comma separated strings. Fields
include: `builder_meta` `alloy_pair` `pair_id`'
- name: _all_fields
in: query
type: boolean
description: Include all fields.
authentication:
type: apikey
key: X-API-KEY
value: '{{env.MATERIALS_PROJECT_API_KEY}}'
placement: header
exposes:
- type: rest
namespace: materials-project-materials-alloys-rest
port: 8080
description: REST adapter for Materials Project API — Materials Alloys. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/materials/alloys
name: materials-alloys
description: REST surface for materials-alloys.
operations:
- method: GET
name: searchmaterialsalloysget
description: Get AlloyPairDoc documents
call: materials-project-materials-alloys.searchmaterialsalloysget
with:
material_ids: rest.material_ids
formulae: rest.formulae
_page: rest._page
_per_page: rest._per_page
_skip: rest._skip
_limit: rest._limit
_fields: rest._fields
_all_fields: rest._all_fields
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: materials-project-materials-alloys-mcp
port: 9090
transport: http
description: MCP adapter for Materials Project API — Materials Alloys. One tool per consumed operation, routed inline
through this capability's consumes block.
tools:
- name: get-alloypairdoc-documents
description: Get AlloyPairDoc documents
hints:
readOnly: true
destructive: false
idempotent: true
call: materials-project-materials-alloys.searchmaterialsalloysget
with:
material_ids: tools.material_ids
formulae: tools.formulae
_page: tools._page
_per_page: tools._per_page
_skip: tools._skip
_limit: tools._limit
_fields: tools._fields
_all_fields: tools._all_fields
outputParameters:
- type: object
mapping: $.