LogiRates

Compare USPS, UPS and FedEx shipping rates and buy US shipping labels from ChatGPT, Claude or any MCP client, with a price confirmation before purchase.

Hosted MCP Server

npx add-mcp 'https://logirates.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

What is MCP

MCP (Model Context Protocol) is an open standard for connecting AI agents to outside services. The LogiRates MCP server works on top of the LogiRates API, with the same permissions and limits.

With it, an agent can:

  • get UPS, USPS and FedEx rates with additional services and insurance, and check an address with the carrier
  • find shipments, read tracking and report a problem with a package
  • read, edit and delete contacts in your address book
  • save shipment templates and ship from them
  • download label PDFs, receipts and statements
  • read help center articles to explain how LogiRates works
  • see your balance and transactions, if you have access to Finances
  • buy and cancel labels, if you allow purchases

Claude Code and Cursor

These agents connect with an MCP key.

  1. Open Settings → Integrations and choose Create key.
  2. Select MCP and confirm with your password, plus the 2FA code if it is on.
  3. Copy the key. It starts with lrm_ and is shown only once.
  4. Add the server to your agent as shown below.

Claude Code

Run in a terminal:

claude mcp add --transport http logirates https://logirates.com/mcp \
  --header "Authorization: Bearer lrm_your_key"

Cursor

Add the server to ~/.cursor/mcp.json, or to.cursor/mcp.json in a project:

{
  "mcpServers": {
    "logirates": {
      "url": "https://logirates.com/mcp",
      "headers": {
        "Authorization": "Bearer lrm_your_key"
      }
    }
  }
}

Other agents that support remote MCP servers connect the same way: the server URL plus the header Authorization: Bearer and your key.

claude.ai and ChatGPT

These apps connect through OAuth. You sign in to LogiRates and approve the connection, so you do not need to copy a key.

Claude

  1. In Claude, open Customize → Connectors, choose Add, then Add custom connector.
  2. Paste the server URL and add the connector.
  3. Sign in to LogiRates and approve the connection.

The connector then also works in Claude Desktop and the Claude mobile apps.

ChatGPT

  1. Turn on developer mode in ChatGPT settings. ChatGPT renames its menus from time to time; if you cannot find the switch, search the ChatGPT help for developer mode.
  2. Add a custom MCP server with the server URL and choose OAuth.
  3. Sign in to LogiRates and approve the connection.

The approval page shows the app name and its website. There you can allow purchases and set a daily limit.

Each connection appears in Settings → Integrations as a key marked Connected through OAuth. After 90 days you approve it again.

Tools

Tool names start with logirates_. An agent sees only the tools that your permissions allow.

GroupToolsWhat they do
Accountlogirates_get_accountAccount, balance and the purchase limit of the key
Help centerlogirates_search_help logirates_get_help_articleHelp center articles, so the agent can explain how LogiRates works
Rates and addresseslogirates_search_cities logirates_validate_address logirates_find_locations logirates_list_carriers logirates_list_carrier_services logirates_get_tariff_info logirates_get_rates logirates_get_bulk_ratesCities and ZIP codes, address checks, drop-off locations, carriers and their services, rates with services and insurance for one package or a batch of up to 100
Shipmentslogirates_list_shipments logirates_get_shipment logirates_get_shipment_tracking logirates_get_shipment_label logirates_send_shipment_label logirates_list_shipment_problems logirates_report_shipment_problemSearch, details, label PDFs, tracking events and problem reports
Bulk shipmentslogirates_list_bulk_shipments logirates_get_bulk_shipmentBatches and the labels in them
Address booklogirates_list_contacts logirates_get_contact logirates_create_contact logirates_update_contact logirates_delete_contact logirates_set_contact_favoriteSaved senders and recipients: add, edit, delete and mark favorites
Templateslogirates_list_templates logirates_get_template logirates_create_template logirates_update_template logirates_delete_templateSaved shipment templates: sender, recipient, package and tariff
Financeslogirates_list_transactions logirates_get_transaction logirates_get_transaction_receipt logirates_get_statementPayments, refunds and top-ups with the balance after each one, PDF receipts and statements for a period. Needs access to Finances
Purchaseslogirates_prepare_shipment logirates_buy_shipment logirates_cancel_shipment logirates_prepare_bulk_shipment logirates_buy_bulk_shipmentBuying and cancelling labels. If purchases are off, these tools refuse and say where to turn them on

How a purchase works

Buying takes two steps.

  1. The agent calls a prepare tool and gets the price, the route and a confirmation code that works for 10 minutes.
  2. The agent shows you this summary and calls the buy tool only after you agree.
  3. If the price changed in the meantime, the purchase stops and the agent asks you again.

If the agent repeats a buy call with the same confirmation code, it gets the same label and you pay once. Labels are paid like API purchases, from your LogiRates balance and your default card.

Security

  • A new key cannot buy. To allow purchases, set a daily limit (100 USD by default). An MCP key always has a limit.
  • The limit resets at 00:00 UTC. A purchase that goes over what is left is refused.
  • A key usually gets up to 120 tool calls a minute. Rates have a lower limit, as in the API.
  • To disconnect an agent, revoke its key in Settings → Integrations. OAuth access ends at the same moment.
  • The agent sees what you see in your account with your permissions: shipments, the address book, and your balance and transactions if you have access to Finances. It can download label PDFs. It does not get your full card number.
  • Names, addresses and carrier messages reach the agent as data. LogiRates tells the agent never to follow instructions found in them.
  • Keep the key secret, like a password. Do not paste it into a chat or commit it to a repository.

Examples

Things you can ask your agent:

  • "How much is it to send a 3 lb box, 12 × 10 × 6 in, from New York 10001 to Austin 78701?"
  • "Which of my shipments are still in transit?"
  • "Ship the Weekly to LA template again and send me the label."
  • "Change the phone number of Grace Harris in my address book to 303 555 0142."
  • "Buy the cheapest UPS label for this box to Ella Collins." The agent shows the price first and waits for your answer.
  • "How much did I spend on labels last month?"