Metadata-Version: 2.4
Name: pump-industry-mcp
Version: 0.1.0
Summary: MCP Server for water pump industry — product database, price comparison, PDF parsing, and Excel export
Author: Felix
License-Expression: MIT
License-File: LICENSE
Keywords: industry,mcp,price-comparison,pump,water-pump
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Requires-Dist: fastmcp>=2.0.0
Requires-Dist: openpyxl>=3.1.0
Requires-Dist: pymupdf>=1.24.0
Description-Content-Type: text/markdown

# Pump Industry MCP Server

水泵行业 MCP 服务器 — 产品数据库、竞品对比、PDF 解析、Excel 导出

## 功能 (6 Tools)

| Tool | 说明 |
|------|------|
| `pump_search` | 按型号/名称/功率搜索产品 |
| `pump_get_specs` | 获取产品详细参数 |
| `pump_parse_pdf` | 解析出厂价 PDF → 结构化数据 |
| `pump_compare_table` | 生成竞品对比 Excel |
| `pump_list_categories` | 列出产品分类 |
| `pump_export_excel` | 导出产品目录 Excel |

## 安装

```bash
# 通过 uvx 直接运行（推荐）
uvx pump-industry-mcp

# 或 pip 安装
pip install pump-industry-mcp
```

## 集成到 Hermes Agent

```bash
hermes mcp add pump --command uvx --args pump-industry-mcp
```

## 集成到 Claude Desktop

```json
{
  "mcpServers": {
    "pump": {
      "command": "uvx",
      "args": ["pump-industry-mcp"]
    }
  }
}
```

## 产品数据

首次运行会自动创建 SQLite 数据库并导入示例数据。
数据文件位于 `~/.pump-mcp/pumps.db`

### 产品分类

| 编号 | 分类 | 说明 |
|------|------|------|
| 01 | 深井潜水泵 | QDX/QJ 系列 |
| 02 | 不锈钢潜水泵 | 304/316 材质 |
| 03 | 污水排污泵 | WQ 系列 |
| 04 | 自吸泵 | ZX/CZX 系列 |
| 05 | 多级离心泵 | CDL/CDLF 系列 |
| 06 | 变频泵 | 恒压供水 |
| 07 | 消防泵 | XBD 系列 |
| 08 | 管道泵 | ISG/ISW 系列 |

### 电压类型标注

- `single` — 单相 220V
- `three` — 三相 380V
- `universal` — 单相/三相通用
- `vfd` — 变频专用

### 款式分类

- `A` — A 款（标准型）
- `B` — B 款（加强型）
- `T` — T 款（特种型）

### 浮球开关

- `F` — 带浮球开关
- 无标注 — 不带浮球开关

## 开发

```bash
git clone https://github.com/felix/pump-industry-mcp.git
cd pump-industry-mcp
pip install -e ".[dev]"
python -m pytest tests/
```

## License

MIT
