Building pricing models with Claude and ChatGPT: what works, what doesn't

Claude, ChatGPT and other AI clients can now reach outside the chat through the Model Context Protocol (MCP). For insurance pricing, that means an assistant can learn how a model is built, write one, check it and run its tests without leaving the conversation.

This is our honest take on how that goes: what an assistant does well, where it struggles, and the setup that keeps your team in control.

Getting connected

The Swallow MCP server lives at https://api.llow.io/ai/mcp. In Claude on the web or desktop you add it as a custom connector. In Claude Code it's one command, or you can install the Swallow plugin, which adds skills and agents on top. Cursor and other clients take it as a remote server. ChatGPT connects too.

Whichever client you use, it opens a Swallow sign-in page, you paste your client ID and secret keys once, and from then on the client works with a token, never your keys. Step-by-step guides are on our MCP page and in our posts on connecting Claude and ChatGPT.

What the assistant can do

The tools fall into three groups.

Building and testing: docs_swallow_project and schema_swallow_project load the modelling rules and the JSON Schema. starter_swallow_project hands over a small working model for a common line. validate_swallow_project checks a model and points to each problem by its JSON path. test_swallow_project prices every test through the engine. generate_swallow_tests and validate_swallow_tests help build and review a suite. summarise_swallow_project helps with very large models.

Your account: list and open your projects and quotes, read a quote's debug trace, pull quote analytics, show a project's quote form in the chat and run a quote against the latest published version.

Help: dashboard help, a sign-up link for someone new and a health check. These work before you sign in.

Everything is read-only apart from running a quote. No tool creates, edits or publishes a project.

Where it shines

Adapting a starter

Asking an assistant to write a model from a blank page is a gamble. Asking it to take a close example and reshape it to your rating guide works far better. The starter brings a correct structure, and the assistant swaps in your inputs, tables and formulas.

Checking its own work

The assistant can validate after every change and fix structural slips on the spot: a missing default, a reference to a field that doesn't exist, a step in the wrong order. Most errors die there, before a single quote is priced.

Running the suite

With your worked examples saved as tests, the assistant prices them all and tells you which match. When one doesn't, it can read the debug trace, walk back through the steps and name the first one where the numbers go wrong.

Explaining a model

Ask how a premium is built, or why a quote referred, and you get a plain answer drawn from the model and the trace. For people new to a product, this is often the most useful thing it does.

Converting a spreadsheet

The Swallow plugin for Claude Code includes a skill for tracing an Excel rater's formulas and producing an equivalent Swallow model. More on that in replacing a spreadsheet rater.

Where it trips up

Gaps in the rating guide

If the guide doesn't say whether a discount applies before or after the minimum premium, the assistant will pick one. It won't always pick right. Ask it to list every assumption it made, and check each one with the pricing team. Worked examples close most of these gaps.

Big models

AI clients can only take in so much at once, and a model with large rate tables can crowd out the conversation. The assistant can read a project as a step list or a short summary instead of the whole file, and summarise_swallow_project shows it how to shrink a model to its structure. Large tables are often easier to change as a CSV in the dashboard.

Moving the goalposts

The worst thing an assistant can do is change a test's expected result so a failing test passes. Expected results should only change when a person decides they should, for a reason. Say so in your instructions, and review any change to an expected value as closely as a rate change.

Judgement calls

How to treat an unusual risk, whether to refer or decline, what to do about missing data: these are pricing decisions. The assistant can lay out the options. A person should choose.

Keeping people in charge

The setup we recommend follows from how the server is built:

  1. The assistant drafts and tests. You put it live. When the model is ready, the assistant hands you the JSON. You upload it to a draft in the dashboard, then approve and publish it there.
  2. Tests run on every change, and failures are reported, not hidden.
  3. Approval follows your team's roles. Every version moves from draft to approved to published, and each step is logged with who did it and when.
  4. Read the report, then the change. Look at the test results and summary first, then check the specific edits.

Used like this, the assistant takes on the slow, repetitive parts of model building and the pricing decisions stay with your team. The model format is what makes the review quick, which we explain in why pricing models should be human readable.

Try it

Connect your client to https://api.llow.io/ai/mcp and ask it to build from a starter. If you don't have an account yet, talk to our team and we'll get you set up.

Continue reading

From filing to rater: building pricing models from US rate filings

What sits inside a US rate filing, how to rebuild it as a working, tested rating model, where AI speeds things up and which gaps to expect.

Swallow compared: enterprise pricing platforms, core system raters and AI newcomers

Where Swallow sits against established insurance pricing and rating platforms and newer AI-led options, on model format, testing, approvals, AI and distribution.

AI in insurance pricing: closing the gap between rating guide and live model

Pricing design is rarely the bottleneck. Implementation is. How AI shortens the path from signed-off rating guide to a tested, live pricing model.

Fair value under Consumer Duty: the evidence your pricing should leave behind

What the FCA's Consumer Duty and pricing rules ask of insurance pricing teams, and the records that make fair value something you can show, not just claim.

When the customer is an AI agent: getting your pricing ready

AI assistants are starting to shop for insurance on people's behalf. Here's what your rating engine has to give them to quote your products properly.

How to connect the Swallow MCP server to Claude

Connect Claude to your Swallow pricing infrastructure using MCP to analyse models, inspect rating logic and interact with your tools using natural language

Regression testing insurance pricing: why every rate change needs a test suite

How to build a regression test suite for an insurance pricing model, from worked examples and band edges to declines, refers and real quotes.

A safer rate change: eight steps from analysis to monitoring

A repeatable process for insurance rate changes, from the change statement and draft version to tests, approval, release and monitoring, and where AI helps.

