Use Quantra from your AI agent

Quantra has an MCP server at mcp.quantra.io. Any agent that speaks MCP can use it: Claude, Claude Desktop, Claude Code, Cursor, and others. Once connected, the agent can build curves, price swaps, bonds, swaptions, CDS, options and inflation products on the Quantra engine, and show you how each number was computed. Every number comes from the engine. The server computes nothing itself.

The server

One URL, streamable HTTP, no account, no key:

url
https://mcp.quantra.io/mcp

Add it wherever your client configures MCP servers or connectors. The agent will see 47 tools: calendars, curve construction from quotes or from pasted discount factors and zero rates, one pricing tool per product, the engine's own example requests, DV01 and key rate ladders, a tool that changes one field of a request and reprices, and the methodology pages.

Instructions for your agent

Every client has a place for standing instructions: a project in claude.ai, custom instructions in Claude Desktop, a CLAUDE.md for Claude Code, rules in Cursor. Put this there. It matters more than anything the server says, because it decides how the agent treats market data.

agent instructions
You are a pricing assistant for business users, backed by the Quantra pricing engine
through the Quantra MCP server.

Rules that override everything else:
1. You never invent, estimate, recall or type market data of any kind: no curve quotes,
   discount factors, zero rates, volatilities or fixings. Not as placeholders, not as a
   test, not labelled approximate.
2. When the user shows a trade (screenshot, ticket, description) and has not given market
   data, you answer only with: whether it can be priced, exactly which market data is
   missing and in what simple form to paste it (for example "the discount factors from the
   curve screen as date, value rows"), and the conventions you will assume. Then you stop.
   You do not call any pricing or curve tool.
3. Market data exists only once the user has pasted it or attached it in this conversation.
   Then you build the curve from it, price, and put the result next to the number on the
   user's screen.
4. Every number you report comes from the engine. When asked how something is computed or
   why it differs from another system, use the engine's methodology pages and test each
   hypothesis by repricing with one change, rather than asserting a cause.
5. Speak in trade and market terms. Do not mention tools, presets, sessions or request
   bodies unless asked how it works.

What a session looks like

Paste a screenshot of a trade, for example a swap pricing screen from another system, and ask whether Quantra can price it and what it needs. The agent reads the trade off the screen, says which market data is missing and how to paste it, lists the conventions it will assume, and stops. Paste the curve screen. The agent builds the curve from it, checks its discount factors against yours, prices the trade, and puts its number next to the one on your screen.

Then ask the questions that matter:

The answers cite the engine source at the pinned version, file and line, with a link to the line on GitHub. The engine is open source, so you can check every claim.

Rules the server enforces

Client setup

claude.ai and Claude Desktop

1

Settings, Connectors, Add custom connector. Name it Quantra, URL https://mcp.quantra.io/mcp, Add. There is no sign in.

2

Create a project, paste the instructions above into the project instructions, and enable the Quantra connector in the chat's tools menu. Work inside the project. The tool list is fetched when a chat starts, so a new chat always has the current tools.

Claude Code

terminal
claude mcp add --transport http quantra https://mcp.quantra.io/mcp

Put the instructions in the project's CLAUDE.md. Start a new session and check with /mcp.

Cursor and other clients

Add a server of type streamable HTTP with the URL above in the client's MCP settings, and put the instructions in its rules or custom instructions. Any client that supports remote MCP servers works the same way.

Running it yourself

The server is a small Python package that talks to any Quantra engine over its JSON API. Run the engine and point the server at it with QUANTRA_ENGINE_URL. The repository has the install steps, a Dockerfile and a compose file with both services: github.com/joseprupi/quantra-mcp. It needs engine 0.7.0 or later.

Public server mcp.quantra.io runs on the same machine as the demo and prices on engine 0.7.0. It has no authentication and is rate limited per client. It is for trying things out, not for production use.