Skip to content
MCP server

Fairhaul Freight Margins

MCP server that compares freight charged to customers against actual freight cost

Runs locally

Fairhaul Freight Margins is an open-source MCP server for logistics. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add fairhaul-freight-margins -- npx -y fairhaul-freight-margins

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "fairhaul-freight-margins": {
      "command": "npx",
      "args": [
        "-y",
        "fairhaul-freight-margins"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "fairhaul-freight-margins": {
      "command": "npx",
      "args": [
        "-y",
        "fairhaul-freight-margins"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "fairhaul-freight-margins": {
      "command": "npx",
      "args": [
        "-y",
        "fairhaul-freight-margins"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "fairhaul-freight-margins": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fairhaul-freight-margins"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add fairhaul-freight-margins -- npx -y fairhaul-freight-margins

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.fairhaul-freight-margins]
command = "npx"
args = ["-y", "fairhaul-freight-margins"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "fairhaul-freight-margins": {
      "command": "npx",
      "args": [
        "-y",
        "fairhaul-freight-margins"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user fairhaul-freight-margins npx -- -y fairhaul-freight-margins

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "fairhaul-freight-margins": {
          "command": "npx",
          "args": [
            "-y",
            "fairhaul-freight-margins"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Fairhaul Freight Margins

Fairhaul Freight Margins is a Model Context Protocol server published on npm that reads freight cost data and sets it against what customers were charged. The result shows where freight eroded or improved margin on individual sales, so finance and operations teams can see the gap without rebuilding spreadsheets by hand.

An AI client connects to the server over stdio and calls its tools against the files available to it locally. No hosted account or environment variables are required to start the package, which makes it simple to add to a local assistant setup.

It suits shippers, distributors and ecommerce operators who want to know which orders, products or customers are carrying more freight cost than their pricing assumes.

What it does

Charged versus actual freight
Lines up the freight billed to each customer against the freight cost the shipment actually incurred.
Margin impact per sale
Shows how freight changed the margin on individual orders or shipments.
Local stdio transport
Runs as a local process over stdio, so AI clients connect without a remote endpoint.
Simple npm install
Distributed as the fairhaul-freight-margins npm package at version 0.1.0.

Good for

  • Finding which customers are priced below their true freight cost
  • Reviewing margin erosion caused by shipping charges on specific orders
  • Letting an AI assistant answer questions about freight profitability
  • Checking whether shipping surcharges are being recovered from customers

Pricing

Open source

Prices change. Check fair-agents.com before you buy.

Fairhaul Freight Margins FAQ

How do I install Fairhaul Freight Margins?

It is published on npm as fairhaul-freight-margins, version 0.1.0, and runs with the stdio transport.

Does Fairhaul Freight Margins need API keys or environment variables?

The registry entry lists no environment variables for the package.

Is Fairhaul Freight Margins free?

Yes. Fairhaul Freight Margins is open source, so you can use and self-host it for free.

How do I add Fairhaul Freight Margins to Claude Code?

Run this command in your terminal: claude mcp add fairhaul-freight-margins -- npx -y fairhaul-freight-margins

What are the best alternatives to Fairhaul Freight Margins?

The closest alternatives to Fairhaul Freight Margins are Fairhaul Standard Freight Cost, Fairhaul Freight Allocation, Fairhaul Freight Claims, Fairhaul Contract Rerating and Fairhaul Freight Accruals.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers