chain-insights 0.3.5 → 0.3.6

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
@@ -120,8 +120,11 @@ GraphRAG MCP endpoint.
120
120
  Hosted GraphRAG MCP lets new users try `graph_query` with a small public free
121
121
  quota before setting up paid access. The default public free graph_query quota
122
122
  is 10 execution seconds per IP per UTC day. Use `usage_status` to see the
123
- current caller quota. When the free quota is exhausted, prepare a wallet or use
124
- an invited tester access key and retry.
123
+ current caller quota. Prepared wallet users receive the daily public grant
124
+ first, then paid access continues automatically after the grant is exhausted.
125
+ If you do not have a prepared wallet yet, use bounded single `graph_query`
126
+ calls for the demo, then prepare a wallet or use an invited tester access key
127
+ when the quota is exhausted.
125
128
 
126
129
  Open a case and run a small investigation:
127
130
 
@@ -182,6 +185,10 @@ cia mcp call graph_query_batch \
182
185
  'queries=[{"id":"count","query":"USE live_topology MATCH (n) RETURN count(n) AS count LIMIT 1"},{"id":"archive_flows","query":"USE archive_topology MATCH (src:Address)-[f:FLOWS_TO]->(dst:Address) RETURN f.period_granularity AS granularity, src.address AS source, dst.address AS target LIMIT 3"},{"id":"facts_sample","query":"USE facts MATCH (a:Address)-[:HAS_FEATURE]->(f:AddressFeature) RETURN a.address AS address, f.sent_count AS sent_count LIMIT 3"}]'
183
186
  ```
184
187
 
188
+ For no-wallet public demos, prefer the single-query example first. Batch calls
189
+ reserve worst-case execution time and can ask for paid access even when a small
190
+ free balance remains.
191
+
185
192
  Run suspect topology without requiring an incident timestamp:
186
193
 
187
194
  ```bash
@@ -34,11 +34,15 @@ GraphRAG MCP endpoint.
34
34
  remaining free quota.
35
35
  - Hosted endpoints can expose a public free graph_query quota. The default is
36
36
  10 execution seconds per IP per UTC day.
37
+ - Prepared wallet users receive the daily public grant first; after it is used,
38
+ x402 payment continues automatically from the configured wallet.
37
39
  - Use explicit LIMIT and pagination in your query when you want bounded result
38
40
  sets.
39
41
  - The GraphRAG MCP server does not append `LIMIT`; Chain Insights recipes own
40
42
  their own limits and pagination.
41
- - Use `graph_query_batch` for related reads that should share one paid call.
43
+ - Use single bounded `graph_query` calls for public no-wallet demos. Use
44
+ `graph_query_batch` for related reads that should share one paid call; public
45
+ free access does not include batches.
42
46
  - `per_query_timeout_seconds` is optional and capped at `10` by default.
43
47
  - Returned rows live in `structuredContent.facts`.
44
48
 
@@ -74,6 +78,10 @@ chain-insights mcp call graph_query_batch \
74
78
  'queries=[{"id":"count","query":"USE live_topology MATCH (n) RETURN count(n) AS count LIMIT 1"},{"id":"archive_flows","query":"USE archive_topology MATCH (src:Address)-[f:FLOWS_TO]->(dst:Address) RETURN f.period_granularity AS granularity, src.address AS source, dst.address AS target LIMIT 3"}]'
75
79
  ```
76
80
 
81
+ Batch calls reserve worst-case execution time from their timeout settings. On
82
+ public hosted endpoints, they can ask for paid x402 access even when a small
83
+ free balance remains.
84
+
77
85
  Batch result facts include:
78
86
 
79
87
  ```json
package/docs/mcp-proxy.md CHANGED
@@ -152,10 +152,21 @@ chain-insights mcp call graph_query \
152
152
  Hosted GraphRAG MCP can allow anonymous `graph_query` calls before wallet
153
153
  setup. The default public free graph_query quota is 10 execution seconds per IP
154
154
  per UTC day, reset on the UTC calendar day. `usage_status` returns only the
155
- current caller's quota status. Public free access does not include
156
- `graph_query_batch`; use a tester access key or paid x402 mode for regular
157
- usage and batches. Use explicit LIMIT and pagination in your query when you
158
- want bounded result sets.
155
+ current caller's quota status. Wallet users receive the same daily public grant
156
+ first; after it is exhausted, x402 payment continues automatically when
157
+ `wallet ready` reports ready.
158
+
159
+ Public free access is intended for look-and-feel demos with bounded single
160
+ `graph_query` calls. Public free access does not include `graph_query_batch`;
161
+ use a tester access key or paid x402 mode for regular usage and batches. Use
162
+ explicit LIMIT and pagination in your query when you want bounded result sets.
163
+
164
+ Staging UAT on 2026-05-31 showed the 10-second grant was enough for exact
165
+ Bittensor address checks, sample address reads, sample flow reads, and the
166
+ free-to-paid handoff. The tested address
167
+ `5EkTMF1noWnWupGxQqtPczW2FFB7ktdVwjaZ22Cam54U93Xx` returned no indexed live or
168
+ archive rows on staging, but bounded sample reads still returned Bittensor
169
+ topology data inside the same daily grant.
159
170
 
160
171
  For custom graph reads, install the shipped `chain-insights-cypher` skill. Its
161
172
  Memgraph examples reference distinguishes staging-tested GraphRAG MCP query
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chain-insights",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "AML investigation CLI and MCP proxy for blockchain risk, fund-flow tracing, case reports, and GraphRAG MCP access",
5
5
  "homepage": "https://chain-insights.ai",
6
6
  "repository": {