@bicharts/chart-mcp 0.6.54 → 0.6.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,7 +22,17 @@ What that buys you: a working, interactive chart that **fits your data on the fi
22
22
  try** — real source you commit, with no D3, Vega or charting-API expertise in the
23
23
  loop, and a solid starting point to adjust rather than a blank page. Because the
24
24
  engine knows what ~90 chart types can honestly say, it will sometimes propose a view
25
- — or a measure — you had not thought to ask for. Three tools:
25
+ — or a measure — you had not thought to ask for.
26
+
27
+ **What it costs: authoring, and nothing else.** The calls that write a chart (and the
28
+ eligibility lists beyond a free hourly allowance) are metered on your account. What they
29
+ write is yours: the chart code needs no licence, no account, no credits and no connection to
30
+ us to run, view, deploy, ship or keep, for any number of viewers, forever. The host that draws
31
+ it, `@bicharts/chart-host`, is open source (Apache-2.0), and the generated code makes no calls
32
+ home. See section 1(d) of the [RegiaBI terms](https://bizintelligencechampions.com/terms-regiabi)
33
+ and `LICENSE.txt` section 2.
34
+
35
+ The main tools:
26
36
 
27
37
  - **`assess_data_shape`** — profiles a CSV **locally** with the same measurement
28
38
  engine the Power BI visual uses (`@bicharts/shape-core`). No backend call, no
@@ -42,6 +52,12 @@ engine knows what ~90 chart types can honestly say, it will sometimes propose a
42
52
  is not the same as no cost, because eligibility *is* the engine's own answer. Free within
43
53
  a generous hourly allowance; beyond it a call may draw usage credits. A live licence
44
54
  additionally unlocks *draft* types.
55
+ - **`suggest_charts`** — "which charts suit this model?" in one call, for a semantic model in a
56
+ Microsoft Fabric App on Rayfin's data app template: reads the model's tables, measures and
57
+ relationships through the project's own `fabric-app-data` CLI, finds its natural views (by place,
58
+ flows between places, over time, by category), queries each at its grain and asks the eligibility
59
+ engine what fits each, replying with the real counts. Each view saves its rows for
60
+ `generate_chart`. One `list_eligible_charts`-style metered call per view.
45
61
  - **`generate_chart`** — profiles locally, then calls the BIC backend, which picks
46
62
  an eligible chart type for the measured shape (or honors `chart_type`) and
47
63
  returns code that has passed the backend's gates/QC. Renderer selection is the same
@@ -206,6 +222,8 @@ visual (the MCP hits the same billed endpoint):
206
222
 
207
223
  The response header line shows `credits: N` so you can see what each call cost.
208
224
 
225
+ That's the whole bill: a chart you've generated costs nothing to keep, run or show to anyone.
226
+
209
227
  ## Telemetry
210
228
 
211
229
  The server tells the BIC service three things, and nothing else: