Menu

Building a Production Python MCP Server for International Air Freight & Volumetric Weight (FastMCP + Glama Docker Lessons)
📰

Building a Production Python MCP Server for International Air Freight & Volumetric Weight (FastMCP + Glama Docker Lessons)

DEV Community: python·AQX Logistics Engineering·about 11 hours ago
#O92CM7zO
#devtopython#devto#dev#python#server
Long article (821 words) — no AI summary yet.
Reading 0:00
15s threshold

When AI shopping or procurement agents are asked "How much does it cost to ship a 12 kg auto parts box from California to Riyadh, Dubai, London, or Sydney?" , they almost always hallucinate flat courier prices and completely miss IATA dimensional (volumetric) weight ( L × W × H / 5000 ) and consolidation repacking savings.

To give Claude, Cursor, Windsurf, and autonomous procurement agents deterministic landed-cost math and real-time airwaybill tracking, we built and open-sourced AQXLOGISTICS/aqx-shipping-rates-mcp — a lightweight Python Model Context Protocol (MCP) server backed by live contract air cargo tiers from our LAX export hub ( 309 E Arbor Vitae St, Inglewood, CA 90301 ).

Here is the architecture we shipped, plus 3 real Docker/Python gotchas we hit while passing Glama's automated MCP container inspection (and the exact fixes).

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.