un-comtrade-mcp-server MCP Server
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
un-comtrade-mcp-server scores 73 (Good), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 12 tools. Filed under Uncategorized. GitHub shows 5 stars. Package registries report about 838 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
73 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade D
52/100 for listing completeness. Lost points: no README, 11 of 12 tools barely described, short summary.
How quality is graded
Where the 73 comes from
22 + 20 + 8 + 10 + 10 + 3 = 73. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: No sign-in detected. Our check reached the endpoint without being asked for credentials. Some servers only check keys after connecting, so follow the provider's setup notes. Security tips
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-un-comtrade-mcp-server": { "command": "npx", "args": [ "-y", "@cyanheads/un-comtrade-mcp-server@0.5.1" ], "env": { "COMTRADE_CLAMP_LIMITS": "true", "COMTRADE_SUBSCRIPTION_KEY": "", "MCP_LOG_LEVEL": "info" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
COMTRADE_CLAMP_LIMITS | Optional | Clamp oversized trade pages to 1,000 records and accept batch arrays of up to 1,000 entries. Set false to reject oversized pages and limit batch arrays to 120 periods or 200 codes or reporters. |
COMTRADE_SUBSCRIPTION_KEY | Optional | Azure API Management key from comtradedeveloper.un.org. Optional — without it, tools fall back to the public preview endpoint (500-record cap). |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
COMTRADE_CLAMP_LIMITS | Optional | Clamp oversized trade pages to 1,000 records and accept batch arrays of up to 1,000 entries. Set false to reject oversized pages and limit batch arrays to 120 periods or 200 codes or reporters. |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
Tools12Tool docs quality grade F
All capabilities<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
ctx.logtoolrequest-scoped logging, ctx.state for tenant-scoped storage
About
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
Frequently asked questions
What is un-comtrade-mcp-server MCP Server?
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
How do I install un-comtrade-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. un-comtrade-mcp-server MCP Server runs locally from the npm package @cyanheads/un-comtrade-mcp-server with the command npx -y @cyanheads/un-comtrade-mcp-server@0.5.1.
Is un-comtrade-mcp-server MCP Server free and open source?
Yes. un-comtrade-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does un-comtrade-mcp-server MCP Server support remote (HTTP) connections?
Yes. un-comtrade-mcp-server MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does un-comtrade-mcp-server MCP Server provide?
un-comtrade-mcp-server MCP Server provides 12 tools, including comtrade_get_data_availability, comtrade_get_services_trade, comtrade_get_top_commodities, and comtrade_get_top_partners. See the full tool list for descriptions and parameters.
How is un-comtrade-mcp-server MCP Server's trust score calculated?
un-comtrade-mcp-server MCP Server scores 73 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.