Allows interaction with GitHub repositories, specifically accessing the Materials Project MCP repository for cloning and development purposes.
Supports testing of the Materials Project MCP codebase through pytest integration for verification of functionality.
Enables programmatic interaction with the Materials Project database through Python, allowing custom scripts to retrieve and process materials data.
Materials Project MCP
A fastmcp-based tool for writing prompts against data in the Materials Project database.
Installation
You can install the package from source:
Or using uv:
Usage
You can use the CLI:
Or import in your Python code:
API Key Setup
The Materials Project API requires an API key. You can set up your API key in several ways:
- Pass it directly to the MPRester:
- Set it as an environment variable:
Example
Here's a simple example that demonstrates how to use the MCP tools directly:
Development
Local Setup
Running Tests
A tool for querying and analyzing materials data from the Materials Project database using natural language prompts, enabling materials scientists to explore properties, structures, and compositions of materials through conversational interfaces.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityEnables interaction with the Metal Framework by providing documentation search and code generation capabilities using natural language queries.Last updated -22TypeScript
- AsecurityFlicenseAqualityEnables querying WolframAlpha's LLM API for natural language questions, providing structured and simplified answers optimized for LLM consumption.Last updated -325TypeScript
- AsecurityAlicenseAqualityEnables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.Last updated -11,3794TypeScriptMIT License
- -securityFlicense-qualityEnables querying log data stored in SQLite databases through the Model Context Protocol, allowing natural language interactions with log analysis.Last updated -Python