home / mcp / bom-mcp mcp server
Provides ESP BOM data via an MCP server for AI assistants with optional REST API.
Configuration
View docs{
"mcpServers": {
"agsinghmac-bom-mcp": {
"command": "python",
"args": [
"run_mcp.py",
"--port",
"8080"
]
}
}
}This MCP server provides a focused interface for managing Electric Submersible Pump (ESP) parts and BOM data, enabling AI assistants to access parts, assemblies, units, and BOM information through both a streaming MCP interface and an optional REST API.
You can run the MCP server to enable AI assistants to query ESP parts, BOMs, and assemblies. Use the default SSE transport for interactive conversations and data retrieval, or enable the optional REST API for programmatic access. Start the MCP server, then connect your MCP client to the provided endpoints to list ESP models, fetch full ESP details with assemblies, view BOMs, and retrieve parts by category.
Prerequisites: Python is installed on your system. You should also have access to your shell or terminal.
Install required Python packages from the project requirements.
Data model includes Parts, Assemblies, and ESP Units to organize components and top-level pumps.
Docker usage is available for local development, including building and running the MCP server via docker-compose.
The project is released under the MIT license.
List all ESP pump models available in the BOM database.
Retrieve a complete ESP including its assemblies and parts.
Get a flat BOM parts list for a specific ESP.
Generate a BOM summary with weight, part counts, and critical parts.
Filter parts by their category.
List all critical parts across ESP models.
Retrieve a specific assembly along with its constituent parts.