Content
# mcp-1c-price
MCP Server for searching 1C software products and forming commercial proposals directly from the IDE.
The manager writes in free text - AI finds products in the current price list and returns a ready-made table with codes, prices, and total.
**Works in:** Claude Code · OpenCode · Codex
---
## Example
```
User: ERP corp + mini server + client license for 5 seats, make a quote
AI:
| № | Code | Name | Quantity | Price | Total |
|---|---------------|-------------------------------------------------|-------:|-----------:|-----------:|
| 1 | `2900001871327` | 1C:ERP Enterprise Management 2. Corporate... | 1 | 4 229 000 | 4 229 000 |
| 2 | `2900001833561` | 1C:Enterprise 8.3. MINI Server for 5 connections... | 1 | 21 300 | 21 300 |
| 3 | `2900002158403` | 1C:Enterprise 8. Client license for 5 users... | 1 | 84 200 | 84 200 |
| | | **TOTAL** | | | **4 334 500 ** |
```
---
## Quick Start
**1. Register the server in the IDE** — `uvx` will download the package automatically. Example for Claude Code (`.claude/settings.json`):
```json
{
"mcpServers": {
"1c-price": {
"command": "uvx",
"args": ["--from", "git+https://github.com/snn02/1c-products-price", "mcp-1c-price"]
}
}
}
```
**2. Load the price list** — once after connection:
```
update price
```
**3. Work.**
Ready configs for Claude Code, OpenCode, and Codex are in the [`configs/`](configs/) folder.
Details are in the [configuration guide](docs/configuration.md).
---
## MCP Tools
| Tool | What it does |
|-----------|-----------|
| `search_products(query)` | Search by name (FTS5 + LIKE fallback) |
| `get_product(code)` | Get a product by article |
| `build_quote(items)` | Form a quote: table + total |
| `refresh_prices()` | Update the database from the current 1C price list |
---
## Documentation
- [Installation and first launch](docs/installation.md)
- [Setup in Claude Code / OpenCode / Codex](docs/configuration.md)
- [Tool description](docs/tools.md)
- [Development and contribution](docs/development.md)
---
## Data Source
1C price list: `https://1c.ru/ftp/pub/pricelst/price_1c.zip`
Updated daily. Update the database: `mcp-1c-price-update` or call `refresh_prices()` from the IDE.