gopigment/ai-plugins

Pigment plugins for AI

21

26 commits

updated Sep 25, 2026

See the code

README

Pigment AI Plugins

Connect your AI assistant to Pigment to query, analyze, and build business planning models.

These plugins bundle the Pigment MCP server with domain-knowledge Skills that teach AI assistants how Pigment works — its proprietary formula language, modeling patterns, dashboard conventions, and performance best practices.

Prerequisites

Enable MCP in your Pigment workspace: Settings > Integrations > MCP. See the Pigment documentation for details.

Installation

Cursor

  1. Go to Cursor plugins
  2. Import https://github.com/gopigment/ai-plugins as a marketplace
  3. Add Pigment plugin to Cursor from the plugins page, or open Cursor and run /add-plugin pigment in a new chat

Claude Code

Desktop App

  1. Go to Customize, select Add plugin, then Add marketplace and paste https://github.com/gopigment/ai-plugins
  2. Install Pigment plugin

Terminal CLI

/plugin marketplace add gopigment/ai-plugins

/plugin install pigment@pigment

Configuration

After installing, set your MCP server URL. The easiest way is to paste your MCP URL into the agent chat and ask it to update the configuration. You can also edit the .mcp.json file directly.

Your MCP URL can be found in your Pigment workspace under Settings > Integrations > MCP. See the Pigment documentation for detailed instructions.

What's Included

MCP Server

The plugin connects your AI assistant to the Pigment MCP server, which has two modes.

Default — read-only tools for data analysis. Only metrics where AI data access is enabled are accessible.

Advanced — write tools for modeling Pigment applications (dimensions, metrics, formulas, calendars, boards, views, and more). Each user can enable it in Settings > Advanced Features > Advanced MCP Tools.

Users connect with their own credentials via OAuth, so their Pigment access rights and permissions apply by design — they can't access or do more than what they can already do in Pigment.

Note: Advanced mode includes a search tool that lets the AI assistant scan and understand your entire application logic — this helps AI provide better answers. Search exposes all Block metadata (e.g. names, data types, dimensions) to users, but no actual data is accessible through it. We recommend not putting any sensitive information in Block metadata as it is not subject to access rights (unlike actual data). If you want to prevent a user from accessing Block metadata, that user must not have access to the application in Pigment.

Skills

Skills are domain-knowledge files loaded automatically by Cursor and Claude Code. They provide the context AI assistants need to work effectively with Pigment.

Skills can be set up in two ways:

  • Plugin: install the Claude Code and Cursor plugins available in this repository.
  • Manual upload: download the Skills files from the repository and upload them to your AI tool by following your provider's documentation.

Skills come in four kinds: foundational (read first), planning (decide what to build), execution (do the work), and analysis (query existing data).

SkillDescription
Understanding Pigment ModelingFoundational mental model — in-memory engine, blocks, dimensionality, sparsity
Analyzing Pigment DataQuery formulation, data discovery, analysis patterns, result interpretation
Gathering Architecture RequirementsStructured discovery before building anything
Architecting Multi-Application SolutionsSplitting work across applications, Hub-and-spoke designs
Building a Full ApplicationEnd-to-end build of a new application
Editing an Existing ApplicationModifying, extending, refactoring or restructuring a live application
Auditing a Pigment ApplicationHealth checks — formula errors, structural gaps, governance
Naming & Organizing ApplicationsNaming conventions, folders, block organization
Creating Dimensions & HierarchiesDimension lists, hierarchies, dimension properties
Creating Metrics & TablesMetric and table creation, data types, structure
Creating Transaction ListsTransaction lists and row-level aggregation
Using List SubsetsMirror dimensions and subset patterns
Using Mapped DimensionsDynamic and time-dependent hierarchies, card metrics
Setting Up CalendarCalendar type, fiscal year, time dimensions
Building Versions & Planning CyclesVersions, planning cycles, actuals vs forecast
Securing with Access RightsAccess rights design, AR metrics, apply rules, debugging visibility
Sharing Data Between ApplicationsLibraries and cross-application block sharing
Copying Metric DataMetric-to-metric copy configurations
Choosing Formula PatternsPicking the right pattern and modifiers before writing a formula
Writing Pigment FormulasPigment's proprietary formula language — quoting, references, syntax
Using Formula FunctionsBuilt-in function signatures and examples
Using Formula ModifiersDimension mapping when source and target differ
Writing Performant FormulasPre-delivery checklist, sparsity rules, anti-patterns
Diagnosing Performance IssuesProfiling slow calculations and timeouts
Designing Boards & ViewsBoard sections, widgets, layout, pivots, filters, sorting, aggregators
Aggregating View DataTotals, subtotals and roll-up behaviour in Views
Formatting & HighlightingDecimals, currency, percent, K/M scaling, text and boolean display
Building Pigment FramesBuilding, updating and troubleshooting Pigment Frames
Designing Pigment FramesApplying Pigment's visual design language to a Frame
Using Search ToolsFinding blocks, folders and dependencies across an application
Solving Financial PlanningBudget and expense planning, revenue forecasting, P&L, FX
Solving Workforce PlanningHeadcount, hiring pipeline, compensation
Solving Sales PerformanceQuota planning, commissions, territories
Solving Supply ChainDemand planning, inventory, procurement

