Skip to main content
Glama

Materials Project MCP

by fair2wise
BSD 3-Clause
1

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MP_API_KEYYesYour Materials Project API key

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_materials_with_elements
Find materials containing specific elements. Args: elements: List of elements that must be present in the material (e.g., ["Fe", "O"]). exclude_elements: Optional list of elements that must not be present. max_records: Maximum number of records to return (default: 10). Returns: List of materials containing the specified elements.
get_material_details
Get detailed information about a specific material by its Materials Project ID. Args: material_id: The Materials Project ID (e.g., "mp-149"). Returns: Dictionary containing detailed information about the material.
find_materials_by_formula
Find materials with a specific chemical formula. Args: formula: Chemical formula to search for (e.g., "Fe2O3"). max_records: Maximum number of records to return (default: 10). Returns: List of materials matching the specified formula.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fair2wise/materials_project_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server