Readable by design: pricing models people can check, even when AI writes them

When AI drafts pricing logic, review becomes the slow step. Why a declarative, readable model format is faster to check and audit than generated code.

Moving off a spreadsheet rater without changing a single price

How to tell when an Excel rater has outgrown its job, what keeping it really costs, and a migration plan that uses the spreadsheet's own answers as the tests.

Starting an MGA: from rating guide to first live quote

A practical route for a new MGA's first product: agreeing terms with capacity, building and testing the model, picking channels and watching rates after launch.

AI and insurance distribution: one price, every channel

Aggregators, embedded journeys, chat, voice and AI agents all need the same thing from pricing. Why one explainable rating engine should sit behind them all.

AI in regulated industries: why explainability has to come first

Insurers can get real gains from AI and still meet what the FCA, the EU and US regulators expect, provided every decision can be explained, reproduced and signed off.

Swallow vs Earnix

Swallow and Earnix Price-It compared for insurance pricing and rating: who each is for, how models are built, tested and released, how AI is used, and distribution.

Swallow vs Guidewire PricingCenter

Swallow and Guidewire PricingCenter compared: who each suits, how each relates to PolicyCenter, how models are built, tested and released, AI and distribution.

Swallow vs Duck Creek Rating

Swallow and Duck Creek Rating compared: who each suits, suite and standalone use, how rates are built, tested and released, deployment, AI and distribution.

Swallow vs Oracle Insbridge

Swallow and Oracle Insurance Insbridge Enterprise Rating compared: architecture, how rates are built and changed, testing, integration, AI, and how to migrate.

Swallow vs Akur8 Deploy

Swallow and Akur8 Deploy compared: where each rating engine fits, how rates reach production, testing and sign-off, how AI is used and when to pick which.

Swallow vs hyperexponential (hx Renew)

Swallow and hyperexponential's hx Renew compared: who each suits, Python models versus readable JSON, testing and approvals, AI and the Guidewire deal.

Swallow vs WTW Radar

Swallow and WTW Radar compared for pricing and real-time rating: who each suits, how models are built and changed, testing and approvals, and AI features.

Swallow vs building a rating engine in house

Build or buy? A fair look at writing your own insurance rating engine versus using Swallow: testing, versioning, audit, serving at volume and rate changes.

How to connect the Swallow MCP server to ChatGPT

Connect ChatGPT to your Swallow pricing infrastructure using MCP to analyse models, inspect rating logic and interact with your tools using natural language

Swallow Data: Live insight into your pricing performance

See how Swallow’s Data area gives you real-time visibility over quotes, performance, and customer behaviour across your entire pricing model

Swallow Tests: Validate your pricing with real-world scenarios

See how Swallow’s Tests area lets you simulate quotes, inspect calculations, and perfect your pricing model before publishing

Swallow Build: Bring your pricing model to life

A quick look at how Swallow’s Build area lets you edit, test, and publish pricing models with complete control and instant feedback

Swallow Overview: Core features at a glance

See how the AI actuary inside Swallow turns a simple prompt into a fully tested and deployable insurance pricing model for electric vehicles in just a few clicks

Why Modern Insurers Are Moving to AI-Powered Enterprise Pricing Engines

A look at how AI is transforming insurance pricing, from spreadsheet-based models to enterprise-grade rating engines built for speed, consistency, and control

Swallow / MGT

How MGT use Swallow to power AI-driven pricing, accelerate model updates and support fast, reliable commercial insurance quoting.

AI Agent for Insurance Products

Sam talks through our new AI Agent for Insurance products. Get a new Insurance product built and live within a couple of minutes.

Swallow / Ouch!

How Ouch! used Swallow to launch digital takaful products faster, with transparent pricing, audit readiness and seamless model updates.

Pricing Pain Point #4 - Slow deployment

Whilst the modelling process is where pricing strategy begins, getting changes in front of customers is where the rubber hits the road and new pricing is tested with real customers. Moving quickly to make changes to live pricing offers pricing teams an opportunity to respond to the market, test and iterate, and roll out new products.

Pricing Pain Point #3 - Testing concerns

With pricing critical to growth and profitability, businesses must understand the impact of any price changes, as well as ensure what goes live to customers is identical to that modelled. With pricing driven by complex financial models, this is particularly true - a percentage point error in the code deployed could easily lead to a significant financial impact.

Swallow / Open

How Open used Swallow to launch embedded insurance in the UK faster, with flexible pricing, rapid updates and lower operational cost.

Pricing Pain Point #2 - Lengthy process

In any fast moving business, having a clear record of decisions, changes and their impacts is key to operating efficiently and successfully. For regulated industries, a clear governance process is a requirement and critical to ensuring compliance with local regulations.

Pricing Pain Point #1 - Data issues

Underlying all pricing strategy is data, whether it be on the market and competition or a company’s own quote, sales and cost data. Collecting this data and using it to inform future pricing decisions is one of a pricing team’s key objectives.

Swallow / Rivr

How Rivr uses Swallow to deliver pricing models faster, with better governance, smoother client handovers and one-click deployment.

What we've learned about pricing

Over the past few months, we've talked to over 100 pricing and technology professionals from a range of industries. From our conversations, many pricing pain points have emerged, helping us to better understand the challenges businesses face and inform the direction of our platform.

Why I created Swallow

Financial pricing models (think insurance, credit, mortgages, financing, leasing, memberships) have, and continue to be, designed in spreadsheets and published through in-house custom code or legacy enterprise software. Pricing changes can take weeks instead of hours.

We feel you, pricing is hard...

Dynamic pricing is hard to create and serve to your customers. Because it is hard, it can become a technical concern rather than a business concern. Here be where the dragons lie.