Example Prompts

Data analysis:

  • "List all my Pigment applications"
  • "Show me metrics available in the Financial Planning app"
  • "Show me Revenue by product for the last 6 months"
  • "Compare actual vs. budget for EMEA revenue"

Advanced mode:

  • "Create a Department dimension with items Engineering, Sales, Marketing, and Finance."
  • "Add a Revenue metric with Product and Region dimensions, and write a Gross Margin formula that subtracts COGS from Revenue."
  • "Build a headcount planning application with Department, Role, and Location dimensions. Add metrics for FTE Count, Average Salary, and Total Cost with monthly granularity."
  • "Create a board for the CFO with a Revenue waterfall chart, an Opex variance table filtered by department, and a headcount trend by quarter."

Support

If you run into any issues, contact us at Pigment Support.

Contributors

gopigment/ai-plugins

Pigment plugins for AI

21

26 commits

updated Sep 25, 2026

See the code

README

Pigment AI Plugins

Connect your AI assistant to Pigment to query, analyze, and build business planning models.

These plugins bundle the Pigment MCP server with domain-knowledge Skills that teach AI assistants how Pigment works — its proprietary formula language, modeling patterns, dashboard conventions, and performance best practices.

Prerequisites

Enable MCP in your Pigment workspace: Settings > Integrations > MCP. See the Pigment documentation for details.

Installation

Cursor

  1. Go to Cursor plugins
  2. Import https://github.com/gopigment/ai-plugins as a marketplace
  3. Add Pigment plugin to Cursor from the plugins page, or open Cursor and run /add-plugin pigment in a new chat

Claude Code

Desktop App

  1. Go to Customize, select Add plugin, then Add marketplace and paste https://github.com/gopigment/ai-plugins
  2. Install Pigment plugin

Terminal CLI

/plugin marketplace add gopigment/ai-plugins

/plugin install pigment@pigment

Configuration

After installing, set your MCP server URL. The easiest way is to paste your MCP URL into the agent chat and ask it to update the configuration. You can also edit the .mcp.json file directly.

Your MCP URL can be found in your Pigment workspace under Settings > Integrations > MCP. See the Pigment documentation for detailed instructions.

What's Included

MCP Server

The plugin connects your AI assistant to the Pigment MCP server, which has two modes.

Default — read-only tools for data analysis. Only metrics where AI data access is enabled are accessible.

Advanced — write tools for modeling Pigment applications (dimensions, metrics, formulas, calendars, boards, views, and more). Each user can enable it in Settings > Advanced Features > Advanced MCP Tools.

Users connect with their own credentials via OAuth, so their Pigment access rights and permissions apply by design — they can't access or do more than what they can already do in Pigment.

