Developer Tools · Data & Analytics

Statsig MCP

Statsig MCP exposes experiments, feature gates, dynamic configs, layers, metrics, segments, reviews, audit logs, and observability workflows.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get list of experiments

    List all experiments (AB Tests) in this Statsig project. Supports filtering by status, tags, creator, team (query_teamID), and created date range (query_createdStartDate / query_createdEndDate as YYYY-MM-DD). To fetch several specific experiments at once, pass query_ids (a batch read) instead of calling Get_Experiment_Details_by_ID repeatedly, and use query_fields to return only the fields you need and keep the response small. The API enforces a maximum query_limit of 100. If query_limit is not provided, default to 100 (or fewer) and never exceed 100.

  • Get list of gate reviews

    List the reviews for a gate (feature flag), newest first. A review is a proposed change to the gate (rules, enabled state, archive, delete, etc.) that goes through an approve → commit lifecycle before it is applied to the live gate. Defaults to a small page (the active/most-recent review is the usual interest); pass query_limit / query_page to page further back through history. Use path_id = the gate's name/ID.

  • Get list of gates

    List all gates (feature flags) in this Statsig project. Live state for each gate is determined by status and isEnabled, not just rules: when isEnabled is false the rules are NOT evaluated — status "Launched" means every user passes (true) and status "Disabled" means every user fails (false); rules apply only when isEnabled is true (status "In Progress"). Supports filtering by type, tags, creator, and team (query_teamID). The API enforces a maximum query_limit of 100. If query_limit is not provided, default to 100 (or fewer) and never exceed 100.

  • Get list of layers

    List all layers in this Statsig project. The API enforces a maximum query_limit of 100. If query_limit is not provided, default to 100 (or fewer) and never exceed 100.

  • Get list of metrics

    List all metrics in this Statsig project. The API enforces a maximum query_limit of 100. If query_limit is not provided, default to 100 (or fewer) and never exceed 100.

  • Get list of metric sources

    List all metric sources in this Statsig project. The API enforces a maximum query_limit of 100. If query_limit is not provided, default to 100 (or fewer) and never exceed 100.

  • Get list of param stores

    List param stores in this Statsig project. The API enforces a maximum query_limit of 100. If query_limit is not provided, default to 100 (or fewer) and never exceed 100.

  • Get list of prompts

    List all Prompts in this Statsig project. A Prompt is a specialized AI Config for managing and versioning LLM prompts. Supports pagination via limit and page.

  • Get list of segments

    List all segments in this Statsig project.

  • Get list of tags

    List all tags in this Statsig project, returning each tag's id and name. Use this to resolve a tag name/text (e.g. "oslo-tier-0", "checkout") to its tag id, then pass those ids to the query_tags filter on tools like Get_List_of_Metrics — those filters expect tag ids, not tag names.

  • Get metric definition by id

    Get the full definition for a metric in Statsig, including its type, source, and configuration details.

  • Get param store details by id

    Get a param store by name, including its description, typed parameters, and metadata.

  • Get prompt details by id

    Get the details (name, description, target apps, team, tags, and metadata) for a single Prompt in the Statsig console.

  • Get segment by id

    Get all details about a segment in the Statsig Console.

  • Get tool schema

    Get the full input schema, description, and annotations for any Statsig MCP tool by name — including tools not shown in the default tool list (find them with Search_Tools). After fetching the schema, execute the tool with Invoke_Tool.

  • Invoke tool

    Execute any Statsig MCP tool by name with arguments — including tools not shown in the default tool list. Find tools with Search_Tools, get their exact input schema with Get_Tool_Schema, then execute them here. The target tool's own permissions apply (e.g. read-only orgs cannot invoke write tools).

  • Query logs explorer

    Fetch log lines from Statsig Logs Explorer (MCP equivalent of `statsig-query logs`). Uses the same filter syntax as the console filter bar and CLI `--filter` (e.g. `service:scrapi AND tier:latest AND level:error`). Do not wrap filters in `#logs{ }`. Set `source` to `logs` (default), `events`, or `spans`. Supports time window (`start_ts`/`end_ts` in ms), `columns`, `limit`, and cursor pagination via `after`. For noisy results, follow up with `Cluster_Log_Patterns`.

  • Reject autotune review

    Reject an in-flight review of an autotune experiment. Rejection is terminal — the proposed change is not applied and the review cannot be reopened (create a new review to retry). A `reason` is required. The acting user must be an eligible reviewer (see Get_Autotune_Eligible_Reviewers) and cannot reject their own review. Requires a key owned by a user. path_id = the autotune's ID; path_reviewID = the review ID.

  • Reject dynamic config review

    Reject an in-flight review of a dynamic config. Rejection is terminal — the proposed change is not applied and the review cannot be reopened (create a new review to retry). A `reason` is required. The acting user must be an eligible reviewer (see Get_Dynamic_Config_Eligible_Reviewers) and cannot reject their own review. Requires a key owned by a user. path_id = the dynamic config's name/ID; path_reviewID = the review ID.

  • Reject experiment review

    Reject an in-flight review of an experiment (A/B test). Rejection is terminal — the proposed change is not applied and the review cannot be reopened (create a new review to retry). A `reason` is required. The acting user must be an eligible reviewer (see Get_Experiment_Eligible_Reviewers) and cannot reject their own review. Requires a key owned by a user. path_id = the experiment's ID; path_reviewID = the review ID.

PreviousPage 4 / 5Next