CostCrunchGet an API key

Suppliers

The suppliers you buy from and what you buy from each.

costcrunch 0.1.0

cost suppliers list

List your suppliers with total spend and first/last purchase dates, biggest spend first.

Command line
cost suppliers list
MCP tool
suppliers_list
Python
cc.suppliers.list()
ParameterTypeDescription
search
--search
stringOnly suppliers whose name contains this.

cost suppliers get <supplier-id>

Get one supplier: spend (all time and last 30/60/90 days), branches/addresses and sales rep.

Command line
cost suppliers get <supplier-id>
MCP tool
suppliers_get
Python
cc.suppliers.get()
ParameterTypeDescription
supplier_idrequiredstringSupplier id.

cost suppliers materials <supplier-id>

What you buy from a supplier: each material with its latest, average, min and max price.

Command line
cost suppliers materials <supplier-id>
MCP tool
suppliers_materials
Python
cc.suppliers.materials()
ParameterTypeDescription
supplier_idrequiredstringSupplier id.
search
--search
stringOnly materials matching this.
purchase_type
--purchase-type
stringOnly this kind of line.
One of: materials, service, freight, adjustment, other
limit
--limit
integerMax materials (1-200).
Default: 25
offset
--offset
integerSkip this many (paging).
Default: 0