Note: Advanced mode includes a search tool that lets the AI assistant scan and understand your entire application logic — this helps AI provide better answers. Search exposes all Block metadata (e.g. names, data types, dimensions) to users, but no actual data is accessible through it. We recommend not putting any sensitive information in Block metadata as it is not subject to access rights (unlike actual data). If you want to prevent a user from accessing Block metadata, that user must not have access to the application in Pigment.

Skills

Skills are domain-knowledge files loaded automatically by Cursor and Claude Code. They provide the context AI assistants need to work effectively with Pigment.

Skills can be set up in two ways:

  • Plugin: install the Claude Code and Cursor plugins available in this repository.
  • Manual upload: download the Skills files from the repository and upload them to your AI tool by following your provider's documentation.

Skills come in four kinds: foundational (read first), planning (decide what to build), execution (do the work), and analysis (query existing data).

SkillDescription
Understanding Pigment ModelingFoundational mental model — in-memory engine, blocks, dimensionality, sparsity
Analyzing Pigment DataQuery formulation, data discovery, analysis patterns, result interpretation
Gathering Architecture RequirementsStructured discovery before building anything
Architecting Multi-Application SolutionsSplitting work across applications, Hub-and-spoke designs
Building a Full ApplicationEnd-to-end build of a new application
Editing an Existing ApplicationModifying, extending, refactoring or restructuring a live application
Auditing a Pigment ApplicationHealth checks — formula errors, structural gaps, governance
Naming & Organizing ApplicationsNaming conventions, folders, block organization
Creating Dimensions & HierarchiesDimension lists, hierarchies, dimension properties
Creating Metrics & TablesMetric and table creation, data types, structure
Creating Transaction ListsTransaction lists and row-level aggregation
Using List SubsetsMirror dimensions and subset patterns
Using Mapped DimensionsDynamic and time-dependent hierarchies, card metrics
Setting Up CalendarCalendar type, fiscal year, time dimensions
Building Versions & Planning CyclesVersions, planning cycles, actuals vs forecast
Securing with Access RightsAccess rights design, AR metrics, apply rules, debugging visibility
Sharing Data Between ApplicationsLibraries and cross-application block sharing
Copying Metric DataMetric-to-metric copy configurations
Choosing Formula PatternsPicking the right pattern and modifiers before writing a formula
Writing Pigment FormulasPigment's proprietary formula language — quoting, references, syntax
Using Formula FunctionsBuilt-in function signatures and examples
Using Formula ModifiersDimension mapping when source and target differ
Writing Performant FormulasPre-delivery checklist, sparsity rules, anti-patterns
Diagnosing Performance IssuesProfiling slow calculations and timeouts
Designing Boards & ViewsBoard sections, widgets, layout, pivots, filters, sorting, aggregators
Aggregating View DataTotals, subtotals and roll-up behaviour in Views
Formatting & HighlightingDecimals, currency, percent, K/M scaling, text and boolean display
Building Pigment FramesBuilding, updating and troubleshooting Pigment Frames
Designing Pigment FramesApplying Pigment's visual design language to a Frame
Using Search ToolsFinding blocks, folders and dependencies across an application
Solving Financial PlanningBudget and expense planning, revenue forecasting, P&L, FX
Solving Workforce PlanningHeadcount, hiring pipeline, compensation
Solving Sales PerformanceQuota planning, commissions, territories
Solving Supply ChainDemand planning, inventory, procurement

Example Prompts

Data analysis:

  • "List all my Pigment applications"
  • "Show me metrics available in the Financial Planning app"
  • "Show me Revenue by product for the last 6 months"
  • "Compare actual vs. budget for EMEA revenue"

Advanced mode:

  • "Create a Department dimension with items Engineering, Sales, Marketing, and Finance."
  • "Add a Revenue metric with Product and Region dimensions, and write a Gross Margin formula that subtracts COGS from Revenue."
  • "Build a headcount planning application with Department, Role, and Location dimensions. Add metrics for FTE Count, Average Salary, and Total Cost with monthly granularity."
  • "Create a board for the CFO with a Revenue waterfall chart, an Opex variance table filtered by department, and a headcount trend by quarter."

Support

If you run into any issues, contact us at Pigment Support.

Contributors