All Integrations
Claude Code
x

Connect Claude Code to Pigment and model without switching tools

Connect Claude Code to Pigment through the Pigment MCP Server and work on Pigment models from the terminal or IDE you already use. FP&A model builders can query models and, with advanced mode, build and edit them. The Pigment plugin loads formula syntax and modeling best practices on install. IT keeps every change within the access rights people already have in Pigment.

Claude Code

Claude Code

Connect Claude Code to Pigment to explore, build, and edit planning models in natural language

Category

AI

Integration method

MCP Server

Best for

Model building · Planning analysis · Governed AI access

See documentation

What can you do with Claude Code and Pigment?

  • Map how a model fits together. Ask Claude Code to map a Metric’s structure and dependencies or audit an Application’s performance, then, in advanced mode, edit the Blocks it points to in the same session.
  • Draft an Application from a brief. In advanced mode, a model builder describes the plan they need, and Claude Code creates the Application with its Dimensions, Metrics, and Tables.
  • Write formulas by describing the logic. Explain the calculation in plain language, and Claude Code writes the Pigment formula on the right Metric, using the syntax from Pigment Skills.
  • Pull live figures into your scripts. An analyst retrieves Metric and List data from Pigment and uses it in the files Claude Code is already editing.

How the Claude Code integration works

Claude Code connects to Pigment from the terminal, IDE, desktop, or web app. A Pigment Security Admin, Workspace Admin, or Primary Owner turns on the Pigment MCP Server which generates the Workspace’s endpoint URL, and each user signs in with their Pigment account. Pigment recommends its Claude Code plugin, which bundles the MCP Server configuration with Pigment Skills so both load on install. A Pigment connector already created in Claude.ai is also available in Claude Code automatically.

Claude Code starts in read-only mode, where it can find Applications, Blocks, and Boards, read Metric structure, and retrieve Metric and List data. Each user can turn on advanced mode to create and edit Blocks, write formulas, design Views and Boards, and input data. In both modes, Claude Code follows the user's Pigment access rights, the Use AI Agents permission, and each Block's AI data access setting.

Key capabilities

  • Keep planning data in Pigment. Claude Code reads directly from the models behind your forecasts and reports, so nobody uploads spreadsheets and there’s no second copy to reconcile.
  • Exclude sensitive Blocks. Turn off AI data access on a Block, and Claude Code can’t read its data, even in an accessible Application.
  • Block access to entire Applications. Remove the Use AI Agents permission from an Application, and Claude Code can’t access it.
  • Get set up with one install. Install the Pigment plugin from Anthropic's official plugin marketplace, and the MCP Server configuration and Skills come with it.
  • Decide which actions need approval. Set each Pigment tool in Claude Code to Always allow, Needs approval, Blocked, or Custom.

Frequently Asked Questions

Does an admin need to enable MCP before I can connect Claude Code?

Yes. Once Pigment AI is activated, a Security Admin, Workspace Admin, or Primary Owner turns on the MCP Server in Settings > Integrations, which generates the Workspace’s endpoint URL. Each Workspace and Test & Deploy environment needs its own URL and connector. After that, all Workspace Members can connect.

Can Claude Code make changes to my Pigment model?

Yes, in advanced mode, which is off by default. Each user turns it on in Pigment under Settings > Advanced features > Enable advanced tools on MCP server. Claude Code can then create Applications, build and edit Blocks, write formulas, design Views and Boards, input data, and audit performance, within that user’s permissions. For example, creating a Metric fails if the user doesn’t have the Configure Blocks permission.

What Pigment data can Claude Code read?

Claude Code sees only the Applications, Blocks, and data the signed-in user can already access in Pigment, and the connection grants no extra rights. Each Block must have AI data access turned on, and Claude Code can read Metrics with Number, Integer, or Boolean data types.

Can I build a Pigment model from Claude Code without knowing Pigment formula syntax?

Yes. In advanced mode, Claude Code writes formulas for you, and Pigment Skills supply the formula syntax, modeling best practices, and application patterns it needs. Pigment recommends using Skills with advanced mode, since AI tools otherwise lack Pigment-specific modeling knowledge. You still need the right modeling permissions, and you can set tools to Needs approval to review each change first.

See Pigment in action

The fastest way to understand Pigment is to see it in action. Sign up today and explore how agentic AI can transform the way you plan.

Three colleagues focused on an iMac screen in a bright office with plants and modern artwork.

From 8 days to 4 min

Update P&L actuals & financial forecasting

80%

Time cut on data aggregation

12 hours

Saved per month on executive reporting

6 days faster

For scenarios creation and analysis