Measured Lab MCP

Compare model costs from your assistant

Connect Measured Lab’s Model Picker to your coding assistant. Give it your request volume and requirements to compare suitable models, estimated workload costs and the dated sources behind the comparison.

MCP is a way for an assistant to use an external tool.

Connect your client

Choose your client. No Measured Lab account or API key is required. Add the Measured Lab connection to your existing settings without removing other servers.

Claude Code

Run this command in your terminal:

claude mcp add --transport http measuredlab https://measuredlab.com/api/model-picker/mcp

In Claude Code, use /mcp to check the connection.

Cursor

Add this server to .cursor/mcp.json for your project, or ~/.cursor/mcp.json for your user settings:

{
  "mcpServers": {
    "measuredlab": {
      "url": "https://measuredlab.com/api/model-picker/mcp"
    }
  }
}
VS Code

For Copilot, choose MCP: Add Server in the Command Palette, select HTTP and enter the server URL. Name the server measuredlab and choose Global > Copilot Global when selecting where to save it.

https://measuredlab.com/api/model-picker/mcp

For an editor-managed workspace configuration, add the following to .vscode/mcp.json:

{
  "servers": {
    "measuredlab": {
      "type": "http",
      "url": "https://measuredlab.com/api/model-picker/mcp"
    }
  }
}
Claude Desktop

Open Customize > Connectors, select + Add, then Add custom connector. Enter Measured Lab as the name and paste the server URL. Continue, select No sign in for authentication, and add the connector.

https://measuredlab.com/api/model-picker/mcp

Your organisation may manage which connectors you can add.

Make your first comparison, step by step

  1. Connect your client as shown above and check the connection: in Claude Code with /mcp, or from a terminal with the curl check below.
  2. Ask your assistant:
    Use Measured Lab to compare models for my workload. Ask me for the request volume, token counts and requirements you need. Show me the parameters and ask for confirmation before sending them.
    This asks your assistant to collect your workload details and show you the parameters before anything is sent.
  3. Check what you send. Send workload numbers and requirements: request volume, token sizes, deadlines, required features and data rules. Do not send prompts, documents, customer data or API keys. Review the parameters before confirming. Request volumes can reveal information about your business. The tool requires parameters_confirmed: true. Your assistant should set it only after you have reviewed and agreed to the parameters being sent.
  4. Read what you get back: models that meet the stated requirements, models that need further checks, and models that were excluded, with reasons. Where applicable, the result also includes lower-cost and stronger model combinations, workload cost calculations and dated source records. Check the shortlist on your own examples before choosing a model. A price comparison does not measure quality on your task.
Repeat a comparison with the same dataset

To repeat a comparison on the same data, read dataset.sha256 from the result and pass it as dataset_sha256 in a later request. This identifies the Model Picker dataset; it is not a Ledger file signature.

Source records are returned in source_records.

Connection details

For another MCP client, set it up by hand with these details. Your assistant’s own account, plan and organisation settings still apply.

Server URL, connection type and tool name
Server URL
https://measuredlab.com/api/model-picker/mcp
Connection type
Streamable HTTP
Tool name
measuredlab_pick_models
Access
Read-only. No Measured Lab account or API key is required.
Check the connection with curl

This request lists the available tools. It does not run a workload comparison.

curl -s https://measuredlab.com/api/model-picker/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-06-18' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Look for measuredlab_pick_models in the tool list.

Request limits apply. If the server returns HTTP 429, follow Retry-After before trying again.

For the request and response fields, read the agent documentation.

Need price files instead?

Use Ledger files for direct access to dated prices, or open Model Picker in your browser.