alloc-context 0.1.2__tar.gz → 0.2.1__tar.gz
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.
- alloc_context-0.2.1/LICENSE +93 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/PKG-INFO +106 -60
- alloc_context-0.2.1/README.md +158 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloc_context.egg-info/PKG-INFO +106 -60
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloc_context.egg-info/SOURCES.txt +33 -4
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloc_context.egg-info/requires.txt +3 -0
- alloc_context-0.2.1/alloccontext/__init__.py +3 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/__main__.py +7 -2
- alloc_context-0.2.1/alloccontext/constants.py +10 -0
- alloc_context-0.2.1/alloccontext/ingest/alt_quote_registry.py +98 -0
- alloc_context-0.2.1/alloccontext/ingest/alt_quote_store.py +146 -0
- alloc_context-0.2.1/alloccontext/ingest/alt_quotes.py +205 -0
- alloc_context-0.2.1/alloccontext/ingest/asset_registry.py +88 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/coinbase_client.py +6 -11
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/coinbase_portfolio.py +29 -5
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/coingecko.py +31 -2
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/coinmarketcap.py +2 -2
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/etf_flows.py +4 -2
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/coinbase_adapter.py +6 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/kraken_adapter.py +6 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/live.py +23 -28
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/fear_greed.py +3 -2
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/fred.py +3 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kraken_client.py +23 -26
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kraken_portfolio.py +72 -26
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/macro_calendar.py +2 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/market_snapshots.py +3 -2
- alloc_context-0.2.1/alloccontext/ingest/portfolio_holdings.py +149 -0
- alloc_context-0.2.1/alloccontext/ingest/quote_resolver.py +177 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/runner.py +10 -7
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/assets.py +99 -22
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/bazaar.py +135 -37
- alloc_context-0.2.1/alloccontext/mcp/bridge.py +303 -0
- alloc_context-0.2.1/alloccontext/mcp/bridge_portfolio.py +220 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/contracts.py +21 -3
- alloc_context-0.2.1/alloccontext/mcp/glama.py +51 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/handlers.py +199 -57
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/http.py +35 -2
- alloc_context-0.2.1/alloccontext/mcp/instructions.py +16 -0
- alloc_context-0.2.1/alloccontext/mcp/payer.py +44 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/payment_middleware.py +15 -2
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/server.py +115 -75
- alloc_context-0.2.1/alloccontext/mcp/setup.py +124 -0
- alloc_context-0.2.1/alloccontext/mcp/staleness.py +91 -0
- alloc_context-0.2.1/alloccontext/mcp/tool_fields.py +130 -0
- alloc_context-0.2.1/alloccontext/mcp/upstream.py +122 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/validation.py +3 -1
- alloc_context-0.2.1/alloccontext/rollup/allocation_analysis.py +29 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/band.py +1 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/context.py +8 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/delta.py +92 -13
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/portfolio.py +55 -41
- alloc_context-0.2.1/alloccontext/rollup/portfolio_payload.py +50 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/rebalance.py +1 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/regime.py +113 -9
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/store/db.py +39 -1
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/store/retention.py +4 -0
- alloc_context-0.2.1/alloccontext/user_config.py +174 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/x402_production_check.py +61 -34
- {alloc_context-0.1.2 → alloc_context-0.2.1}/pyproject.toml +26 -6
- alloc_context-0.2.1/tests/test_bridge.py +265 -0
- alloc_context-0.2.1/tests/test_bridge_portfolio.py +99 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_coinbase_portfolio.py +34 -0
- alloc_context-0.2.1/tests/test_context_bundle_schema.py +54 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_context_snapshots.py +63 -8
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_db_schema.py +38 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_deploy.py +7 -1
- alloc_context-0.2.1/tests/test_glama_well_known.py +51 -0
- alloc_context-0.2.1/tests/test_holdings_scoped_delta_regime.py +357 -0
- alloc_context-0.2.1/tests/test_holdings_scoped_market.py +233 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_horizon.py +25 -0
- alloc_context-0.1.2/tests/test_adr005_ingest.py → alloc_context-0.2.1/tests/test_live_ingest_handlers.py +45 -6
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_assets_regime.py +32 -8
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_bazaar.py +37 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_contracts.py +27 -11
- alloc_context-0.2.1/tests/test_mcp_data_staleness.py +49 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_http_lifecycle.py +9 -8
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_live_portfolio.py +56 -0
- alloc_context-0.2.1/tests/test_mcp_server.py +47 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_validation.py +14 -1
- alloc_context-0.2.1/tests/test_payer.py +38 -0
- alloc_context-0.2.1/tests/test_portfolio_holdings.py +166 -0
- alloc_context-0.2.1/tests/test_quote_resolver.py +196 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_script_runtime.py +16 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_security_hardening.py +35 -19
- alloc_context-0.2.1/tests/test_setup.py +27 -0
- alloc_context-0.2.1/tests/test_user_config.py +66 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_workflows.py +6 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_x402_bazaar_dynamic.py +12 -2
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_x402_production_check.py +47 -5
- alloc_context-0.1.2/LICENSE +0 -21
- alloc_context-0.1.2/README.md +0 -114
- alloc_context-0.1.2/alloccontext/__init__.py +0 -3
- alloc_context-0.1.2/alloccontext/mcp/staleness.py +0 -30
- alloc_context-0.1.2/tests/test_mcp_freshness.py +0 -18
- alloc_context-0.1.2/tests/test_mcp_server.py +0 -26
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloc_context.egg-info/dependency_links.txt +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloc_context.egg-info/entry_points.txt +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloc_context.egg-info/top_level.txt +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/config.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/horizon.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/__init__.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/cf_benchmarks.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/cf_history.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/env_keys.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/__init__.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/portfolio.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/registry.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange/types.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/exchange_http.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/http_errors.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kalshi.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kalshi_api.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kalshi_client.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kalshi_files.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/kalshi_state.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/macro_normalize.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/outcome.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/ingest/parse_helpers.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/__init__.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/x402_bazaar_dynamic.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/x402_config.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/x402_pricing.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/mcp/x402_stables.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/__init__.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/breadth.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/cf_math.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/cluster.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/cluster_config.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/comparison.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/etf.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/fear_greed.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/macro.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/sentiment.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/snapshots.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/rollup/tape.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/status_report.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/store/__init__.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/store/jsonutil.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/store/meta.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/store/status.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/timeutil.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/alloccontext/x402_smoke_redact.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/setup.cfg +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_backup_sqlite.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_bump_version.py +0 -0
- /alloc_context-0.1.2/tests/test_scaffold.py → /alloc_context-0.2.1/tests/test_config_cli.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_dev_stack.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_etf.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_exchanges_config.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_fear_greed.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_fred.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_ingest_outcome.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_ingest_runner.py +0 -0
- /alloc_context-0.1.2/tests/test_qa_ingest_store.py → /alloc_context-0.2.1/tests/test_ingest_store_integration.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_kalshi_api.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_kraken_portfolio.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_macro.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_market_breadth.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_handlers.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_health.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_x402.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_x402_http.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_x402_pricing.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_mcp_x402_stables.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_rebalance.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_rollup.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_server_json.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_snapshots_and_delta.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_status_report.py +0 -0
- {alloc_context-0.1.2 → alloc_context-0.2.1}/tests/test_x402_smoke_redact.py +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Elastic License 2.0
|
|
2
|
+
|
|
3
|
+
URL: https://www.elastic.co/licensing/elastic-license
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
By using the software, you agree to all of the terms and conditions below.
|
|
8
|
+
|
|
9
|
+
## Copyright License
|
|
10
|
+
|
|
11
|
+
The licensor grants you a non-exclusive, royalty-free, worldwide,
|
|
12
|
+
non-sublicensable, non-transferable license to use, copy, distribute, make
|
|
13
|
+
available, and prepare derivative works of the software, in each case subject to
|
|
14
|
+
the limitations and conditions below.
|
|
15
|
+
|
|
16
|
+
## Limitations
|
|
17
|
+
|
|
18
|
+
You may not provide the software to third parties as a hosted or managed
|
|
19
|
+
service, where the service provides users with access to any substantial set of
|
|
20
|
+
the features or functionality of the software.
|
|
21
|
+
|
|
22
|
+
You may not move, change, disable, or circumvent the license key functionality
|
|
23
|
+
in the software, and you may not remove or obscure any functionality in the
|
|
24
|
+
software that is protected by the license key.
|
|
25
|
+
|
|
26
|
+
You may not alter, remove, or obscure any licensing, copyright, or other notices
|
|
27
|
+
of the licensor in the software. Any use of the licensor’s trademarks is subject
|
|
28
|
+
to applicable law.
|
|
29
|
+
|
|
30
|
+
## Patents
|
|
31
|
+
|
|
32
|
+
The licensor grants you a license, under any patent claims the licensor can
|
|
33
|
+
license, or becomes able to license, to make, have made, use, sell, offer for
|
|
34
|
+
sale, import and have imported the software, in each case subject to the
|
|
35
|
+
limitations and conditions in this license. This license does not cover any
|
|
36
|
+
patent claims that you cause to be infringed by modifications or additions to
|
|
37
|
+
the software. If you or your company make any written claim that the software
|
|
38
|
+
infringes or contributes to infringement of any patent, your patent license for
|
|
39
|
+
the software granted under these terms ends immediately. If your company makes
|
|
40
|
+
such a claim, your patent license ends immediately for work on behalf of your
|
|
41
|
+
company.
|
|
42
|
+
|
|
43
|
+
## Notices
|
|
44
|
+
|
|
45
|
+
You must ensure that anyone who gets a copy of any part of the software from you
|
|
46
|
+
also gets a copy of these terms.
|
|
47
|
+
|
|
48
|
+
If you modify the software, you must include in any modified copies of the
|
|
49
|
+
software prominent notices stating that you have modified the software.
|
|
50
|
+
|
|
51
|
+
## No Other Rights
|
|
52
|
+
|
|
53
|
+
These terms do not imply any licenses other than those expressly granted in
|
|
54
|
+
these terms.
|
|
55
|
+
|
|
56
|
+
## Termination
|
|
57
|
+
|
|
58
|
+
If you use the software in violation of these terms, such use is not licensed,
|
|
59
|
+
and your licenses will automatically terminate. If the licensor provides you
|
|
60
|
+
with a notice of your violation, and you cease all violation of this license no
|
|
61
|
+
later than 30 days after you receive that notice, your licenses will be
|
|
62
|
+
reinstated retroactively. However, if you violate these terms after such
|
|
63
|
+
reinstatement, any additional violation of these terms will cause your licenses
|
|
64
|
+
to terminate automatically and permanently.
|
|
65
|
+
|
|
66
|
+
## No Liability
|
|
67
|
+
|
|
68
|
+
*As far as the law allows, the software comes as is, without any warranty or
|
|
69
|
+
condition, and the licensor will not be liable to you for any damages arising
|
|
70
|
+
out of these terms or the use or nature of the software, under any kind of
|
|
71
|
+
legal claim.*
|
|
72
|
+
|
|
73
|
+
## Definitions
|
|
74
|
+
|
|
75
|
+
The **licensor** is the entity offering these terms, and the **software** is the
|
|
76
|
+
software the licensor makes available under these terms, including any portion
|
|
77
|
+
of it.
|
|
78
|
+
|
|
79
|
+
**you** refers to the individual or entity agreeing to these terms.
|
|
80
|
+
|
|
81
|
+
**your company** is any legal entity, sole proprietorship, or other kind of
|
|
82
|
+
organization that you work for, plus all organizations that have control over,
|
|
83
|
+
are under the control of, or are under common control with that
|
|
84
|
+
organization. **control** means ownership of substantially all the assets of an
|
|
85
|
+
entity, or the power to direct its management and policies by vote, contract, or
|
|
86
|
+
otherwise. Control can be direct or indirect.
|
|
87
|
+
|
|
88
|
+
**your licenses** are all the licenses granted to you for the software under
|
|
89
|
+
these terms.
|
|
90
|
+
|
|
91
|
+
**use** means anything you do with the software requiring one of your licenses.
|
|
92
|
+
|
|
93
|
+
**trademark** means trademarks, service marks, and similar rights.
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alloc-context
|
|
3
|
-
Version: 0.1
|
|
4
|
-
Summary:
|
|
5
|
-
License:
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: Portfolio-aware crypto context for agents — holdings, market, optional allocation analysis
|
|
5
|
+
License: Elastic-2.0
|
|
6
6
|
Project-URL: Homepage, https://github.com/negillett/alloc-context
|
|
7
7
|
Project-URL: Documentation, https://github.com/negillett/alloc-context/blob/main/docs/agent-integration.md
|
|
8
8
|
Project-URL: Repository, https://github.com/negillett/alloc-context
|
|
9
9
|
Project-URL: Issues, https://github.com/negillett/alloc-context/issues
|
|
10
10
|
Project-URL: Changelog, https://github.com/negillett/alloc-context/releases
|
|
11
11
|
Project-URL: MCP Server, https://mcp.alloc-context.com/mcp
|
|
12
|
-
Keywords: mcp,x402,bitcoin,ethereum,portfolio,allocation,
|
|
12
|
+
Keywords: mcp,x402,bitcoin,ethereum,crypto,cryptocurrency,portfolio,allocation,holdings,rebalance,coinbase,kraken,agents
|
|
13
13
|
Classifier: Development Status :: 4 - Beta
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
15
|
Classifier: Programming Language :: Python :: 3
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -34,6 +33,9 @@ Requires-Dist: cdp-sdk>=1.46; extra == "hosted"
|
|
|
34
33
|
Requires-Dist: uvicorn[standard]>=0.30; extra == "hosted"
|
|
35
34
|
Provides-Extra: dev
|
|
36
35
|
Requires-Dist: pytest>=8.0; extra == "dev"
|
|
36
|
+
Requires-Dist: pytest-cov>=6.0; extra == "dev"
|
|
37
|
+
Requires-Dist: bandit>=1.8; extra == "dev"
|
|
38
|
+
Requires-Dist: pip-audit>=2.9; extra == "dev"
|
|
37
39
|
Requires-Dist: mcp>=1.6; extra == "dev"
|
|
38
40
|
Requires-Dist: x402[evm,fastapi]>=2.0; extra == "dev"
|
|
39
41
|
Requires-Dist: cdp-sdk>=1.46; extra == "dev"
|
|
@@ -42,18 +44,68 @@ Dynamic: license-file
|
|
|
42
44
|
|
|
43
45
|
# AllocContext
|
|
44
46
|
|
|
47
|
+
[](https://smithery.ai/server/@negillett/alloc-context)
|
|
48
|
+
[](https://glama.ai/mcp/servers/negillett/alloc-context)
|
|
49
|
+
|
|
45
50
|
mcp-name: io.github.negillett/alloc-context
|
|
46
51
|
|
|
47
|
-
**
|
|
48
|
-
|
|
49
|
-
|
|
52
|
+
**Portfolio-aware crypto context for agents** — discover holdings, market,
|
|
53
|
+
sentiment, macro, and regime; optional allocation analysis. Deterministic
|
|
54
|
+
JSON over MCP with x402 pay-per-call on Base.
|
|
55
|
+
|
|
56
|
+
> **Privacy:** nothing stored · one-time read-only · pass-through only — your
|
|
57
|
+
> keys and portfolio never persist on our servers. See [USE.md](docs/USE.md).
|
|
50
58
|
|
|
51
|
-
|
|
52
|
-
see [docs/mcp.md](docs/mcp.md).
|
|
59
|
+
## Quick start (Cursor)
|
|
53
60
|
|
|
54
|
-
|
|
61
|
+
**1. Install**
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
pip install "alloc-context[mcp,hosted]"
|
|
65
|
+
# From source: pip install -e ".[mcp,hosted]"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**2. User config**
|
|
69
|
+
|
|
70
|
+
Copy [config/user.example.yaml](config/user.example.yaml) to
|
|
71
|
+
`~/.config/alloc-context/user.yaml`. Add read-only exchange keys for portfolio
|
|
72
|
+
discovery (optional) and an x402 payer for hosted market context. See
|
|
73
|
+
[user-config.md](docs/user-config.md).
|
|
74
|
+
|
|
75
|
+
**3. MCP config**
|
|
76
|
+
|
|
77
|
+
Add to your Cursor `mcp.json` (or project `.cursor/mcp.json`):
|
|
78
|
+
|
|
79
|
+
```json
|
|
80
|
+
{
|
|
81
|
+
"mcpServers": {
|
|
82
|
+
"alloc-context": {
|
|
83
|
+
"command": "alloc-context",
|
|
84
|
+
"args": [
|
|
85
|
+
"mcp",
|
|
86
|
+
"--user-config",
|
|
87
|
+
"/Users/you/.config/alloc-context/user.yaml"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
```
|
|
55
93
|
|
|
56
|
-
|
|
94
|
+
Use an absolute path for `--user-config`. Example:
|
|
95
|
+
[cursor-mcp-bridge.example.json](docs/cursor-mcp-bridge.example.json).
|
|
96
|
+
|
|
97
|
+
**4. Ask your agent**
|
|
98
|
+
|
|
99
|
+
Call `get_context_bundle` for a full snapshot (holdings when keys are set,
|
|
100
|
+
market/sentiment/macro via hosted upstream). Pure math tools
|
|
101
|
+
(`check_allocation_band`, `get_rebalance_plan`) work without exchange keys.
|
|
102
|
+
|
|
103
|
+
Full setup guide: [cursor-mcp.md](docs/cursor-mcp.md). Sample responses:
|
|
104
|
+
[examples.md](docs/examples.md).
|
|
105
|
+
|
|
106
|
+
Not financial advice.
|
|
107
|
+
|
|
108
|
+
## Hosted MCP
|
|
57
109
|
|
|
58
110
|
| | |
|
|
59
111
|
|--|--|
|
|
@@ -61,32 +113,44 @@ Try the public endpoint without self-hosting:
|
|
|
61
113
|
| **Discovery** | [llms.txt](https://mcp.alloc-context.com/llms.txt), [x402 manifest](https://mcp.alloc-context.com/.well-known/x402.json) |
|
|
62
114
|
| **Pricing** | **$0.02** cached context/math · **$0.05** live ingest or portfolio |
|
|
63
115
|
| **Payment** | x402 on Base — USDC or EURC |
|
|
116
|
+
| **Market scope** | Holdings-scoped (BTC/ETH OHLC; alt quote snapshots); bridge auto-scopes from portfolio |
|
|
64
117
|
|
|
65
|
-
Agents
|
|
66
|
-
|
|
67
|
-
|
|
118
|
+
Agents and wallets connect directly to the hosted endpoint — see
|
|
119
|
+
[agent-integration.md](docs/agent-integration.md). The Cursor bridge above
|
|
120
|
+
combines local portfolio reads with this upstream for market context.
|
|
68
121
|
|
|
69
|
-
|
|
70
|
-
[docs/local-dev.md](docs/local-dev.md).
|
|
122
|
+
## MCP tools
|
|
71
123
|
|
|
72
|
-
|
|
73
|
-
|
|
124
|
+
| Tool | Purpose |
|
|
125
|
+
|------|---------|
|
|
126
|
+
| `get_context_bundle` | Full ContextBundle — holdings, market, sentiment, macro, delta, regime; optional `allocation_analysis` |
|
|
127
|
+
| `get_market_context` | Sentiment, macro, ETF, breadth, and market fields (no portfolio) |
|
|
128
|
+
| `get_context_at` | Saved snapshot from ingest history at a given `as_of` |
|
|
129
|
+
| `get_context_delta` | Notable shifts between two saved snapshots |
|
|
130
|
+
| `get_rebalance_plan` | USD rebalance moves from allocation, target, and NAV |
|
|
131
|
+
| `check_allocation_band` | Drift vs target and whether allocation is outside the band |
|
|
132
|
+
| `check_allocation_bands` | Batch band checks for multiple target scenarios |
|
|
133
|
+
| `get_portfolio_state` | Live NAV and holdings from Kraken or Coinbase |
|
|
74
134
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
135
|
+
Market context is **holdings-scoped**: band assets (BTC/ETH) use OHLC bars; alt
|
|
136
|
+
holdings (e.g. HYPE) use quote snapshots when cached. The bridge auto-scopes
|
|
137
|
+
`assets` from your portfolio (symbols only upstream). See
|
|
138
|
+
[context-bundle.md#market-coverage](docs/context-bundle.md#market-coverage).
|
|
78
139
|
|
|
79
|
-
|
|
80
|
-
Email, LLM synthesis, and alert delivery are out of scope for this repository.
|
|
140
|
+
See [mcp.md](docs/mcp.md) for arguments, pricing, and resources.
|
|
81
141
|
|
|
82
|
-
##
|
|
142
|
+
## Self-host and development
|
|
143
|
+
|
|
144
|
+
Run ingest and MCP entirely on your machine — no x402 upstream required.
|
|
145
|
+
See [self-hosting.md](docs/self-hosting.md) (`self_host: true` in user config)
|
|
146
|
+
or [local-dev.md](docs/local-dev.md) for the dev stack.
|
|
83
147
|
|
|
84
148
|
```bash
|
|
85
149
|
git clone git@github.com:negillett/alloc-context.git
|
|
86
150
|
cd alloc-context
|
|
87
151
|
python3.11 -m venv .venv && source .venv/bin/activate
|
|
88
152
|
pip install -e ".[dev]"
|
|
89
|
-
cp .env.example .env
|
|
153
|
+
cp .env.example .env
|
|
90
154
|
cp config/config.example.yaml config/config.yaml
|
|
91
155
|
|
|
92
156
|
python -m alloccontext ingest --dry-run
|
|
@@ -94,19 +158,6 @@ python -m alloccontext rollup --scope daily --stdout
|
|
|
94
158
|
pytest
|
|
95
159
|
```
|
|
96
160
|
|
|
97
|
-
**MCP (stdio):** `pip install -e ".[mcp]"` then `alloc-context mcp`.
|
|
98
|
-
See [docs/cursor-mcp.md](docs/cursor-mcp.md).
|
|
99
|
-
|
|
100
|
-
**Hosted MCP + x402:** `pip install -e ".[hosted]"` then
|
|
101
|
-
`alloc-context mcp --transport http --x402`. See [docs/mcp-http.md](docs/mcp-http.md).
|
|
102
|
-
|
|
103
|
-
**Local dev stack (internal MCP on :8001):** `./scripts/dev-up.sh`.
|
|
104
|
-
See [docs/local-dev.md](docs/local-dev.md).
|
|
105
|
-
|
|
106
|
-
CLI entry point: `alloc-context` (same as `python -m alloccontext`).
|
|
107
|
-
|
|
108
|
-
## Commands
|
|
109
|
-
|
|
110
161
|
| Command | Purpose |
|
|
111
162
|
|---------|---------|
|
|
112
163
|
| `python -m alloccontext ingest` | Pull configured sources → SQLite |
|
|
@@ -114,37 +165,29 @@ CLI entry point: `alloc-context` (same as `python -m alloccontext`).
|
|
|
114
165
|
| `python -m alloccontext status` | Per-source ingest ages, snapshots, MCP `/health` |
|
|
115
166
|
| `alloc-context mcp` | MCP server (stdio or HTTP) |
|
|
116
167
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
| Tool | Purpose |
|
|
120
|
-
|------|---------|
|
|
121
|
-
| `get_context_bundle` | Full ContextBundle — portfolio, market, sentiment, macro, delta, regime |
|
|
122
|
-
| `get_market_context` | Sentiment, macro, ETF, breadth, and market fields (no portfolio) |
|
|
123
|
-
| `get_context_at` | Saved snapshot from ingest history at a given `as_of` |
|
|
124
|
-
| `get_context_delta` | Notable shifts between two saved snapshots |
|
|
125
|
-
| `get_rebalance_plan` | USD rebalance moves from allocation, target, and NAV |
|
|
126
|
-
| `check_allocation_band` | Drift vs target and whether allocation is outside the band |
|
|
127
|
-
| `check_allocation_bands` | Batch band checks for multiple target scenarios |
|
|
128
|
-
| `get_portfolio_state` | Live NAV and allocation from Kraken or Coinbase (credentials in request) |
|
|
129
|
-
|
|
130
|
-
See [docs/mcp.md](docs/mcp.md) for arguments, pricing, and resources.
|
|
168
|
+
HTTP MCP + x402: [mcp-http.md](docs/mcp-http.md). CLI entry point:
|
|
169
|
+
`alloc-context` (same as `python -m alloccontext`).
|
|
131
170
|
|
|
132
171
|
## Documentation
|
|
133
172
|
|
|
134
173
|
| Document | Purpose |
|
|
135
174
|
|----------|---------|
|
|
175
|
+
| [docs/cursor-mcp.md](docs/cursor-mcp.md) | Cursor stdio MCP (bridge default) |
|
|
176
|
+
| [docs/user-config.md](docs/user-config.md) | Bridge `user.yaml` reference |
|
|
136
177
|
| [docs/mcp.md](docs/mcp.md) | MCP tools and x402 |
|
|
137
|
-
| [docs/mcp-http.md](docs/mcp-http.md) | HTTP MCP + x402 setup |
|
|
138
|
-
| [docs/mcp-discovery.md](docs/mcp-discovery.md) | Bazaar and agent discovery |
|
|
139
|
-
| [docs/distribution.md](docs/distribution.md) | GitHub, PyPI, MCP Registry, directories |
|
|
140
178
|
| [docs/agent-integration.md](docs/agent-integration.md) | Paid HTTP MCP + Bazaar for agents |
|
|
141
|
-
| [docs/cursor-mcp.md](docs/cursor-mcp.md) | Cursor stdio MCP |
|
|
142
179
|
| [docs/examples.md](docs/examples.md) | Sample tool JSON (redacted) |
|
|
143
180
|
| [docs/context-bundle.md](docs/context-bundle.md) | ContextBundle schema |
|
|
144
|
-
| [docs/
|
|
145
|
-
| [docs/
|
|
181
|
+
| [docs/USE.md](docs/USE.md) | Self-host vs hosted MCP (plain language) |
|
|
182
|
+
| [docs/mcp-http.md](docs/mcp-http.md) | HTTP MCP + x402 setup |
|
|
183
|
+
| [docs/mcp-discovery.md](docs/mcp-discovery.md) | Bazaar and agent discovery |
|
|
146
184
|
| [docs/self-hosting.md](docs/self-hosting.md) | Optional Linux/systemd ingest + MCP |
|
|
147
185
|
| [docs/local-dev.md](docs/local-dev.md) | Local internal MCP + dev ingest |
|
|
186
|
+
| [docs/architecture.md](docs/architecture.md) | Pipeline and trust boundaries |
|
|
187
|
+
| [docs/data-sources.md](docs/data-sources.md) | Ingest sources |
|
|
188
|
+
| [docs/distribution.md](docs/distribution.md) | GitHub, PyPI, MCP Registry, directories |
|
|
189
|
+
| [docs/publishing.md](docs/publishing.md) | Release workflow and version bumps |
|
|
190
|
+
| [docs/security-ci.md](docs/security-ci.md) | CI coverage, Bandit, and pip-audit gates |
|
|
148
191
|
|
|
149
192
|
## Contributing
|
|
150
193
|
|
|
@@ -153,4 +196,7 @@ Unsolicited pull requests are not expected — see [CONTRIBUTING.md](CONTRIBUTIN
|
|
|
153
196
|
|
|
154
197
|
## License
|
|
155
198
|
|
|
156
|
-
|
|
199
|
+
[Elastic License 2.0](LICENSE) — source-available, self-host friendly. See
|
|
200
|
+
[docs/USE.md](docs/USE.md) for plain-language allowed uses.
|
|
201
|
+
|
|
202
|
+
**Official hosted MCP:** `https://mcp.alloc-context.com/mcp`
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# AllocContext
|
|
2
|
+
|
|
3
|
+
[](https://smithery.ai/server/@negillett/alloc-context)
|
|
4
|
+
[](https://glama.ai/mcp/servers/negillett/alloc-context)
|
|
5
|
+
|
|
6
|
+
mcp-name: io.github.negillett/alloc-context
|
|
7
|
+
|
|
8
|
+
**Portfolio-aware crypto context for agents** — discover holdings, market,
|
|
9
|
+
sentiment, macro, and regime; optional allocation analysis. Deterministic
|
|
10
|
+
JSON over MCP with x402 pay-per-call on Base.
|
|
11
|
+
|
|
12
|
+
> **Privacy:** nothing stored · one-time read-only · pass-through only — your
|
|
13
|
+
> keys and portfolio never persist on our servers. See [USE.md](docs/USE.md).
|
|
14
|
+
|
|
15
|
+
## Quick start (Cursor)
|
|
16
|
+
|
|
17
|
+
**1. Install**
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pip install "alloc-context[mcp,hosted]"
|
|
21
|
+
# From source: pip install -e ".[mcp,hosted]"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**2. User config**
|
|
25
|
+
|
|
26
|
+
Copy [config/user.example.yaml](config/user.example.yaml) to
|
|
27
|
+
`~/.config/alloc-context/user.yaml`. Add read-only exchange keys for portfolio
|
|
28
|
+
discovery (optional) and an x402 payer for hosted market context. See
|
|
29
|
+
[user-config.md](docs/user-config.md).
|
|
30
|
+
|
|
31
|
+
**3. MCP config**
|
|
32
|
+
|
|
33
|
+
Add to your Cursor `mcp.json` (or project `.cursor/mcp.json`):
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"mcpServers": {
|
|
38
|
+
"alloc-context": {
|
|
39
|
+
"command": "alloc-context",
|
|
40
|
+
"args": [
|
|
41
|
+
"mcp",
|
|
42
|
+
"--user-config",
|
|
43
|
+
"/Users/you/.config/alloc-context/user.yaml"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Use an absolute path for `--user-config`. Example:
|
|
51
|
+
[cursor-mcp-bridge.example.json](docs/cursor-mcp-bridge.example.json).
|
|
52
|
+
|
|
53
|
+
**4. Ask your agent**
|
|
54
|
+
|
|
55
|
+
Call `get_context_bundle` for a full snapshot (holdings when keys are set,
|
|
56
|
+
market/sentiment/macro via hosted upstream). Pure math tools
|
|
57
|
+
(`check_allocation_band`, `get_rebalance_plan`) work without exchange keys.
|
|
58
|
+
|
|
59
|
+
Full setup guide: [cursor-mcp.md](docs/cursor-mcp.md). Sample responses:
|
|
60
|
+
[examples.md](docs/examples.md).
|
|
61
|
+
|
|
62
|
+
Not financial advice.
|
|
63
|
+
|
|
64
|
+
## Hosted MCP
|
|
65
|
+
|
|
66
|
+
| | |
|
|
67
|
+
|--|--|
|
|
68
|
+
| **URL** | `https://mcp.alloc-context.com/mcp` |
|
|
69
|
+
| **Discovery** | [llms.txt](https://mcp.alloc-context.com/llms.txt), [x402 manifest](https://mcp.alloc-context.com/.well-known/x402.json) |
|
|
70
|
+
| **Pricing** | **$0.02** cached context/math · **$0.05** live ingest or portfolio |
|
|
71
|
+
| **Payment** | x402 on Base — USDC or EURC |
|
|
72
|
+
| **Market scope** | Holdings-scoped (BTC/ETH OHLC; alt quote snapshots); bridge auto-scopes from portfolio |
|
|
73
|
+
|
|
74
|
+
Agents and wallets connect directly to the hosted endpoint — see
|
|
75
|
+
[agent-integration.md](docs/agent-integration.md). The Cursor bridge above
|
|
76
|
+
combines local portfolio reads with this upstream for market context.
|
|
77
|
+
|
|
78
|
+
## MCP tools
|
|
79
|
+
|
|
80
|
+
| Tool | Purpose |
|
|
81
|
+
|------|---------|
|
|
82
|
+
| `get_context_bundle` | Full ContextBundle — holdings, market, sentiment, macro, delta, regime; optional `allocation_analysis` |
|
|
83
|
+
| `get_market_context` | Sentiment, macro, ETF, breadth, and market fields (no portfolio) |
|
|
84
|
+
| `get_context_at` | Saved snapshot from ingest history at a given `as_of` |
|
|
85
|
+
| `get_context_delta` | Notable shifts between two saved snapshots |
|
|
86
|
+
| `get_rebalance_plan` | USD rebalance moves from allocation, target, and NAV |
|
|
87
|
+
| `check_allocation_band` | Drift vs target and whether allocation is outside the band |
|
|
88
|
+
| `check_allocation_bands` | Batch band checks for multiple target scenarios |
|
|
89
|
+
| `get_portfolio_state` | Live NAV and holdings from Kraken or Coinbase |
|
|
90
|
+
|
|
91
|
+
Market context is **holdings-scoped**: band assets (BTC/ETH) use OHLC bars; alt
|
|
92
|
+
holdings (e.g. HYPE) use quote snapshots when cached. The bridge auto-scopes
|
|
93
|
+
`assets` from your portfolio (symbols only upstream). See
|
|
94
|
+
[context-bundle.md#market-coverage](docs/context-bundle.md#market-coverage).
|
|
95
|
+
|
|
96
|
+
See [mcp.md](docs/mcp.md) for arguments, pricing, and resources.
|
|
97
|
+
|
|
98
|
+
## Self-host and development
|
|
99
|
+
|
|
100
|
+
Run ingest and MCP entirely on your machine — no x402 upstream required.
|
|
101
|
+
See [self-hosting.md](docs/self-hosting.md) (`self_host: true` in user config)
|
|
102
|
+
or [local-dev.md](docs/local-dev.md) for the dev stack.
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
git clone git@github.com:negillett/alloc-context.git
|
|
106
|
+
cd alloc-context
|
|
107
|
+
python3.11 -m venv .venv && source .venv/bin/activate
|
|
108
|
+
pip install -e ".[dev]"
|
|
109
|
+
cp .env.example .env
|
|
110
|
+
cp config/config.example.yaml config/config.yaml
|
|
111
|
+
|
|
112
|
+
python -m alloccontext ingest --dry-run
|
|
113
|
+
python -m alloccontext rollup --scope daily --stdout
|
|
114
|
+
pytest
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
| Command | Purpose |
|
|
118
|
+
|---------|---------|
|
|
119
|
+
| `python -m alloccontext ingest` | Pull configured sources → SQLite |
|
|
120
|
+
| `python -m alloccontext rollup --scope daily --stdout` | ContextBundle JSON (facts) |
|
|
121
|
+
| `python -m alloccontext status` | Per-source ingest ages, snapshots, MCP `/health` |
|
|
122
|
+
| `alloc-context mcp` | MCP server (stdio or HTTP) |
|
|
123
|
+
|
|
124
|
+
HTTP MCP + x402: [mcp-http.md](docs/mcp-http.md). CLI entry point:
|
|
125
|
+
`alloc-context` (same as `python -m alloccontext`).
|
|
126
|
+
|
|
127
|
+
## Documentation
|
|
128
|
+
|
|
129
|
+
| Document | Purpose |
|
|
130
|
+
|----------|---------|
|
|
131
|
+
| [docs/cursor-mcp.md](docs/cursor-mcp.md) | Cursor stdio MCP (bridge default) |
|
|
132
|
+
| [docs/user-config.md](docs/user-config.md) | Bridge `user.yaml` reference |
|
|
133
|
+
| [docs/mcp.md](docs/mcp.md) | MCP tools and x402 |
|
|
134
|
+
| [docs/agent-integration.md](docs/agent-integration.md) | Paid HTTP MCP + Bazaar for agents |
|
|
135
|
+
| [docs/examples.md](docs/examples.md) | Sample tool JSON (redacted) |
|
|
136
|
+
| [docs/context-bundle.md](docs/context-bundle.md) | ContextBundle schema |
|
|
137
|
+
| [docs/USE.md](docs/USE.md) | Self-host vs hosted MCP (plain language) |
|
|
138
|
+
| [docs/mcp-http.md](docs/mcp-http.md) | HTTP MCP + x402 setup |
|
|
139
|
+
| [docs/mcp-discovery.md](docs/mcp-discovery.md) | Bazaar and agent discovery |
|
|
140
|
+
| [docs/self-hosting.md](docs/self-hosting.md) | Optional Linux/systemd ingest + MCP |
|
|
141
|
+
| [docs/local-dev.md](docs/local-dev.md) | Local internal MCP + dev ingest |
|
|
142
|
+
| [docs/architecture.md](docs/architecture.md) | Pipeline and trust boundaries |
|
|
143
|
+
| [docs/data-sources.md](docs/data-sources.md) | Ingest sources |
|
|
144
|
+
| [docs/distribution.md](docs/distribution.md) | GitHub, PyPI, MCP Registry, directories |
|
|
145
|
+
| [docs/publishing.md](docs/publishing.md) | Release workflow and version bumps |
|
|
146
|
+
| [docs/security-ci.md](docs/security-ci.md) | CI coverage, Bandit, and pip-audit gates |
|
|
147
|
+
|
|
148
|
+
## Contributing
|
|
149
|
+
|
|
150
|
+
GitHub Issues are welcome for bugs, schema feedback, and MCP API suggestions.
|
|
151
|
+
Unsolicited pull requests are not expected — see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
152
|
+
|
|
153
|
+
## License
|
|
154
|
+
|
|
155
|
+
[Elastic License 2.0](LICENSE) — source-available, self-host friendly. See
|
|
156
|
+
[docs/USE.md](docs/USE.md) for plain-language allowed uses.
|
|
157
|
+
|
|
158
|
+
**Official hosted MCP:** `https://mcp.alloc-context.com/mcp`
|