{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "claribi.com",
    "site": "claribi.com",
    "addresses": [
      {
        "address": "165.227.146.154",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 14061,
          "prefix": "165.227.144.0/20",
          "country": "US",
          "name": "DIGITALOCEAN-ASN - DigitalOcean, LLC"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "165.227.146.154"
        ],
        "first_seen": "2026-11-22T08:13:02.831Z",
        "last_seen": "2026-11-22T08:13:02.831Z",
        "checks": 1
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx\""
      }
    ],
    "server_info": {
      "name": "clariBI MCP Server",
      "version": "1.0.0",
      "protocol_version": "2025-03-26"
    },
    "headers": {
      "server": "nginx",
      "strict-transport-security": "max-age=31536000; includeSubDomains, max-age=63072000"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "8027",
          "url": "https://claribi.com/mcp/v1/sse",
          "server_name": "com.claribi/mcp-server",
          "last_state": "unsupported_transport",
          "last_checked_at": null
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.claribi",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/ICS-cz/Claribi",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "8026",
    "server_name": "com.claribi/mcp-server",
    "url": "https://claribi.com/mcp/v1/",
    "host": "claribi.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T08:13:02.831Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "81ee3156c4054116b8a4ef4e90ad371afa8f4a5b531ba9746d0e46aa1e08f3f5",
    "first_listed_at": "2026-11-21T07:42:03.046Z",
    "created_at": "2026-11-21T05:30:07.533Z",
    "resolved_addresses": [
      "165.227.146.154"
    ]
  },
  "server": {
    "name": "com.claribi/mcp-server",
    "title": "clariBI",
    "description": "AI business intelligence: sign up, ingest data, run analyses, generate reports from any MCP client.",
    "version": "1.0.0",
    "registry_status": "active",
    "repository_url": "https://github.com/ICS-cz/Claribi",
    "website_url": "https://claribi.com",
    "published_at": "2026-06-02T14:57:34.962Z",
    "updated_at": "2026-06-02T14:57:34.962Z",
    "first_seen": "2026-11-21T05:30:06.884Z"
  },
  "other_endpoints": [
    {
      "id": "8027",
      "url": "https://claribi.com/mcp/v1/sse",
      "transport": "sse",
      "last_state": "unsupported_transport",
      "last_checked_at": null
    }
  ],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:05:13.339Z"
  },
  "operator": {
    "key": "claribi.com",
    "name": "claribi.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1602,
    "first_check_in_window": "2026-11-21T07:42:03.046Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "81ee3156c4054116b8a4ef4e90ad371afa8f4a5b531ba9746d0e46aa1e08f3f5",
    "tools": 26,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T07:42:04.589Z",
    "tool_names": [
      "check_integration_status",
      "check_pricing",
      "create_checkout_session",
      "create_forecast",
      "generate_report",
      "get_analysis_status",
      "get_billing_status",
      "get_dashboard",
      "get_data_source_schema",
      "get_forecast",
      "get_forecast_run",
      "get_forecast_trust",
      "get_report",
      "get_usage",
      "ingest_url_data_source",
      "list_dashboards",
      "list_data_sources",
      "list_forecasts",
      "list_reports",
      "regenerate_forecast_narrative",
      "register_account",
      "request_oauth_integration_url",
      "run_analysis",
      "run_forecast",
      "upload_data_source",
      "verify_email"
    ],
    "declared": {
      "tools": [
        {
          "name": "check_integration_status",
          "description": "Poll an OAuth handoff initiated by request_oauth_integration_url. Returns the current status (pending, connected, failed, expired) and, when connected, the data_source_id you can pass to run_analysis.",
          "inputSchema": {
            "type": "object",
            "required": [
              "handoff_id"
            ],
            "properties": {
              "handoff_id": {
                "type": "string",
                "format": "uuid",
                "description": "The id returned by request_oauth_integration_url."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "handoff_id",
              "provider",
              "integration_type",
              "status"
            ],
            "properties": {
              "error": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Failure reason when status is \"failed\"."
              },
              "status": {
                "type": "string",
                "description": "One of pending, connected, failed, expired."
              },
              "provider": {
                "type": "string"
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "handoff_id": {
                "type": "string",
                "format": "uuid"
              },
              "completed_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "connection_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "data_source_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The created data source, present once status is \"connected\"."
              },
              "integration_type": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "check_pricing",
          "description": "List clariBI subscription tiers with prices, AI credits, data source limits, user limits, and headline features. No authentication required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "tier": {
                "type": "string",
                "description": "Optional. Return only this tier (free, trial, lite, starter, professional, enterprise)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "currency",
              "tiers",
              "billing_url"
            ],
            "properties": {
              "tiers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "price_monthly_usd",
                    "price_yearly_usd"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string",
                      "description": "Display name of the tier."
                    },
                    "max_users": {
                      "type": "integer"
                    },
                    "ai_credits": {
                      "type": "integer"
                    },
                    "storage_gb": {
                      "type": "number"
                    },
                    "data_sources": {
                      "type": "integer"
                    },
                    "duration_days": {
                      "type": "integer",
                      "description": "Trial length in days; 0 for paid tiers."
                    },
                    "price_yearly_usd": {
                      "type": "number"
                    },
                    "headline_features": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "price_monthly_usd": {
                      "type": "number"
                    }
                  }
                }
              },
              "currency": {
                "type": "string",
                "description": "ISO currency code, always \"USD\"."
              },
              "billing_url": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_checkout_session",
          "description": "Create a Stripe Checkout URL the user can open in a browser to upgrade their clariBI subscription. Payment cannot happen inside the LLM; this tool returns a URL.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tier"
            ],
            "properties": {
              "tier": {
                "enum": [
                  "starter",
                  "professional",
                  "enterprise"
                ],
                "type": "string",
                "description": "Target subscription tier."
              },
              "billing_period": {
                "enum": [
                  "monthly",
                  "yearly"
                ],
                "type": "string",
                "default": "monthly",
                "description": "Billing cadence for the checkout. Defaults to monthly."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "checkout_url",
              "session_id",
              "tier",
              "billing_period"
            ],
            "properties": {
              "tier": {
                "type": "string"
              },
              "session_id": {
                "type": "string",
                "description": "Stripe Checkout Session id."
              },
              "checkout_url": {
                "type": "string",
                "format": "uri",
                "description": "Stripe Checkout URL. Open in a browser to complete payment."
              },
              "billing_period": {
                "type": "string",
                "description": "monthly or yearly."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_forecast",
          "description": "Bind a forecast to a metric in your workspace. Stores the configuration, sets up the schedule, and resolves the source binding immediately so a bad source_id or metric_path errors out before any credits are spent. Run the forecast with run_forecast.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "source_type",
              "source_id",
              "metric_path"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 255,
                "minLength": 1
              },
              "source_id": {
                "type": "string",
                "description": "UUID of the report, dashboard, goal, or data source."
              },
              "transform": {
                "enum": [
                  "auto",
                  "none",
                  "log"
                ],
                "type": "string",
                "default": "auto",
                "description": "Series transform applied before fitting. Log helps revenue/traffic series with growing variance. Auto detects when log is beneficial; none forces raw scale."
              },
              "aggregation": {
                "enum": [
                  "auto",
                  "sum",
                  "mean",
                  "last",
                  "max"
                ],
                "type": "string",
                "default": "auto",
                "description": "How multiple raw points falling into the same bucket are combined. Auto picks sum for additive metrics, mean otherwise. Use Mean for rates (CTR, conversion, latency)."
              },
              "description": {
                "type": "string",
                "maxLength": 5000
              },
              "granularity": {
                "enum": [
                  "hourly",
                  "daily",
                  "weekly",
                  "monthly",
                  "quarterly",
                  "annual"
                ],
                "type": "string",
                "default": "daily",
                "description": "Bucket size for the time series. Hourly requires an hourly data source; the engine refuses to fabricate hourly buckets from daily data."
              },
              "metric_path": {
                "type": "string",
                "description": "Dot-path to the numeric column. For data_source: the metric key (e.g. \"revenue\"). For goal: \"value\" or \"percentage\". For report: the path inside the insights JSON. For dashboard: \"widget_id:metric_name\"."
              },
              "source_type": {
                "enum": [
                  "report",
                  "dashboard",
                  "goal",
                  "data_source"
                ],
                "type": "string",
                "description": "Which clariBI artifact the metric lives on. Most callers should start with data_source for raw connector metrics or goal to forecast a tracked KPI."
              },
              "horizon_days": {
                "type": "integer",
                "default": 30,
                "maximum": 168,
                "minimum": 1,
                "description": "How many BUCKETS ahead to project. The per-granularity cap applies: hourly 168, daily 90, weekly 52, monthly 24, quarterly 8, annual 5. The field name is \"_days\" for backwards compatibility — it counts buckets of the chosen granularity."
              },
              "non_negative": {
                "type": "boolean",
                "description": "When true, point + lower band clamped at zero. Omit to let the engine heuristic decide (via non_negative_auto=true)."
              },
              "method_override": {
                "type": "string",
                "maxLength": 40,
                "description": "Force a specific forecasting method instead of auto-selecting via walk-forward CV. Valid names: naive, seasonal_naive, moving_average, drift, linear_trend, ar_p, holt_winters, holt_winters_multiplicative, holt_winters_damped, theta, gradient_boost, ensemble_top3. Empty = auto."
              },
              "include_anomalies": {
                "type": "boolean",
                "default": true
              },
              "narration_enabled": {
                "type": "boolean",
                "default": true,
                "description": "When true, every completed run gets an AI-generated narrative attached (summary, highlights, risks, recommendations, methodology). Costs 1-2 extra AI credits per run."
              },
              "non_negative_auto": {
                "type": "boolean",
                "default": true,
                "description": "When true (default), the backend heuristic owns non_negative and re-evaluates per run based on the metric path. Set false alongside non_negative to lock the choice."
              },
              "schedule_frequency": {
                "enum": [
                  "daily",
                  "weekly",
                  "monthly",
                  "manual"
                ],
                "type": "string",
                "default": "monthly",
                "description": "How often the forecast re-runs. Manual schedules only run when called explicitly via run_forecast."
              },
              "include_changepoints": {
                "type": "boolean",
                "default": true
              },
              "include_correlations": {
                "type": "boolean",
                "default": true
              },
              "schedule_day_of_week": {
                "type": "integer",
                "maximum": 6,
                "minimum": 0
              },
              "schedule_day_of_month": {
                "type": "integer",
                "maximum": 31,
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "horizon_days",
              "web_url"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "web_url": {
                "type": "string",
                "format": "uri"
              },
              "granularity": {
                "type": "string"
              },
              "next_run_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "horizon_days": {
                "type": "integer"
              },
              "metric_label": {
                "type": "string"
              },
              "schedule_frequency": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "generate_report",
          "description": "Generate a written report from a report template and your data sources, in the background. Uses AI credits. Returns a job id: poll get_analysis_status until it completes; the result names the new report, which get_report returns.",
          "inputSchema": {
            "type": "object",
            "required": [
              "template_id"
            ],
            "properties": {
              "question": {
                "type": "string",
                "maxLength": 2000,
                "description": "Optional focus for the report, e.g. \"paid acquisition in Q3\"."
              },
              "template_id": {
                "type": "string",
                "minLength": 2,
                "description": "ID or slug of a report template (see the template list in the web app)."
              },
              "data_source_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid"
                },
                "maxItems": 5,
                "description": "Data sources to report on, most important first (from list_data_sources). Omit to use every active source in the organization, up to 5."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status"
            ],
            "properties": {
              "job_id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "description": "\"queued\" once generation has started."
              },
              "web_url": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_analysis_status",
          "description": "Check the status of a previously-dispatched run_analysis job. Returns the analysis result if completed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "format": "uuid",
                "description": "job_id returned by a prior run_analysis call."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "current_step",
              "progress"
            ],
            "properties": {
              "error": {
                "type": "string",
                "description": "Failure reason. Present when status is \"failed\"."
              },
              "job_id": {
                "type": "string",
                "format": "uuid"
              },
              "result": {
                "type": "object",
                "description": "Analysis envelope. Present when status is \"completed\"."
              },
              "status": {
                "type": "string"
              },
              "progress": {
                "type": "number",
                "description": "Completion fraction or percentage reported by the job."
              },
              "current_step": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_billing_status",
          "description": "Get the organization's billing status — tier, renewal date, and upgrade options.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "subscription_tier",
              "subscription_status",
              "price_monthly_usd",
              "price_yearly_usd",
              "billing_url"
            ],
            "properties": {
              "billing_url": {
                "type": "string",
                "format": "uri"
              },
              "trial_ends_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "price_yearly_usd": {
                "type": "number"
              },
              "price_monthly_usd": {
                "type": "number"
              },
              "subscription_tier": {
                "type": "string"
              },
              "subscription_status": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_dashboard",
          "description": "Fetch one dashboard by ID. Includes widget definitions, the most recent refresh data, and the web URL.",
          "inputSchema": {
            "type": "object",
            "required": [
              "dashboard_id"
            ],
            "properties": {
              "dashboard_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the dashboard to fetch."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "status",
              "web_url",
              "is_public"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "description": "Dashboard lifecycle status."
              },
              "web_url": {
                "type": "string",
                "format": "uri"
              },
              "is_public": {
                "type": "boolean"
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "updated_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "description": {
                "type": "string"
              },
              "last_refresh": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "configuration": {
                "type": "object",
                "description": "Dashboard layout and widget configuration."
              },
              "analysis_metadata": {
                "type": "object",
                "description": "AnalysisEngine envelope captured when the dashboard was created."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_data_source_schema",
          "description": "Fetch the column schema for a data source. Useful before asking run_analysis about specific columns. The schema is derived from the preprocessing metadata clariBI extracted when the source was last synced. Poll this after upload_data_source / ingest_url_data_source until the returned status flips to \"active\" — that means preprocessing has finished and run_analysis will see the data.",
          "inputSchema": {
            "type": "object",
            "required": [
              "data_source_id"
            ],
            "properties": {
              "data_source_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the data source to fetch the schema for."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "source_type",
              "status",
              "schema"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "schema": {
                "type": "object",
                "description": "Schema-shaped fields the preprocessing pipeline wrote into the source metadata (columns, column_types, sample_rows, row_count, ...). Empty until preprocessing has run or for source types with no column inventory."
              },
              "status": {
                "type": "string"
              },
              "source_type": {
                "type": "string"
              },
              "last_sync_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_forecast",
          "description": "Fetch one forecast configuration by ID.",
          "inputSchema": {
            "type": "object",
            "required": [
              "forecast_id"
            ],
            "properties": {
              "forecast_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the forecast to fetch."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "name",
              "source_type",
              "metric_path",
              "horizon_days",
              "web_url"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "name": {
                "type": "string"
              },
              "web_url": {
                "type": "string",
                "format": "uri"
              },
              "is_active": {
                "type": "boolean"
              },
              "source_id": {
                "type": "string"
              },
              "transform": {
                "type": "string",
                "description": "auto / none / log"
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "updated_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "aggregation": {
                "type": "string",
                "description": "auto / sum / mean / last / max"
              },
              "description": {
                "type": "string"
              },
              "granularity": {
                "type": "string",
                "description": "One of: hourly, daily, weekly, monthly, quarterly, annual."
              },
              "metric_path": {
                "type": "string"
              },
              "next_run_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "source_type": {
                "type": "string",
                "description": "One of: report, dashboard, goal, data_source."
              },
              "horizon_days": {
                "type": "integer"
              },
              "metric_label": {
                "type": "string"
              },
              "non_negative": {
                "type": "boolean"
              },
              "latest_run_id": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid"
              },
              "method_override": {
                "type": "string"
              },
              "include_anomalies": {
                "type": "boolean"
              },
              "latest_run_status": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "pending, running, completed, failed, refunded."
              },
              "narration_enabled": {
                "type": "boolean"
              },
              "non_negative_auto": {
                "type": "boolean"
              },
              "schedule_frequency": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "daily, weekly, monthly, or manual."
              },
              "include_changepoints": {
                "type": "boolean"
              },
              "include_correlations": {
                "type": "boolean"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_forecast_run",
          "description": "Fetch one run of a forecast by ID, or pass run_id=\"latest\" for the most recent run. Returns the full forecast envelope: target series + 30-day projection, correlated drivers (with lag and bootstrap stability), anomalies, structural changes, and credit accounting.",
          "inputSchema": {
            "type": "object",
            "required": [
              "forecast_id",
              "run_id"
            ],
            "properties": {
              "run_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the run. Pass 'latest' to fetch the most recent run for the forecast."
              },
              "forecast_id": {
                "type": "string",
                "format": "uuid"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "forecast_id",
              "status"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "result": {
                "type": "object",
                "description": "Forecast envelope. Contains keys: target, correlations, anomalies, changepoints, meta, and (when narration ran) narration. `target` carries lower/upper plus calibrated lower_50/upper_50, lower_80/upper_80, lower_95/upper_95 bands, the winning method, exogenous_driver when a leading-indicator was used, ensemble_components when the ensemble method won, transform applied, and non_negative flag. See docs/MCP_SERVER.md for the shape."
              },
              "status": {
                "type": "string"
              },
              "trigger": {
                "type": "string"
              },
              "narration": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Peer of result.narration for convenience. Null when the run pre-dates narration OR was gated out (insufficient credits, org disabled, etc.)."
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "duration_ms": {
                "type": "integer"
              },
              "forecast_id": {
                "type": "string",
                "format": "uuid"
              },
              "completed_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "error_message": {
                "type": "string"
              },
              "credits_consumed": {
                "type": "integer"
              },
              "credits_refunded": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_forecast_trust",
          "description": "Returns per-past-run accuracy for a forecast. Each row compares a prior run's projection against the actuals that have materialized since. Use this to see whether your forecasts have been getting MORE or LESS accurate over time, or to spot when a backtest sMAPE was systematically optimistic vs. realised performance.",
          "inputSchema": {
            "type": "object",
            "required": [
              "forecast_id"
            ],
            "properties": {
              "forecast_id": {
                "type": "string",
                "format": "uuid"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "runs"
            ],
            "properties": {
              "runs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "method": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "run_id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "horizon": {
                      "type": "integer"
                    },
                    "created_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "smape_actual": {
                      "type": "number",
                      "description": "sMAPE between the run's forecast and what actually happened. Lower is better; [0, 200]."
                    },
                    "observed_count": {
                      "type": "integer",
                      "description": "How many of the forecast points now have an actual observation to compare against."
                    },
                    "smape_backtest": {
                      "type": "number",
                      "description": "The run's own backtest sMAPE at the time it was generated. Compare against actual to spot drift over time."
                    }
                  }
                },
                "description": "Per-past-run accuracy ordered oldest-first. Each row compares one prior run's forecast against actuals that have since materialized."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_report",
          "description": "Fetch one generated report by ID.",
          "inputSchema": {
            "type": "object",
            "required": [
              "report_id"
            ],
            "properties": {
              "report_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the report to fetch."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "id",
              "title",
              "status",
              "web_url"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "web_url": {
                "type": "string",
                "format": "uri"
              },
              "insights": {
                "type": "object",
                "description": "Narrative insight blocks, when generated."
              },
              "created_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "description": {
                "type": "string"
              },
              "completed_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "download_url": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Present only once status is \"completed\"."
              },
              "output_format": {
                "type": "string"
              },
              "output_file_path": {
                "type": "string"
              },
              "report_period_end": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "report_period_start": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "data_quality_metrics": {
                "type": "object",
                "description": "Per-source data-quality stats captured at generation time."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "get_usage",
          "description": "Get the organization's current AI credit usage, data source count, user count, and rate-limit headroom.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "subscription_tier",
              "subscription_status",
              "ai_credits_used",
              "ai_credits_limit",
              "ai_credits_remaining"
            ],
            "properties": {
              "max_users": {
                "type": "integer"
              },
              "trial_ends_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "ai_credits_used": {
                "type": "integer"
              },
              "ai_credits_limit": {
                "type": "integer"
              },
              "storage_gb_limit": {
                "type": "number"
              },
              "data_sources_used": {
                "type": "integer"
              },
              "subscription_tier": {
                "type": "string"
              },
              "data_sources_limit": {
                "type": "integer"
              },
              "subscription_status": {
                "type": "string"
              },
              "ai_credits_remaining": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "ingest_url_data_source",
          "description": "Create a new data source by fetching a public URL on the server side. Handles CSV, TSV, JSON, Excel, TXT, and PDF. Private networks (RFC 1918, loopback, cloud metadata) are blocked. Returns the data_source_id once preprocessing has started. Use this for files larger than the 25 MB inline upload cap.",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "description": "Public http(s) URL of the file to ingest. The server fetches it once at call time; the URL is not re-fetched on subsequent analyses. Private networks (RFC 1918, loopback, link-local, cloud metadata) are blocked."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 2,
                "description": "Display name for the new data source."
              },
              "format": {
                "enum": [
                  "csv",
                  "tsv",
                  "json",
                  "xlsx",
                  "xls",
                  "txt",
                  "pdf"
                ],
                "type": "string",
                "description": "Optional format hint. If omitted, the server infers it from the Content-Type header and URL extension."
              },
              "description": {
                "type": "string",
                "maxLength": 1000,
                "description": "Optional human note stored on the data source."
              },
              "wait_seconds": {
                "type": "integer",
                "default": 0,
                "maximum": 60,
                "minimum": 0,
                "description": "Seconds to block waiting for preprocessing before returning. 0 returns immediately."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "data_source_id",
              "raw_data_id",
              "name",
              "format",
              "status",
              "bytes_fetched"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "format": {
                "type": "string",
                "description": "Detected file format (csv, json, xlsx, ...)."
              },
              "status": {
                "type": "string",
                "description": "Preprocessing status. Poll get_data_source_schema until \"active\"."
              },
              "web_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "raw_data_id": {
                "type": "string"
              },
              "bytes_fetched": {
                "type": "integer"
              },
              "data_source_id": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "list_dashboards",
          "description": "List dashboards in your clariBI organization. Returns id, name, status, last refresh, and a URL you can open in a browser.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (1–100)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Row offset for pagination."
              },
              "search": {
                "type": "string",
                "description": "Optional substring match against dashboard name."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "offset",
              "limit",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "status",
                    "web_url",
                    "is_public"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "name": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "description": "Dashboard lifecycle status."
                    },
                    "web_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "is_public": {
                      "type": "boolean"
                    },
                    "created_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "last_refresh": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  }
                }
              },
              "limit": {
                "type": "integer"
              },
              "total": {
                "type": "integer",
                "description": "Total dashboards matching the query."
              },
              "offset": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "list_data_sources",
          "description": "List the data sources connected to your clariBI organization. Returns id, name, source_type, status, last sync time, and the number of rows (when known).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 50,
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (1-100)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Row offset for pagination."
              },
              "source_type": {
                "type": "string",
                "description": "Filter by source_type (csv, postgresql, google_ads, meta_ads, jira, mcp, …)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "offset",
              "limit",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "source_type",
                    "status"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "name": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "description": "Sync/preprocessing status."
                    },
                    "row_count": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "Row count when preprocessing recorded one, else null."
                    },
                    "created_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "source_type": {
                      "type": "string"
                    },
                    "last_sync_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  }
                }
              },
              "limit": {
                "type": "integer"
              },
              "total": {
                "type": "integer",
                "description": "Total data sources matching the query."
              },
              "offset": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "list_forecasts",
          "description": "List metric forecasts in your clariBI organization. Each row covers one metric: its source binding, horizon, schedule, and the latest run status. Use get_forecast_run to fetch the full forecast result.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (1-100)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Row offset for pagination."
              },
              "is_active": {
                "type": "boolean",
                "description": "Filter by active forecasts. Omit to include both active and paused."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "offset",
              "limit",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "source_type",
                    "metric_path",
                    "horizon_days",
                    "web_url"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "name": {
                      "type": "string"
                    },
                    "web_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "is_active": {
                      "type": "boolean"
                    },
                    "source_id": {
                      "type": "string"
                    },
                    "transform": {
                      "type": "string",
                      "description": "auto / none / log"
                    },
                    "created_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "aggregation": {
                      "type": "string",
                      "description": "auto / sum / mean / last / max"
                    },
                    "granularity": {
                      "type": "string",
                      "description": "One of: hourly, daily, weekly, monthly, quarterly, annual."
                    },
                    "metric_path": {
                      "type": "string"
                    },
                    "next_run_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "source_type": {
                      "type": "string",
                      "description": "One of: report, dashboard, goal, data_source."
                    },
                    "horizon_days": {
                      "type": "integer"
                    },
                    "metric_label": {
                      "type": "string"
                    },
                    "non_negative": {
                      "type": "boolean"
                    },
                    "latest_run_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "uuid"
                    },
                    "method_override": {
                      "type": "string"
                    },
                    "latest_run_status": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "pending, running, completed, failed, refunded."
                    },
                    "narration_enabled": {
                      "type": "boolean"
                    },
                    "non_negative_auto": {
                      "type": "boolean"
                    },
                    "schedule_frequency": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "daily, weekly, monthly, or manual."
                    }
                  }
                }
              },
              "limit": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              },
              "offset": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "list_reports",
          "description": "List generated reports in your clariBI organization. Returns id, title, status, output format, and download URL.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "default": 20,
                "maximum": 100,
                "minimum": 1,
                "description": "Page size (1-100)."
              },
              "offset": {
                "type": "integer",
                "default": 0,
                "minimum": 0,
                "description": "Row offset for pagination."
              },
              "status": {
                "type": "string",
                "description": "Filter by status (pending, generating, completed, failed, cancelled)."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "offset",
              "limit",
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "status",
                    "web_url"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "title": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "web_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "created_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "completed_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Present only once status is \"completed\"."
                    },
                    "output_format": {
                      "type": "string"
                    }
                  }
                }
              },
              "limit": {
                "type": "integer"
              },
              "total": {
                "type": "integer",
                "description": "Total reports matching the query."
              },
              "offset": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "regenerate_forecast_narrative",
          "description": "Re-run ONLY the AI narration step against an existing completed forecast run. Costs 1-2 AI credits (no engine work). Returns the new narration; the old one is overwritten in the run record. Refuses when the run is not yet complete or when narration_enabled=false on the forecast.",
          "inputSchema": {
            "type": "object",
            "required": [
              "forecast_id",
              "run_id"
            ],
            "properties": {
              "run_id": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of a COMPLETED run. Use get_forecast_run with run_id='latest' first if you want the most recent."
              },
              "forecast_id": {
                "type": "string",
                "format": "uuid"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "narration"
            ],
            "properties": {
              "narration": {
                "type": "object",
                "description": "Narration payload (summary, highlights, risks, recommendations, methodology_note, credits_consumed, model_used, generated_at, fallback_reason). fallback_reason is null on success; one of 'insufficient_credits', 'llm_failed', 'disabled', 'org_disabled' when narration was skipped."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "register_account",
          "description": "Begin clariBI account signup. Validates the email + organization name, emails a 6-digit verification code, and returns a pending_id. Call verify_email(pending_id, code) within 10 minutes to finish signup and receive an API key.",
          "inputSchema": {
            "type": "object",
            "required": [
              "email",
              "organization_name",
              "accept_terms"
            ],
            "properties": {
              "email": {
                "type": "string",
                "format": "email",
                "description": "Work email for the new account."
              },
              "last_name": {
                "type": "string",
                "maxLength": 100,
                "description": "User's last name (optional)."
              },
              "first_name": {
                "type": "string",
                "maxLength": 100,
                "description": "User's first name (optional)."
              },
              "accept_terms": {
                "type": "boolean",
                "description": "Must be true. By passing true the user agrees to https://claribi.com/terms and https://claribi.com/privacy."
              },
              "organization_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 2,
                "description": "Display name for the organization workspace."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "pending_id",
              "next_step",
              "expires_in_seconds"
            ],
            "properties": {
              "email": {
                "type": "string"
              },
              "next_step": {
                "type": "string",
                "description": "Next tool to call: \"verify_email\" for a fresh signup, else \"check_inbox\"."
              },
              "pending_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Pass to verify_email. Null when no new registration was created."
              },
              "expires_in_seconds": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "request_oauth_integration_url",
          "description": "Initiate an OAuth handoff to a vendor integration (Google Ads, GA4, Search Console, Sheets, Drive, BigQuery, Meta Ads, Jira, Confluence). Returns an authorization URL the user opens in a browser. After the user clicks Allow, the connection is created and you can poll check_integration_status(handoff_id) to find out when the data is ready.",
          "inputSchema": {
            "type": "object",
            "required": [
              "provider"
            ],
            "properties": {
              "provider": {
                "enum": [
                  "google",
                  "meta",
                  "jira",
                  "confluence"
                ],
                "type": "string",
                "description": "OAuth provider to authorize. Currently supports the native-OAuth catalog: Google (Ads, Analytics 4, Search Console, Sheets, Drive, BigQuery), Meta Ads, and Atlassian Jira / Confluence."
              },
              "integration_type": {
                "type": "string",
                "description": "Per-provider sub-type. Google accepts google_ads, gsheets, ga4, gsc, gdrive, bigquery, gcs, gcp, basic. Meta accepts ads or basic. Jira and Confluence accept basic. Defaults to basic."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "handoff_id",
              "authorize_url",
              "provider",
              "integration_type",
              "expires_in_seconds",
              "next_step"
            ],
            "properties": {
              "provider": {
                "type": "string"
              },
              "next_step": {
                "type": "string",
                "description": "Tool to call next, normally \"check_integration_status\"."
              },
              "handoff_id": {
                "type": "string",
                "format": "uuid"
              },
              "authorize_url": {
                "type": "string",
                "format": "uri",
                "description": "Open in a browser to grant consent."
              },
              "integration_type": {
                "type": "string"
              },
              "expires_in_seconds": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "run_analysis",
          "description": "Run a natural-language analytics question against your connected data sources. Consumes AI credits. Returns either the completed analysis result inline OR a job_id you can poll with get_analysis_status. If list_data_sources returns an empty list, ingest data first with upload_data_source (inline base64), ingest_url_data_source (public URL), or request_oauth_integration_url (Google / Meta / Jira / Confluence).",
          "inputSchema": {
            "type": "object",
            "required": [
              "question"
            ],
            "properties": {
              "question": {
                "type": "string",
                "maxLength": 1000,
                "minLength": 3,
                "description": "Natural language question to analyze. E.g. \"What was revenue last quarter by region?\"."
              },
              "session_id": {
                "type": "string",
                "description": "Optional existing conversation session UUID."
              },
              "wait_seconds": {
                "type": "integer",
                "default": 30,
                "maximum": 60,
                "minimum": 0,
                "description": "How long (seconds) to wait for the job to finish before returning a job_id for polling. 0 = always return immediately."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "format": "uuid"
              },
              "result": {
                "type": "object",
                "description": "Analysis envelope (headline metric, chart data, follow-ups). Present when status is \"completed\"."
              },
              "status": {
                "type": "string",
                "description": "Job status, e.g. \"completed\", \"running\", \"queued\"."
              },
              "poll_url": {
                "type": "string",
                "format": "uri",
                "description": "Present when the job is still running. Poll get_analysis_status instead for structured progress."
              },
              "ai_credits_used": {
                "type": "integer"
              },
              "ai_credits_limit": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "run_forecast",
          "description": "Run a forecast now. Reserves AI credits up front, dispatches the backtest + projection + correlation pipeline, and returns either the completed result inline (wait_seconds > 0 and the run finishes in time) or a run_id you can poll with get_forecast_run.",
          "inputSchema": {
            "type": "object",
            "required": [
              "forecast_id"
            ],
            "properties": {
              "forecast_id": {
                "type": "string",
                "format": "uuid"
              },
              "wait_seconds": {
                "type": "integer",
                "default": 30,
                "maximum": 60,
                "minimum": 0,
                "description": "Seconds to wait for the run to finish before returning a poll handle. 0 = return immediately with the run_id."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "run_id",
              "status"
            ],
            "properties": {
              "result": {
                "type": "object",
                "description": "Present when status reaches \"completed\"."
              },
              "run_id": {
                "type": "string",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "description": "pending while queued, running mid-execution, completed/failed/refunded when terminal."
              },
              "poll_tool": {
                "type": "string",
                "description": "Tool to poll if the run is still running (\"get_forecast_run\")."
              },
              "credits_consumed": {
                "type": "integer"
              },
              "credits_refunded": {
                "type": "integer"
              },
              "credits_reserved": {
                "type": "integer"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "upload_data_source",
          "description": "Create a new data source from an inline base64-encoded file (CSV, TSV, JSON, Excel, TXT, PDF). The file goes through the same validation and preprocessing as a web upload. Returns the data_source_id you can pass to run_analysis as soon as preprocessing completes (poll get_data_source_schema for readiness or pass wait_seconds to block here).",
          "inputSchema": {
            "type": "object",
            "required": [
              "name",
              "format",
              "data_base64"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 2,
                "description": "Display name for the new data source. Shown in the web app and in subsequent list_data_sources calls."
              },
              "format": {
                "enum": [
                  "csv",
                  "tsv",
                  "json",
                  "xlsx",
                  "xls",
                  "txt",
                  "pdf"
                ],
                "type": "string",
                "description": "File format. Drives MIME detection and the preprocessing route inside clariBI. csv covers comma-separated; tsv is tab-separated; xlsx is modern Excel; json must be a top-level array of objects or a single object."
              },
              "data_base64": {
                "type": "string",
                "description": "Base64-encoded file contents. Maximum 25 MB encoded (~18 MB raw). For larger payloads, host the file at a public URL and use ingest_url_data_source."
              },
              "description": {
                "type": "string",
                "maxLength": 1000,
                "description": "Optional human-readable description. Surfaces in the web app and in get_data_source_schema."
              },
              "wait_seconds": {
                "type": "integer",
                "default": 0,
                "maximum": 60,
                "minimum": 0,
                "description": "How long (seconds) to wait for preprocessing to finish before returning. 0 returns immediately with status=\"preprocessing\"; the caller polls get_data_source_schema or list_data_sources."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "data_source_id",
              "raw_data_id",
              "name",
              "format",
              "status",
              "bytes_uploaded"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "format": {
                "type": "string",
                "description": "Detected file format (csv, json, xlsx, ...)."
              },
              "status": {
                "type": "string",
                "description": "Preprocessing status. Poll get_data_source_schema until \"active\"."
              },
              "web_url": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uri"
              },
              "raw_data_id": {
                "type": "string"
              },
              "bytes_uploaded": {
                "type": "integer"
              },
              "data_source_id": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "verify_email",
          "description": "Complete clariBI signup by submitting the verification code plus a password. Returns an OAuth access_token for immediate use AND a long-lived MCP API key for persistent configuration. The new organization lands on the Trial tier (50 AI credits, 14 days).",
          "inputSchema": {
            "type": "object",
            "required": [
              "pending_id",
              "code",
              "password"
            ],
            "properties": {
              "code": {
                "type": "string",
                "pattern": "^[0-9]{6}$",
                "description": "6-digit verification code from the email."
              },
              "password": {
                "type": "string",
                "minLength": 8,
                "description": "A password for the new account. Must be at least 8 characters and pass Django's standard validators."
              },
              "pending_id": {
                "type": "string",
                "format": "uuid",
                "description": "The pending_id returned by register_account."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "access_token",
              "token_type",
              "expires_in",
              "scope",
              "mcp_api_key",
              "mcp_api_key_id",
              "user_id",
              "organization_id",
              "tier"
            ],
            "properties": {
              "tier": {
                "type": "string",
                "description": "New organization tier, always \"trial\"."
              },
              "scope": {
                "type": "string",
                "description": "Space-separated granted scopes."
              },
              "user_id": {
                "type": "string"
              },
              "expires_in": {
                "type": "integer",
                "description": "Access-token lifetime in seconds."
              },
              "next_steps": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "token_type": {
                "type": "string",
                "description": "Always \"Bearer\"."
              },
              "mcp_api_key": {
                "type": "string",
                "description": "Long-lived API key (claribi_mcp_...) for persistent client config."
              },
              "access_token": {
                "type": "string",
                "description": "OAuth bearer token for this conversation."
              },
              "mcp_api_key_id": {
                "type": "string",
                "format": "uuid"
              },
              "organization_id": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "clariBI MCP Server: analytics for your business data. Unauthenticated users can call register_account, verify_email, and check_pricing. Authenticated users can list dashboards, run analyses, and generate reports. See https://claribi.com/app/developer-portal for docs."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}