Materials Project · Capability
Materials Project API — Materials Absorption
Materials Project API — Materials Absorption. 1 operations. Lead operation: Get AbsorptionDoc documents. Self-contained Naftiko capability covering one Materials Project business surface.
What You Can Do
GET
Searchmaterialsabsorptionget
— Get AbsorptionDoc documents
/v1/materials/absorption
MCP Tools
get-absorptiondoc-documents
Get AbsorptionDoc documents
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Materials Project API — Materials Absorption
description: 'Materials Project API — Materials Absorption. 1 operations. Lead operation: Get AbsorptionDoc documents. Self-contained
Naftiko capability covering one Materials Project business surface.'
tags:
- Materials Project
- Materials Absorption
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-absorption
baseUri: ''
description: Materials Project API — Materials Absorption business capability. Self-contained, no shared references.
resources:
- name: materials-absorption
path: /materials/absorption/
operations:
- name: searchmaterialsabsorptionget
method: GET
description: Get AbsorptionDoc documents
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: material_ids
in: query
type: string
description: Comma-separated list of material_id values to query on
- name: nsites_max
in: query
type: string
description: Query for maximum value of nsites
- name: nsites_min
in: query
type: string
description: Query for minimum value of nsites
- name: nsites
in: query
type: string
description: Query for nsites being equal to an exact value
- name: nsites_not_eq
in: query
type: string
description: Query for nsites being not equal to an exact value
- name: nsites_eq_any
in: query
type: string
description: Query for nsites being any of these values. Provide a comma separated list.
- name: nsites_neq_any
in: query
type: string
description: Query for nsites being not any of these values. Provide a comma separated
list.
- name: nelements_max
in: query
type: string
description: Query for maximum value of nelements
- name: nelements_min
in: query
type: string
description: Query for minimum value of nelements
- name: nelements
in: query
type: string
description: Query for nelements being equal to an exact value
- name: nelements_not_eq
in: query
type: string
description: Query for nelements being not equal to an exact value
- name: nelements_eq_any
in: query
type: string
description: Query for nelements being any of these values. Provide a comma separated list.
- name: nelements_neq_any
in: query
type: string
description: Query for nelements being not any of these values. Provide a comma separated
list.
- name: volume_max
in: query
type: string
description: Query for maximum value of volume
- name: volume_min
in: query
type: string
description: Query for minimum value of volume
- name: density_max
in: query
type: string
description: Query for maximum value of density
- name: density_min
in: query
type: string
description: Query for minimum value of density
- name: density_atomic_max
in: query
type: string
description: Query for maximum value of density_atomic
- name: density_atomic_min
in: query
type: string
description: Query for minimum value of density_atomic
- name: bandgap_max
in: query
type: string
description: Query for maximum value of bandgap
- name: bandgap_min
in: query
type: string
description: Query for minimum value of bandgap
- 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 AbsorptionDoc as a list of comma separated strings. Fields
include: `builder_meta` `nsites` `elements` `nelements` `co'
- 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-absorption-rest
port: 8080
description: REST adapter for Materials Project API — Materials Absorption. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1/materials/absorption
name: materials-absorption
description: REST surface for materials-absorption.
operations:
- method: GET
name: searchmaterialsabsorptionget
description: Get AbsorptionDoc documents
call: materials-project-materials-absorption.searchmaterialsabsorptionget
with:
material_ids: rest.material_ids
nsites_max: rest.nsites_max
nsites_min: rest.nsites_min
nsites: rest.nsites
nsites_not_eq: rest.nsites_not_eq
nsites_eq_any: rest.nsites_eq_any
nsites_neq_any: rest.nsites_neq_any
nelements_max: rest.nelements_max
nelements_min: rest.nelements_min
nelements: rest.nelements
nelements_not_eq: rest.nelements_not_eq
nelements_eq_any: rest.nelements_eq_any
nelements_neq_any: rest.nelements_neq_any
volume_max: rest.volume_max
volume_min: rest.volume_min
density_max: rest.density_max
density_min: rest.density_min
density_atomic_max: rest.density_atomic_max
density_atomic_min: rest.density_atomic_min
bandgap_max: rest.bandgap_max
bandgap_min: rest.bandgap_min
_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-absorption-mcp
port: 9090
transport: http
description: MCP adapter for Materials Project API — Materials Absorption. One tool per consumed operation, routed inline
through this capability's consumes block.
tools:
- name: get-absorptiondoc-documents
description: Get AbsorptionDoc documents
hints:
readOnly: true
destructive: false
idempotent: true
call: materials-project-materials-absorption.searchmaterialsabsorptionget
with:
material_ids: tools.material_ids
nsites_max: tools.nsites_max
nsites_min: tools.nsites_min
nsites: tools.nsites
nsites_not_eq: tools.nsites_not_eq
nsites_eq_any: tools.nsites_eq_any
nsites_neq_any: tools.nsites_neq_any
nelements_max: tools.nelements_max
nelements_min: tools.nelements_min
nelements: tools.nelements
nelements_not_eq: tools.nelements_not_eq
nelements_eq_any: tools.nelements_eq_any
nelements_neq_any: tools.nelements_neq_any
volume_max: tools.volume_max
volume_min: tools.volume_min
density_max: tools.density_max
density_min: tools.density_min
density_atomic_max: tools.density_atomic_max
density_atomic_min: tools.density_atomic_min
bandgap_max: tools.bandgap_max
bandgap_min: tools.bandgap_min
_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: $.