battery-mcp
Enables LLMs to verify the novelty and validity of invented battery materials, with support for searching and validating against a materials database.
README
Material Project MCP Server
A Model Context Protocol server that provides materials validation capabilities. This server enables LLMs to verify invented materials are novel and valid or not. We currently support cathode battery materials.
<div align="center"> <img src="./assets/image.png" alt="Image" width="50%"> </div>
[!CAUTION] This server can access local/internal IP addresses and may represent a security risk. Exercise caution when using this MCP server to ensure this does not expose any sensitive data.
Available Tools
search_material
Searches and returns relevant battery materials from the database.
Parameters:
formula(string, required): Formula query for battery materials (e.g., "LiCoO2")n(integer, optional): Number of results to return (default: 5, min: 1, max: 100)
verify_input_material
Validates whether a material exists in the database.
Parameters:
original_material(string, required): Material formula to validate (e.g., "LiFePO4")
battery_material_validation
Parses and validates battery materials from a query, comparing them against a reference material.
Parameters:
original_material(string, required): Reference battery material (e.g., "LiCoO2")query(string, required): Comma-separated list of proposed materials (e.g., "Li2B4O7, Li1.06Ti2O4")
Installation
This MCP server requires API key from materials project, you can get api key and use it with env variable MP_API_KEY
export MP_API_KEY=
Using uv (recommended)
When using uv no specific installation is needed. We will
use uvx to directly run battery-mcp.
Using PIP
Alternatively you can install battery-mcp via pip:
pip install battery-mcp
After installation, you can run it as a script using:
python -m battery_mcp
Running with streamable-http
You can also deploy mcp as http server with streamable-http transport protocol
python -m battery_mcp --transport http --http-host 0.0.0.0 --http-port 8080
or using uvx
uvx battery-mcp --transport http --http-host 0.0.0.0 --http-port 8080
Configuration
Configure for Claude.app
Add to your Claude settings:
<details> <summary>Using uvx</summary>
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": ["battery-mcp"]
}
}
}
</details>
<details> <summary>Using pip installation</summary>
{
"mcpServers": {
"fetch": {
"command": "python",
"args": ["-m", "battery-mcp"]
}
}
}
</details>
License
battery-mcp is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.