Shipping Cost MCP Connector
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Shipping Cost MCP Connectorshow shipping costs for last 7 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shipping Cost MCP Connector
Pulls Shiprocket (actual) + Delhivery (estimated proxy) shipping costs into Claude, with Yesterday / Last 7 Days / MTD / Last 30 Days rollups.
Important limitations (read first)
Shiprocket: costs come from live order data via the documented
/ordersAPI. The exact field name for shipping charge can vary by account/plan. Before trusting numbers, run theshiprocket_raw_order_sampletool and check which field (shipping_charges,freight_charges,charges, etc.) actually holds the value on your account, then adjustCHARGE_FIELD_CANDIDATESinlib/shiprocket.jsif needed.Delhivery: there's no public API that lists your historical shipments by date, and no API that returns actual billed amounts — only a live rate-estimate endpoint. So
delhivery_cost_estimaterequires you to supply the shipment list (date, origin/dest pincode, weight) — e.g. exported from your own order records — and it estimates what each shipment should cost. It will be close but not exact to the paisa, same as your own Delhivery invoice reconciliation would show.
Related MCP server: openclaw-cost-tracker-mcp
Setup
Generate Shiprocket API credentials Shiprocket panel → Settings → API → Add New API User → note the email + password emailed to that address.
Generate Delhivery API token Delhivery One / CL Panel → Settings → API Setup → copy your static token.
Deploy to Vercel
vercel deploySet environment variables in the Vercel project dashboard (not in code):
SHIPROCKET_API_EMAILSHIPROCKET_API_PASSWORDDELHIVERY_API_TOKENDELHIVERY_CLIENT_NAME(your Delhivery client/company name as registered)MCP_ACCESS_TOKEN(any random string you choose — this now doubles as both the query-param token for manual testing AND the OAuth access token issued to Claude, plus the HMAC signing secret for authorization codes)
Add the connector in Claude using the base URL — you no longer need to append
?token=...for Claude itself (it now goes through the OAuth flow below automatically), though the query-param path still works for curl/manual testing:https://<your-vercel-app>.vercel.app/api/mcp
Why there's an OAuth layer here
Claude's custom connector UI only supports OAuth (it has no field for a plain
Bearer/query token), and its connection flow always attempts Dynamic Client
Registration (RFC 7591) against your server before calling any tools. A plain
token-only MCP server has no /register endpoint, so that step 404s and Claude
shows "couldn't register with sign-in service." To work around this, this
project includes a minimal, stateless OAuth 2.1 shim:
/.well-known/oauth-authorization-server— discovery metadata/.well-known/oauth-protected-resource— resource-first discovery metadata/api/register— auto-issues a client_id, no persistence needed/api/authorize— auto-approves and redirects back immediately (no login screen, since this server only ever serves you)/api/token— verifies the authorization code (HMAC-signed, PKCE-checked) and hands back your existingMCP_ACCESS_TOKENas the access token
Nothing here is persisted server-side; the "codes" are self-contained signed tokens, so this works fine on Vercel's stateless serverless functions.
Tools exposed
Tool | What it does |
| Actual Shiprocket freight cost for yesterday / last_7_days / last_30_days / mtd |
| Diagnostic — 3 raw orders, to confirm the charge field name |
| Estimated Delhivery cost for a shipment list you supply |
| Both carriers combined into one INR total |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/asm-2023/claude-shipping-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server