Skip to main content Switch to mobile version simba-mcp 0.18.1 MCP server for Simply Bayesian AI, the Bayesian marketing mix modelling platform from 1749 Ltd.
pip install simba-mcp==0.18.1 Copy PIP instructions
Simply Bayesian AI is a Bayesian marketing mix modelling platform from 1749 Ltd. The MCP server connects your AI assistant to the models and studies in your measurement platform. Ask what drove sales or how shifting spend between channels could affect results.
For job-specific startup catalogues, see tool profiles. For instructions that help your AI assistant choose tools and interpret results, see AI workflow instructions. Read them through MCP or install them as Skills in a compatible client. Connecting MCP does not install Skills. Candidate acceptance records tested configurations and remaining rollout checks.
pip install simba-mcp Or run directly without installing:
uvx simba-mcp Quick Start
Add to your Cursor MCP settings (.cursor/mcp.json in the workspace or global settings):
{ "mcpServers": { "simba": { "command": "uvx", "args": ["simba-mcp"], "env": { "SIMBA_API_URL": "https://demo.simba-mmm.com", "SIMBA_API_KEY": "simba_sk_..." } } } } Claude Code
Add to your Claude Code MCP config:
Use the remote Streamable HTTP transport with the Anthropic MCP connector:
import anthropic client = anthropic.Anthropic() response = client.beta.messages.create( model="claude-sonnet-4-6", max_tokens=4096, messages=[{"role": "user", "content": "List my models"}], mcp_servers=[ { "type": "url", "url": "https://demo.simba-mmm.com/mcp", "name": "simba", "authorization_token": "simba_sk_...", } ], tools=[{"type": "mcp_toolset", "mcp_server_name": "simba"}], betas=["mcp-client-2025-11-20"], ) Configuration
Operator settings, defaults and the non-sensitive effective check are in docs/configuration.md. Inspect the current process without printing credentials:
python -m simba_mcp.configuration A development .env configures only the process that loads it. It does not configure a remote server or every MCP host. This release does not add an application settings UI.
Native result charts
Three read-only native chart tools present response curves, decomposition and saved allocations through MCP Apps. Structured and text results remain available without visual support. The compatibility page distinguishes fixture tests from actual client acceptance.
The full, generated reference — every tool, whether it reads or writes, its description and its parameters — is docs/tools.md. It is rendered from the running server (python -m simba_mcp.reference) and a test keeps it current, so it never drifts from what the server serves. The tools cover:
Data and pipelines — the canonical CSV schema, uploads, pipeline versions, backend capabilities
Projects and models — create, fit (MMM and long-run VAR), poll, save, rename, link VAR models, contribution groups
Incrementality tests — record, list and import geo, owned-media and platform-lift results; the calibration row each test gives a model; calibrated fits
Results — ROI, contributions, response curves, diagnostics and more, with section and size controls
Scenarios and optimization — scenario templates and runs, budget optimization, saved-run history
Studies — questions, recipes and revisions, drafts, launches, quality policies, evaluation, validation pairs, comparisons and recommendations (acceptance stays with a signed-in person)
Try these with any connected AI assistant:
Explore your models:
"List my models and show me the channel ROI summary for the most recent complete model."
"Upload this CSV and create a marketing mix model with TV, Search, and Social as media channels. Use 'revenue' as the KPI and 'date' as the date column."
"What's the fitting status of model a1b2c3d4?"
"Show me the model diagnostics and channel contributions for model a1b2c3d4."
"Run a budget optimization on model a1b2c3d4 with a total budget of 1M in the model's currency over 12 months. Set TV bounds to 5-40% and Search to 10-50%. Use uniform laydown weights."
"Show me the response curves for model a1b2c3d4. At what spend level does TV hit diminishing returns?"
"Get a scenario template for model a1b2c3d4 for the next 12 weeks. Then run a scenario where I increase TV by 20% and cut Search by 10%. What happens to revenue?"
"I have marketing data I want to analyze. First get the schema so I know what format is needed, then upload my data, create a model, and once it's done show me the ROI by channel."
Skills give your assistant task-specific instructions for using the MCP tools. Install the relevant Skill folders in a compatible client, or have the assistant read the same instructions through get_workflow_guidance. Connecting the MCP endpoint does not install Skills; installing Skills does not connect MCP.
See how to choose, load, and install the instructions. Contributors can use the separate maintenance guide.
Tool descriptions default to the full legacy catalogue. Set SIMBA_TOOL_DESCRIPTIONS=compact before starting the server to opt into shorter descriptions for model creation, results and optimisation. Names, schemas and execution stay the same. See configuration, rollback and comparison evidence.
Optional tool profiles provide marketer and reviewer views. If your measurement platform supports hosted tool profiles, the account's choice under Profile > Connected apps also narrows hosted tool discovery and dispatch within the operator's catalogue. Use simba-mcp --profile marketer or SIMBA_TOOL_PROFILE=reviewer at startup. full remains the default; data_scientist includes every tool and the entire Studies lifecycle. Profiles are starting views, not backend permissions.
An experimental native-discovery host example compares provider tool search against the compact eager catalogue using synthetic backends. It is a paid, explicitly invoked evaluation command and does not enable discovery in your connected MCP client. Its evidence includes task failures and fallback limits. Existing-result questions can start with selected result sections directly; capability, schema and guidance discovery are conditional on the task. Backend validation and human approval remain authoritative.
Things that commonly trip up both AI agents and humans:
Hosted server: your bearer token IS your login
On HTTP deployments each request is authenticated with the caller's own Authorization: Bearer simba_sk_... token. There is no server-side shared key. If tool calls return "No API key on this request", your MCP client isn't sending the token (check the authorization_token / headers setting in its config).
OAuth (optional, from 0.12.0). A deployment can also run in OAuth resource-server mode (MCP_OAUTH_ENABLED=1). Claude and ChatGPT can use OAuth to connect to your measurement platform. Sign in when your connector prompts you. The MCP server verifies the token with the platform and forwards it unchanged. API keys still work with all supported clients and are the method for Claude Code, Cursor and the Claude API connector. See the product documentation for connection instructions for each client.
Channel names are exact-match
Model results are keyed by the channel's activity column name (e.g. "search_activity", "TV_impressions"), not by the channels[].name you passed to create_model. Keys can contain spaces and matching is case-sensitive and space-sensitive. The optimizer and scenario tools use them as dictionary keys.
Always call get_model_results with sections="channel_summary" first to see exact channel keys, then use those verbatim in optimizer/scenario payloads.
get_model_results serves these sections (request only what you need via sections=): channel_summary, contributions (KPI/unit space, with no multiplier applied), coefficients (per-period per-channel revenue table), params, decay_curves, response_curves, marginal_curves, saturation, mroi_summary (marginal ROI at current spend with 94% HDI; post-#591 fits add the allperiods_unweighted / spendweighted_active convention scalars, and post-#629 fits add a *_mean beside every *_median. The median is displayed and the mean reconciles with the marginal-revenue curve), mroi_periods (opt-in only. The per-period marginal ROI series; never in the default payload, request it by name), model_stats, actual_vs_model, long_run_rollup, optimizer, predictions, posterior, financials, model_config. The response's sections_available field is authoritative if the server is newer than these docs.
Models are identified by model_hash
All model endpoints use the string model_hash (e.g. "f835671a25") returned by create_model and list_models.
API-key management is deliberately not exposed
The /api/v1/keys endpoints (create/list/revoke API keys) are session-auth only and have no MCP tools by design: a server holding one key must not be able to mint or revoke keys. Manage keys in the platform under Profile > API Keys.
Optimizer arrays, not scalars
laydown_weights and period_cpm must be objects of arrays, each array having exactly num_periods elements:
// Wrong "period_cpm": {"TV": 10} // Correct "period_cpm": {"TV": [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]} The same channel keys must appear in bounds, laydown_weights, and period_cpm. Bounds values are percentages (0-100) of total_budget, not currency amounts.
Clean NaN from scenario templates
The template from get_scenario_template may contain NaN/null for channels without historical data. Replace them with 0 before passing to run_scenario:
import math for row in scenario_data: for key, val in row.items(): if val is None or (isinstance(val, float) and math.isnan(val)): row[key] = 0 Three endpoints are async
These return 202 and require polling:
Poll every 5-10 seconds. Check the status field for "complete" or "failed".
Data upload requirements
CSV only (not Excel). Maximum 10 MB (API-enforced).
Row minimum: check x-simba-constraints.min_rows in get_data_schema; the upload response's warnings field is authoritative. More rows = tighter posteriors (104+ weekly rows recommended).
Media columns: {channel}_activity and {channel}_spend per channel.
Use 0 for inactive periods, not blank or NA.
Large file? Pass csv_path (a local file path) instead of csv_content. The server reads it directly instead of the CSV going through the conversation. Local (stdio) servers only; disabled on HTTP/SSE deployments unless SIMBA_MCP_ALLOW_LOCAL_FILES=1.
The MCP server wraps the platform's REST API. For scripting, CI/CD, or environments without MCP, you can call the API directly.
When to use MCP vs direct API
Both use the same API keys with the same scopes.
Quick start (Python)
import requests, time BASE = "https://demo.simba-mmm.com" HEADERS = {"Authorization": "Bearer simba_sk_..."} # Upload data with open("marketing_data.csv", "rb") as f: r = requests.post(f"{BASE}/api/v1/ingest", headers={**HEADERS, "Content-Type": "text/csv"}, data=f.read(), params={"name": "q1_data"}) file_id = r.json()["id"] # Create model r = requests.post(f"{BASE}/api/v1/models", headers=HEADERS, json={ "data_source": {"uploaded_file_id": file_id}, "date_column": "date", "kpi_column": "revenue", "hierarchy_column": "brand", "channels": [ {"name": "TV", "activity_column": "tv_grps", "spend_column": "tv_spend"}, {"name": "Search", "activity_column": "search_impressions", "spend_column": "search_spend"}, ], "total_media_effect": "Retail", }) model_hash = r.json()["model_hash"] # Poll until complete while True: status = requests.get(f"{BASE}/api/v1/models/{model_hash}/status", headers=HEADERS).json() if status["status"] in ("complete", "failed"): break print(f"Fitting... {status.get('progress', '?')}%") time.sleep(10) # Get results results = requests.get(f"{BASE}/api/v1/models/{model_hash}/results", headers=HEADERS, params={"sections": "channel_summary,model_stats"}).json() for ch in results["results"]["channel_summary"]: print(f"{ch['Channel']}: ROI {ch['ROI']:.1f}") Quick start (curl)
API_KEY="simba_sk_..." BASE="https://demo.simba-mmm.com" # Upload data curl -X POST "$BASE/api/v1/ingest?name=q1_data" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: text/csv" \ --data-binary @marketing_data.csv # Create model (replace uploaded_file_id with id from upload) curl -X POST "$BASE/api/v1/models" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{"data_source": {"uploaded_file_id": 1}, "date_column": "date", "kpi_column": "revenue", "hierarchy_column": "brand", "channels": [{"name": "TV", "activity_column": "tv_grps", "spend_column": "tv_spend"}]}' # Poll status (replace MODEL_HASH) curl "$BASE/api/v1/models/MODEL_HASH/status" -H "Authorization: Bearer $API_KEY" # Get results curl "$BASE/api/v1/models/MODEL_HASH/results?sections=channel_summary,model_stats" \ -H "Authorization: Bearer $API_KEY" API Key Setup
The MCP server uses the same API keys as the platform's REST API. Create a key with the required scopes:
In the platform, go to Profile > API Keys
Set scopes: ingest, read:models, read:results, create:models, optimize, scenario
Copy the key (shown only once)
How the key is supplied depends on where the server runs:
Local (stdio for Cursor and Claude Code): set it as the SIMBA_API_KEY environment variable in your MCP config (the examples above).
Hosted (https://demo.simba-mmm.com/mcp): send it as the HTTP Authorization: Bearer header. The authorization_token field in the Claude MCP connector config. Every caller uses their own key (v0.2.2+): the server never shares an identity between callers, a request without a key gets a structured 401 with guidance, and you only ever see your own account's models.
Set response byte ceilings to positive integer byte counts. If you set only one, the same ceiling applies before and after decompression. These opt-in limits refuse oversized responses without returning partial evidence. Review typical full-result sizes before choosing limits; the results tool's max_response_bytes option is a separate later cap on selected output.
The server supports all MCP transport modes:
# stdio (default) for Cursor and Claude Code simba-mcp # Streamable HTTP for remote deployment simba-mcp --transport streamable-http --port 8100 # SSE (legacy transport) simba-mcp --transport sse --port 8100 # Or via uvicorn directly uvicorn simba_mcp.server:app --host 0.0.0.0 --port 8100 License
Fit heartbeat visibility
On backends that support it, get_model_status also returns fit_liveness. The MCP server passes the response through unchanged; older backends may omit this field. With available: true, heartbeat_age_seconds, stall_timeout_seconds, and seconds_until_stall_threshold are in seconds; last_heartbeat_at is a Unix timestamp in seconds. stall_threshold_exceeded reports whether heartbeat age is strictly greater than the configured threshold.
The countdown is to a stale-heartbeat threshold, not completion ETA or an exact termination time: the watchdog runs periodically. It does not change status. With available: false, reason is heartbeat_unavailable (including unavailable heartbeat storage) or not_fitting. Missing or unavailable metadata is unknown, not evidence that a fit is healthy or stalled. Continue polling with backoff and use the reported model status; do not automatically restart or duplicate a fit.
Explicit control priors and transforms
Use control_columns to include controls and optional control_priors to configure them. Overrides select an exact column via control; media priors continue to select a channel via channel.
{"control_columns": ["price", "discount_depth"], "control_priors": [ {"control": "price", "transform": "LOG", "distribution": "normal", "mean": -1, "sd": 0.5}, {"control": "discount_depth", "transform": "N", "distribution": "normal", "mean": 1, "sd": 0.5} ]} These are illustrative coefficients, not fitted estimates or recommended priors. Native transforms: N = x; DM = x/mean(x); STA = x/sample_sd(x) without centering; DDM = x/mean(KPI); LOG = log(x/mean(x)), requiring positive x. Under a log link, a LOG coefficient is an elasticity; N is a semi-elasticity. Changing a transform does not convert prior units: explicitly choose suitable coefficient priors. Normal and inversegamma use mean/sd (positive mean for inversegamma); truncatednormal also requires ordered lower/upper bounds; halfnormal uses only sd. Unused fields, unknown keys, null field values and nonselected/duplicate controls are rejected. Omitted fields preserve applicable smart defaults; changing family clears inapplicable bounds/mean.
Nonempty overrides preflight get_data_schema for x-simba-model-capabilities.control_priors version 1 and all five transforms. Unsupported, malformed or unavailable capability checks stop before creation; never retry by removing requested settings. Omitted/None/empty overrides keep legacy calls unchanged. Backend support must be deployed before using this option. Direct REST clients must perform the same capability check and put control_priors at the request root. Check get_model's resolved priors and overridden_fields after creation. Prediction uses existing fit-time constants; this feature does not change preprocessing split order or fit a model for you.
The study tools require the workflow API in the platform. Studies belong to projects and provide a shared record for analysts and agents:
Create/read/update studies with a declared question (what to learn), optional context (scope and assumptions), attempt limits and concurrency limits. Question and context are descriptive text; no launch or evaluation path reads them, and acceptance rules live only in quality policies.
Validate, save and inspect immutable recipe revisions; list recipes captured by the wizard; edit a recipe in place through a draft that names its target, and diff two revisions.
Launch a revision with a declared quality policy and caller-generated submission key.
Inspect progress, request cancellation, evaluate saved evidence and compare candidates.
Preview/import existing models and record recommendations with a rationale.
Reuse the same submission key when retrying an uncertain launch; changing the recipe or policy requires a new key. Workflow writes are sent once, without automatic HTTP retries. A study does not autonomously launch its budget of fits. Its runs use the existing models, workers and progress records.
Project sharing permits reading studies; mutations require ownership. The MCP can recommend but cannot record analyst acceptance. adopt_model_into_study imports a fitted model as an executable, editable revision 1 (legacy snapshot imports stay review-only). Wizard-captured and imported recipes can be inspected, launched and edited in place: read the snapshot with get_recipe_revision_authoring, save a draft with target, publish with target for revision N+1.
Quality reports distinguish failed checks, missing evidence and required analyst review. Current saved-window error metrics and R-hat are not held-out validation or proof of business validity. No tool automatically promotes a winning model.
Discovery and reliable Studies workflows
For Studies: inspect the project/study budget, validate a recipe, freeze a revision, declare a quality policy, then launch with an explicit submission key. Preserve that key and the exact inputs after an uncertain response. Poll the shared run; requested cancellation is not confirmed completion. Reload and reconcile on 412; revalidate on an input-hash conflict. Optional expected_content_hash on recipe create/revise binds the validated effective inputs. Evaluate existing evidence and recommend with limitations; analyst acceptance remains in the frontend. Missing evidence never passes, and fitted-window metrics are not holdout validation.
Writes are sent once, without automatic retries. Reconcile uncertain mutations before repeating them. Reads retain bounded transient retries. Existing error objects retain error / _status_code, with additive _error_code and _next_action guidance. Backend additive fields remain intact in structured output.
For bounded results, request sections="channel_summary,model_stats" first and use channels / max_grid_points where appropriate. Optional max_response_bytes returns an actionable 413 instead of partial evidence when the filtered JSON payload is too large. It bounds payload serialization, not backend download or MCP envelope overhead. Existing defaults remain unchanged.
Every tool, its parameters and whether it reads or writes: docs/tools.md (generated from the running server — python -m simba_mcp.reference).
See architecture and compatibility for ownership, transport/authentication boundaries, known limits and validation.
Draft authoring discovery: get_recipe_draft_template(family="mmm" | "var") returns complete defaults generated by the shared wizard, a template hash and the draft envelope schema. Start new drafts from this snapshot and preserve unedited fields. Defaults are not validated models; check publication capabilities before publishing. Requires the corresponding backend capability and read:models.
Pass either uploaded_file_id or pipeline_version_id to get_recipe_draft_template to copy an owned uploaded dataset or saved pipeline output version into the new authoring snapshot and populate its bounded preview. Optional source origin is verified by the backend against exact bytes; detail responses include a source manifest. Reopening uses frozen data even if the original upload disappears. This does not enable publication or model fitting.
Draft publication: publish_recipe_draft freezes a saved MMM or VAR draft as an atomic batch, using expected version and caller UUID recovery; it never launches a fit. With target={recipe_id, expected_version} it writes revision N+1 of an existing recipe instead of a new one (412 stale_version keeps the draft and its edits; 409 target_requires_single_recipe for a multi-brand draft); create_recipe_draft with target={recipe_id, base_revision_id} opens that edit session. get_recipe_revision_authoring retrieves the authoring snapshot behind any revision that carries one (authoring_draft, wizard, base_model) and says whether its dataset is still available; diff_recipe_revisions states what changed between two revisions. Check backend publication capabilities. When publication_constraints.automatic_prior_resolution is freeze_at_publication, automatic MMM priors are resolved once and replayed without rebuilding. Original authoring choices remain recoverable for editing a new draft. This applies to draft publication; legacy api_mmm recipe resolution still requires fixed priors. VAR preserves its raw input and engine manifest; MMM quality policies cannot establish VAR acceptance.
Calibration: check the backend calibration capability. MMM draft publication validates active likelihood observations and returns their count, units, channels and hash in recipe provenance. Enabled invalid or unapplied observations fail explicitly; VAR calibration is unsupported. Preserve disabled authoring rows when editing. Imported wizard JSON is retained as editable rows; multipart wizard CSV capture retains its original bytes. No new MCP route is needed.
Pipeline sources retain the exact version ID, pipeline ID, version number and verified content hash. No pipeline is executed. Existing exported uploads are not assigned inferred pipeline lineage.
Draft source.history preserves up to 100 recorded column transformations/removals with parameters and before/after data hashes. The backend checks chain continuity and the terminal data hash. These are client-reported authoring records, not independently replayed operations or quality evidence. Edited data must omit an unchanged source origin. Unknown nested fields remain preserved.
Optional calibration_import retains an original JSON file (1 MB maximum) in the authorized authoring snapshot. Preserve it independently of current editable observations. The backend verifies its bytes/hash; published provenance includes filename/hash and explicitly states current observations may differ. Ordinary recipe responses omit the raw attachment. This reference is not scientific validation.
Custom numeric quality checks: create_quality_policy accepts checks such as {"metric":"custom:benchmark_deviation","name":"Benchmark deviation","units":"%","operator":"lte","maximum":10,"required":true}. Use gte with minimum, or between with both inclusive bounds. Read backend capability discovery before using this additive contract.
For externally calculated metrics, call evaluate_study_run(run_id, policy_id) first and retain report.basis_hash. Calculate from that run's saved outputs, then call the same tool with expected_basis_hash and external_evidence=[{"metric":"custom:benchmark_deviation","value":8,"method":"Absolute deviation as percentage of benchmark","source_reference":"Versioned model export and benchmark"}]. An optional source_sha256 records a reported source digest. The backend determines pass/fail and rejects stale output bases. Every submission creates a new assessment and must supply all intended custom values; omitted values remain unevaluated. Source references and calculations are submitter-reported, not independently verified. This numeric MMM contract does not execute agent code, accept a model, support VAR acceptance, or designate a champion.
Boolean checks use kind: "boolean", operator: "equals" and strict boolean expected. Submit a JSON boolean in external_evidence.value; numeric or string substitutes are rejected. Manual checks use kind: "manual", operator: "equals", expected: true. MCP can define these rules and read evidence, but API keys cannot submit manual sign-off: a signed-in reviewer must supply confirmation, rationale and source through the frontend. Missing answers stay unevaluated; sign-off is not automatic model acceptance or champion selection.
get_study_champion(study_id) reads the incumbent, accepted candidates/eligibility blockers and immutable selection/replacement/revocation history. The backend requires migration workflow_champion_001. Writes require the project owner's frontend session; MCP cannot promote or revoke. Stale evidence retains the incumbent with review_required. Validation references are reviewer-declared and decision_grade_ready remains false until scientific protocol qualification is implemented. Champion designation does not deploy or fit a model.
Native prediction-window gates are available as prediction_mae, prediction_rmse and prediction_wape (WAPE is a fraction). They use the existing create_quality_policy/evaluate_study_run tools. The backend reads saved actual/prediction rows, requires unique prediction dates after the saved training window and leaves missing/malformed evidence unevaluated. Both windows are bound into the assessment hash. This does not prove untouched holdout provenance, leakage-free preprocessing or full sampling intent; decision-grade champion qualification remains separate.
create_quality_policy(..., validation_protocol=...) can declare a temporal holdout before launching both runs. Required protocol fields are training_end, prediction_start/end, min_draws, min_tune, min_chains, max_r_hat and max_prediction_wape. Use kind: "temporal_holdout"; dates are ISO and WAPE a fraction. No defaults are recommended. Both runs must launch under that exact policy.
assess_study_validation_pair(study_id, full_run_id, validation_run_id, policy_id) assesses saved evidence without fitting or writing a model decision; serving available prediction evidence appends an access audit event. It checks distinct completed MMM tasks, launch binding, matching frozen files/settings/runtime, configured sampling minima, R-hat, prediction-window WAPE/dates and full-date coverage. Missing evidence blocks. The response fingerprint identifies the assessed records. Passing compatibility does not verify retained draws/ESS/divergences, preprocessing or untouched holdout history, and decision_grade_ready remains false.
Validation-pair responses include sampling_evidence for the full and validation runs: retained chain/draw counts, bulk/tail ESS minima and divergences when saved by the fitting engine. Missing or partial records are explicit. These values are not yet checked against acceptance limits and do not certify scientific readiness.
Protocols may now opt into retained_sampling: {min_ess_bulk, min_ess_tail, max_divergences} before launching both models. All limits are explicit, with positive ESS minima and a nonnegative integer divergence maximum. Pair assessments also apply declared chain/draw minima to retained counts. Missing/partial native records block; sampling_qualification distinguishes pass, blocked and not_declared. Business validity and holdout provenance still prevent scientific certification.
Set validation_protocol.require_policy_review before launching to require current analyst acceptance of each latest launch-policy assessment in pair checks. Stale evidence, subsequent rejection, missing acceptance or ambiguous ordering blocks. This reuses required policy gates; external business calculations remain reported evidence. MCP can declare and read these requirements but cannot supply analyst acceptance.
Pair responses expose holdout_provenance separately from compatibility. Version 1 full-input preprocessing records remain blocked. Version 2 records identify training-only transformation/scaling and report review_required with preprocessing_status: training_only. Missing or unsupported records are unavailable; no record is silently certified. Prior-source independence and holdout access/reuse evidence remain required; decision_grade_ready stays false. Existing routes and tool arguments are unchanged.
Pair responses also expose prior_provenance: native frozen automatic-prior source windows are checked against the declared training end and bound to recipe input hashes. A later source window or mismatched hashes is blocked; missing historical/uploaded provenance is unavailable. A valid window still requires review of assumptions, external calibration and holdout reuse. This does not record access history or certify independence. No tool arguments or routes changed.
get_study_prediction_access(run_id) reads partial Studies prediction-access history (totals and latest 20 events). Pair responses include prediction_access with the same partial-coverage summary, independent of the assessment hash. Assessment creation/history reads, comparison and pair checks append audit events when serving available prediction evidence. The three previously read-only inspection tools are now annotated non-destructive/additive and non-idempotent. Reading access metadata itself does not add events.
History is scoped to the study and matching recorded dataset/windows. Older activity, other results routes/exports, other studies and offline work are not covered. Repeated serving does not prove retuning; zero events never proves an untouched holdout. The backend requires its additive prediction-access migration; scientific qualification remains incomplete.
declare_study_holdout_use(run_id, declaration_id, source_access_id, disposition, reason, affected_revision_id=None) appends a reported evidence-use declaration with project-owner credentials and create:models. Read access history first and select an event from that run. Use review_only, informed_revision (requires a same-study published revision) or uncertain. Reuse the same UUID/content on retry; conflicting content is rejected. Declarations retain submitting interface and do not certify independence, accept or promote models.
Access/pair responses include holdout_use; reported revision influence retains fresh_validation_required for affected revisions even after later review-only notes. Other declarations remain review_required, and no declarations means not_recorded. Declaration history changes the pair fingerprint; additional viewing alone does not. The backend requires its additive holdout-use migration. Champion reads expose candidate-specific holdout_use: an informed-revision declaration blocks selection of that named revision and marks an existing champion review_required. Ordinary access, review-only notes and unrelated revisions do not block. Later acceptance or review-only notes cannot clear an earlier influence report. This applies to named revisions and their recorded descendants, including ordered recipe predecessors and source-revision ancestry; current analyst-reviewed validation resolutions may clear the exact accepted run; changed or revoked evidence reblocks it. No report is not proof of an untouched holdout.
Replacement holdout preflight: assess_study_validation_pair returns fresh_validation for reports naming the full-model revision. It checks that a replacement policy follows the influence declarations, precedes both runs, and uses prediction dates strictly after the used holdouts. Recorded same-study access overlapping the new dates before policy creation blocks preflight, conservatively across dataset versions. Complete retained sampling, accepted policy evidence and supported training-only preprocessing/prior records are required. Status is not_required, blocked, or review_required; resolves_champion_block is always false. This is not a durable resolution or proof of offline independence. No extra tool or request field is needed.
Reviewed resolutions and recipe ancestry
get_study_validation_resolutions(study_id) returns append-only analyst resolutions and revocations with re-evaluated current, stale or revoked status. The backend requires migration workflow_resolution_001. API keys cannot sign off independence or revoke reviews: the signed-in owner uses the UI, which binds the exact pair fingerprint and requires a rationale plus an explicit independence review. Current resolution clears only the exact accepted full run; new outputs, declarations or reviews invalidate it. Champion reads expose resolved_by_review and the resolution identity. No automatic scientific certification or promotion is performed.
When creating a derived recipe or draft, supply source_revision_id from the same study. create_recipe_draft, create_study_recipe and revise_study_recipe forward this optional field. Draft source linkage is immutable and survives full-editor publication; previous versions of a recipe inherit influence automatically. Unrecorded/off-platform copies remain outside recorded ancestry. Resolution does not transfer to new runs or descendants.
Release note: these tools require the corresponding MCP package release and updated backend. Draft-branch tests do not establish package publication or application deployment.
Experiment priorities
See What to test next for the read-only experiment screening tool, its inputs, approximation and limitations. Requires compatible backend support.
Released: Dec 5, 2026
Both files in this release have provenance metadata.
View provenance details
MIT View SPDX License List
bayesian marketing-mix-model mcp mmm simply-bayesian-ai
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: MIT License
Programming Language Python :: 3
Topic Scientific/Engineering
Release files for simba-mcp 0.18.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.2 MB
Release files / simba_mcp-0.18.1.tar.gz
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.
Release files / simba_mcp-0.18.1-py3-none-any.whl
Security for simba-mcp 0.18.1
Both files in this release have been uploaded with provenance metadata.
With provenance simba_mcp-0.18.1.tar.gz Dec 5, 2026
With provenance simba_mcp-0.18.1-py3-none-any.whl Dec 5, 2026
Attestation for simba_mcp-0.18.1.tar.gz
Attestation for simba_mcp-0.18.1-py3-none-any.whl
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Dec 6, 2026 2 release files Full provenance
Dec 5, 2026 2 release files Full provenance
Oct 14, 2026 2 release files Full provenance
Oct 4, 2026 2 release files Full provenance
Oct 2, 2026 2 release files Full provenance
Oct 1, 2026 2 release files Full provenance
Sep 29, 2026 2 release files Full provenance
Sep 28, 2026 2 release files Full provenance
Sep 27, 2026 2 release files Full provenance
Sep 26, 2026 2 release files Full provenance
Sep 25, 2026 2 release files Full provenance
Sep 24, 2026 2 release files Full provenance
Sep 23, 2026 2 release files Full provenance
Sep 22, 2026 2 release files Full provenance
Sep 20, 2026 2 release files Full provenance
Sep 19, 2026 2 release files Full provenance
Aug 26, 2026 2 release files Full provenance
Aug 25, 2026 2 release files Full provenance
Apr 6, 2026 2 release files Full provenance
Apr 5, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from 4d99e05











