flieber-cli
flieber is the command-line and agent interface to Flieber's commerce data. It gives developers, scripts and AI agents (Claude, Cursor, Lovable, custom agents) one stable, versioned way to read a tenant's:
- actual sales: what each channel recorded, per product × store;
- adjusted sales: actuals corrected for stockouts, outliers and price effects, used as the forecast input;
- forecast: expected daily demand per product × store, about 12–14 months ahead.
Status: v0 in design. This README is the charter. The code arrives through the issues in the Linear project "Vibee Backend: v0 → greenfield gate" (team Flieber AI - R&D, milestone M3).
Shape
One Python package: a shared core, and several surfaces built on it.
┌──────────────────── flieber (Python package) ────────────────────┐
│ core: auth · GraphQL client · versioned tool contract · shaping │
└──────┬──────────────────────┬───────────────────────┬────────────┘
│ │ │
CLI `flieber …` MCP (local) `flieber mcp` MCP (hosted) `flieber mcp --http`
humans & scripts stdio, launched by container behind a stable URL,
Claude / Cursor used by the self-serve product
- Core
- Authentication with a Flieber public-API key (
FLIEBER_API_KEY, or a config file written byflieber auth login). - A client for core-service's public GraphQL API.
- The versioned tool contract: one definition per capability. It drives both the CLI command and the MCP tool, so the two can never drift.
- Output shaping for humans (tables) and for LLMs (compact
{columns, rows}, point caps, pagination).
- Authentication with a Flieber public-API key (
- CLI:
flieber status,flieber listings,flieber sales,flieber adjusted,flieber forecast,flieber trends. JSON output is available for scripts. - MCP: the same capabilities as MCP tools, over stdio (local) or streamable HTTP (hosted, stateless). The hosted mode forwards the caller's own API key and stores nothing.
Design rule: customers bind to this contract, never to the raw GraphQL schema. The backend behind it may change; the contract changes only through versioning.
Principles
- The three signals are never mixed.
- Adjusted sales never include today or later.
- The forecast never includes dates before today.
- Actual sales come only from the sales-analytics fields.
- Least privilege: the key's grants in core-service decide what can be read. The tool reports a missing grant by name.
- No secrets at rest in the hosted mode. Logs carry only a hash prefix of the key.
- Honest errors: rate limits, missing grants and stale data are reported plainly, with a hint about what to do next.
Tooling (v0)
- Python 3.12.
- Packaging with
uvandpyproject.toml; installable asuvx flieber …/pipx install flieber. - Tests with
pytest.
The PyPI names flieber and flieber-cli were free on 2026-09-29.
Related
- core-service: the public GraphQL API at
/api/graphql, and public-API keys with per-resource grants. - flieber-build-front: the self-serve portal, which issues API keys and shows the MCP and CLI configuration.
- ai-lab
tools/flieber_agent_tunnel: the existingask_flieberMCP server. It is the reference for the streamable-HTTP MCP skeleton and the Clerk OAuth pieces.
Metadata
Release files for flieber 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flieber-0.0.1.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flieber-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / flieber-0.0.1.tar.gz
| Download URL | flieber-0.0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
439d852d72bbc7962a3d2ec577ac3ad829006d221d056263e5e5758cf326b865
|
|
BLAKE2b-256 checksum How to use checksums |
d2d01c9968322168c29467ff1004eed2a0977268994870da10c9e0c6c35e2dbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / flieber-0.0.1-py3-none-any.whl
| Download URL | flieber-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74a23b662a3c208eeb38013ff4b3ae697cb2d300b8dad853d0d5eb16047c1427
|
|
BLAKE2b-256 checksum How to use checksums |
b1e866797314e33fbecc9a27c22065f8517968d770119763b26fec06728f42f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for flieber 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.