BOM-MCP
Provides access to an Electric Submersible Pump (ESP) parts and Bill of Materials database via an MCP server. It enables AI assistants to manage pump models, retrieve assembly components, and analyze BOM summaries including part weights and criticality.
README
BOM-MCP
Electric Submersible Pump (ESP) Parts and Bill of Materials (BOM) database with MCP server for AI assistants.
Features
- SQLite database with ESP parts, assemblies, and units
- MCP server (SSE transport) for AI assistants
- Command-line interface
- REST API server (optional)
Installation
pip install -r requirements.txt
Usage
MCP Server (SSE transport - default)
python run_mcp.py --port 8080
REST API (optional)
python api.py [port] # Default port: 5000
CLI
python cli.py esp list
python cli.py esp get ESP-001
python cli.py esp bom ESP-001
python cli.py parts get ESP-MTR-001
python cli.py assemblies get ASM-MTR-001
MCP Tools
| Tool | Description |
|---|---|
list_esps |
List all ESP pump models |
get_esp |
Get complete ESP with assemblies and parts |
get_esp_bom |
Get flat BOM parts list for an ESP |
get_bom_summary |
Get BOM summary (weight, counts, critical) |
get_parts_by_category |
Filter parts by category |
get_critical_parts |
List all critical parts |
get_assembly |
Get assembly with its parts |
| And more... |
Data Model
- Parts: Individual components (part_number, name, category, material, weight_kg, is_critical, uom)
- Assemblies: Groups of parts
- ESP Units: Top-level pumps linking assemblies
Docker
Local Development
# Build and run MCP server on port 8080
docker-compose up --build
# MCP server available at http://localhost:8080
Google Cloud Run Deployment
# Deploy directly from source
gcloud run deploy bom-mcp \
--source . \
--platform managed \
--region us-central1 \
--allow-unauthenticated
The MCP server will be available at your Cloud Run URL.
License
MIT
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.