tariffmonitor-mcp 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -6
- package/package.json +2 -2
- package/src/tools.js +4 -4
package/README.md
CHANGED
|
@@ -80,11 +80,6 @@ The tool calls the free public API at adcreator-ai.com. No signup, no rate limit
|
|
|
80
80
|
## Related
|
|
81
81
|
|
|
82
82
|
- [Free tariff calculator](https://adcreator-ai.com/tariffs/calculator) — browser version
|
|
83
|
-
- [
|
|
84
|
-
- [Tariff Survival Kit ($39)](https://weaverdale5.gumroad.com/l/wmpath) — 67 HTS codes pre-computed + sourcing alternatives + Nov 10 action checklist
|
|
85
|
-
|
|
86
|
-
## Affiliate program
|
|
87
|
-
|
|
88
|
-
Earn 35% on every sale. [Sign up here](https://app.gumroad.com/affiliates/products/wmpath).
|
|
83
|
+
- [Official US Harmonized Tariff Schedule](https://hts.usitc.gov/) — the authoritative rates
|
|
89
84
|
|
|
90
85
|
Built by [Dale Weaver / 0xpi](https://0xpi.com).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tariffmonitor-mcp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Tariff Exposure Monitor \u2014 live US import tariff calculator MCP server. Looks up any HTS code, returns an estimated stacked rate (MFN + Section 301 + Section 232) and flags the November 10, 2026 Section 301 exclusion expiry. 19,856 HTS codes. Free, no signup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"README.md"
|
|
44
44
|
],
|
|
45
45
|
"mcpName": "io.github.daleweaver1981/tariffmonitor-mcp"
|
|
46
|
-
}
|
|
46
|
+
}
|
package/src/tools.js
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
|
|
17
17
|
const API_BASE = 'https://adcreator-ai.com/api/tem';
|
|
18
18
|
const PACK_URL = 'https://scholar.0xpi.com/get/tariffmonitor';
|
|
19
|
-
const
|
|
19
|
+
const CALC_URL = 'https://adcreator-ai.com/tariffs/calculator';
|
|
20
20
|
|
|
21
|
-
export const SERVER_INFO = { name: 'tariffmonitor', version: '1.2.
|
|
21
|
+
export const SERVER_INFO = { name: 'tariffmonitor', version: '1.2.1' };
|
|
22
22
|
|
|
23
23
|
async function apiFetch(path) {
|
|
24
24
|
const res = await fetch(`${API_BASE}${path}`, {
|
|
@@ -194,8 +194,8 @@ export async function callTool(name, args = {}) {
|
|
|
194
194
|
dollarLines,
|
|
195
195
|
explainBlock,
|
|
196
196
|
'',
|
|
197
|
-
`
|
|
198
|
-
`
|
|
197
|
+
`Estimate only. Check the authoritative rate at https://hts.usitc.gov/ before relying on it.`,
|
|
198
|
+
`Free browser calculator: ${CALC_URL}`,
|
|
199
199
|
].join('\n').replace(/\n{3,}/g, '\n\n').trim();
|
|
200
200
|
|
|
201
201
|
return { content: [{ type: 'text', text }] };
|