@cyanheads/usaspending-mcp-server 0.5.1 → 0.7.0

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.
Files changed (89) hide show
  1. package/AGENTS.md +16 -6
  2. package/CLAUDE.md +16 -6
  3. package/Dockerfile +4 -0
  4. package/README.md +37 -106
  5. package/changelog/0.6.x/0.6.0.md +48 -0
  6. package/changelog/0.7.x/0.7.0.md +29 -0
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.d.ts +1 -0
  10. package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.d.ts.map +1 -1
  11. package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.js +39 -29
  12. package/dist/mcp-server/tools/definitions/autocomplete-filters.tool.js.map +1 -1
  13. package/dist/mcp-server/tools/definitions/disaster-spending.tool.d.ts.map +1 -1
  14. package/dist/mcp-server/tools/definitions/disaster-spending.tool.js +7 -3
  15. package/dist/mcp-server/tools/definitions/disaster-spending.tool.js.map +1 -1
  16. package/dist/mcp-server/tools/definitions/filters.d.ts +6 -0
  17. package/dist/mcp-server/tools/definitions/filters.d.ts.map +1 -1
  18. package/dist/mcp-server/tools/definitions/filters.js +8 -1
  19. package/dist/mcp-server/tools/definitions/filters.js.map +1 -1
  20. package/dist/mcp-server/tools/definitions/fiscal-year.d.ts +15 -0
  21. package/dist/mcp-server/tools/definitions/fiscal-year.d.ts.map +1 -0
  22. package/dist/mcp-server/tools/definitions/fiscal-year.js +34 -0
  23. package/dist/mcp-server/tools/definitions/fiscal-year.js.map +1 -0
  24. package/dist/mcp-server/tools/definitions/get-agency.tool.d.ts.map +1 -1
  25. package/dist/mcp-server/tools/definitions/get-agency.tool.js +9 -7
  26. package/dist/mcp-server/tools/definitions/get-agency.tool.js.map +1 -1
  27. package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.d.ts.map +1 -1
  28. package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.js +11 -5
  29. package/dist/mcp-server/tools/definitions/get-award-federal-accounts.tool.js.map +1 -1
  30. package/dist/mcp-server/tools/definitions/get-award-subawards.tool.d.ts +0 -6
  31. package/dist/mcp-server/tools/definitions/get-award-subawards.tool.d.ts.map +1 -1
  32. package/dist/mcp-server/tools/definitions/get-award-subawards.tool.js +11 -40
  33. package/dist/mcp-server/tools/definitions/get-award-subawards.tool.js.map +1 -1
  34. package/dist/mcp-server/tools/definitions/get-award-transactions.tool.d.ts +4 -3
  35. package/dist/mcp-server/tools/definitions/get-award-transactions.tool.d.ts.map +1 -1
  36. package/dist/mcp-server/tools/definitions/get-award-transactions.tool.js +57 -30
  37. package/dist/mcp-server/tools/definitions/get-award-transactions.tool.js.map +1 -1
  38. package/dist/mcp-server/tools/definitions/get-award.tool.d.ts +12 -0
  39. package/dist/mcp-server/tools/definitions/get-award.tool.d.ts.map +1 -1
  40. package/dist/mcp-server/tools/definitions/get-award.tool.js +101 -29
  41. package/dist/mcp-server/tools/definitions/get-award.tool.js.map +1 -1
  42. package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.d.ts +7 -0
  43. package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.d.ts.map +1 -1
  44. package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.js +40 -5
  45. package/dist/mcp-server/tools/definitions/get-federal-account-breakdown.tool.js.map +1 -1
  46. package/dist/mcp-server/tools/definitions/get-federal-account.tool.d.ts +4 -1
  47. package/dist/mcp-server/tools/definitions/get-federal-account.tool.d.ts.map +1 -1
  48. package/dist/mcp-server/tools/definitions/get-federal-account.tool.js +31 -10
  49. package/dist/mcp-server/tools/definitions/get-federal-account.tool.js.map +1 -1
  50. package/dist/mcp-server/tools/definitions/get-idv-awards.tool.d.ts.map +1 -1
  51. package/dist/mcp-server/tools/definitions/get-idv-awards.tool.js +14 -10
  52. package/dist/mcp-server/tools/definitions/get-idv-awards.tool.js.map +1 -1
  53. package/dist/mcp-server/tools/definitions/get-recipient.tool.d.ts.map +1 -1
  54. package/dist/mcp-server/tools/definitions/get-recipient.tool.js +12 -11
  55. package/dist/mcp-server/tools/definitions/get-recipient.tool.js.map +1 -1
  56. package/dist/mcp-server/tools/definitions/index.d.ts +36 -10
  57. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
  58. package/dist/mcp-server/tools/definitions/list-agencies.tool.d.ts +6 -0
  59. package/dist/mcp-server/tools/definitions/list-agencies.tool.d.ts.map +1 -1
  60. package/dist/mcp-server/tools/definitions/list-agencies.tool.js +54 -11
  61. package/dist/mcp-server/tools/definitions/list-agencies.tool.js.map +1 -1
  62. package/dist/mcp-server/tools/definitions/search-awards.tool.d.ts.map +1 -1
  63. package/dist/mcp-server/tools/definitions/search-awards.tool.js +19 -17
  64. package/dist/mcp-server/tools/definitions/search-awards.tool.js.map +1 -1
  65. package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.d.ts +2 -0
  66. package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.d.ts.map +1 -1
  67. package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.js +25 -7
  68. package/dist/mcp-server/tools/definitions/search-federal-accounts.tool.js.map +1 -1
  69. package/dist/mcp-server/tools/definitions/search-recipients.tool.d.ts.map +1 -1
  70. package/dist/mcp-server/tools/definitions/search-recipients.tool.js +9 -5
  71. package/dist/mcp-server/tools/definitions/search-recipients.tool.js.map +1 -1
  72. package/dist/mcp-server/tools/definitions/spending-by-category.tool.d.ts.map +1 -1
  73. package/dist/mcp-server/tools/definitions/spending-by-category.tool.js +10 -4
  74. package/dist/mcp-server/tools/definitions/spending-by-category.tool.js.map +1 -1
  75. package/dist/mcp-server/tools/definitions/spending-by-geography.tool.d.ts.map +1 -1
  76. package/dist/mcp-server/tools/definitions/spending-by-geography.tool.js +7 -3
  77. package/dist/mcp-server/tools/definitions/spending-by-geography.tool.js.map +1 -1
  78. package/dist/mcp-server/tools/definitions/spending-over-time.tool.d.ts.map +1 -1
  79. package/dist/mcp-server/tools/definitions/spending-over-time.tool.js +8 -4
  80. package/dist/mcp-server/tools/definitions/spending-over-time.tool.js.map +1 -1
  81. package/dist/services/usaspending/types.d.ts +12 -20
  82. package/dist/services/usaspending/types.d.ts.map +1 -1
  83. package/dist/services/usaspending/usaspending-service.d.ts +18 -2
  84. package/dist/services/usaspending/usaspending-service.d.ts.map +1 -1
  85. package/dist/services/usaspending/usaspending-service.js +5 -4
  86. package/dist/services/usaspending/usaspending-service.js.map +1 -1
  87. package/package.json +8 -5
  88. package/server.json +3 -3
  89. package/skills/usaspending-guide/SKILL.md +54 -0
package/AGENTS.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Developer Protocol
2
2
 
3
3
  **Server:** usaspending-mcp-server
4
- **Version:** 0.5.1
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.15`
4
+ **Version:** 0.7.0
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.18`
6
6
  **Engines:** Bun ≥1.4.0, Node ≥24.0.0
7
- **MCP SDK:** `@modelcontextprotocol/server` ^2.3.1
7
+ **MCP SDK:** `@modelcontextprotocol/server` ^2.4.0
8
8
  **Zod:** ^4.6.7
9
9
 
10
10
  > **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
@@ -277,9 +277,18 @@ src/
277
277
 
278
278
  ## Skills
279
279
 
280
- Skills are modular instructions in `framework-skills/` at the project root. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. The directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand these development skills to every agent that installs it. Keep `skills/` free for skills meant for those agents.
280
+ Two skill trees live at the project root, written for different readers:
281
281
 
282
- **Agent skill directory:** Copy skills into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
282
+ | Tree | For | Written by |
283
+ |:-----|:----|:-----------|
284
+ | `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
285
+ | `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
286
+
287
+ Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand them to every agent that installs it.
288
+
289
+ A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
290
+
291
+ **Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
283
292
 
284
293
  Available skills:
285
294
 
@@ -291,6 +300,7 @@ Available skills:
291
300
  | `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
292
301
  | `add-resource` | Scaffold a new resource definition |
293
302
  | `add-prompt` | Scaffold a new prompt definition |
303
+ | `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
294
304
  | `add-service` | Scaffold a new service integration |
295
305
  | `add-test` | Scaffold test file for a tool, resource, or service |
296
306
  | `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
@@ -356,7 +366,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
356
366
 
357
367
  ## Bundling
358
368
 
359
- `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips two classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`) and platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on. A server using DataCanvas therefore ships a portable bundle without the DuckDB native — `@duckdb/node-api` is an optional peer loaded lazily, so canvas tools report an actionable install hint and every other tool works normally. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
369
+ `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp` (`config.gypi`, Makefiles, `obj.target/`, `.deps/`, object files and debug symbols), which records the packing machine's paths — compiled `*.node` addons stay; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, `CLAUDE.md`, `AGENTS.md`, and config bases (`biome.json`, `vitest.config.base.mjs`, `config/tsconfig.base.json`), and `better-sqlite3`'s `deps/` and `src/` C sources. A server using DataCanvas therefore ships a portable bundle without the DuckDB native — `@duckdb/node-api` is an optional peer loaded lazily, so canvas tools report an actionable install hint and every other tool works normally. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
360
370
 
361
371
  **Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
362
372
 
package/CLAUDE.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Developer Protocol
2
2
 
3
3
  **Server:** usaspending-mcp-server
4
- **Version:** 0.5.1
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.15`
4
+ **Version:** 0.7.0
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.18`
6
6
  **Engines:** Bun ≥1.4.0, Node ≥24.0.0
7
- **MCP SDK:** `@modelcontextprotocol/server` ^2.3.1
7
+ **MCP SDK:** `@modelcontextprotocol/server` ^2.4.0
8
8
  **Zod:** ^4.6.7
9
9
 
10
10
  > **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
@@ -277,9 +277,18 @@ src/
277
277
 
278
278
  ## Skills
279
279
 
280
- Skills are modular instructions in `framework-skills/` at the project root. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. The directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand these development skills to every agent that installs it. Keep `skills/` free for skills meant for those agents.
280
+ Two skill trees live at the project root, written for different readers:
281
281
 
282
- **Agent skill directory:** Copy skills into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
282
+ | Tree | For | Written by |
283
+ |:-----|:----|:-----------|
284
+ | `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
285
+ | `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
286
+
287
+ Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand them to every agent that installs it.
288
+
289
+ A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
290
+
291
+ **Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
283
292
 
284
293
  Available skills:
285
294
 
@@ -291,6 +300,7 @@ Available skills:
291
300
  | `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
292
301
  | `add-resource` | Scaffold a new resource definition |
293
302
  | `add-prompt` | Scaffold a new prompt definition |
303
+ | `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
294
304
  | `add-service` | Scaffold a new service integration |
295
305
  | `add-test` | Scaffold test file for a tool, resource, or service |
296
306
  | `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
@@ -356,7 +366,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
356
366
 
357
367
  ## Bundling
358
368
 
359
- `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips two classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`) and platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on. A server using DataCanvas therefore ships a portable bundle without the DuckDB native — `@duckdb/node-api` is an optional peer loaded lazily, so canvas tools report an actionable install hint and every other tool works normally. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
369
+ `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp` (`config.gypi`, Makefiles, `obj.target/`, `.deps/`, object files and debug symbols), which records the packing machine's paths — compiled `*.node` addons stay; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, `CLAUDE.md`, `AGENTS.md`, and config bases (`biome.json`, `vitest.config.base.mjs`, `config/tsconfig.base.json`), and `better-sqlite3`'s `deps/` and `src/` C sources. A server using DataCanvas therefore ships a portable bundle without the DuckDB native — `@duckdb/node-api` is an optional peer loaded lazily, so canvas tools report an actionable install hint and every other tool works normally. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
360
370
 
361
371
  **Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
362
372
 
package/Dockerfile CHANGED
@@ -29,6 +29,9 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
29
29
  # Copy the rest of the source code
30
30
  COPY . .
31
31
 
32
+ # Published skills are optional; keep the runtime copy valid when absent.
33
+ RUN mkdir -p skills
34
+
32
35
  # Build the application
33
36
  RUN bun run build
34
37
 
@@ -136,6 +139,7 @@ COPY --from=deps /usr/src/app/node_modules ./node_modules
136
139
 
137
140
  # Copy the compiled application code from the build stage
138
141
  COPY --from=build /usr/src/app/dist ./dist
142
+ COPY --from=build /usr/src/app/skills ./skills
139
143
 
140
144
  # The 'oven/bun' image already provides a non-root user named 'bun'.
141
145
  # We will use this existing user for enhanced security.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![Version](https://img.shields.io/badge/Version-0.5.1-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/usaspending-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^2.3.1-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/usaspending-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/usaspending-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.4-blueviolet.svg?style=flat-square)](https://bun.sh/)
10
+ [![Version](https://img.shields.io/badge/Version-0.7.0-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/usaspending-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^2.4.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/usaspending-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/usaspending-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.4-blueviolet.svg?style=flat-square)](https://bun.sh/)
11
11
 
12
12
  </div>
13
13
 
@@ -35,7 +35,7 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
35
35
 
36
36
  | Tool | Description |
37
37
  |:---|:---|
38
- | `usaspending_list_agencies` | List every top-tier federal agency with its toptier code, slug, and current-year budget totals |
38
+ | `usaspending_list_agencies` | List top-tier federal agencies with codes, slugs, and budget totals labelled by reporting year and quarter |
39
39
  | `usaspending_autocomplete_filters` | Look up NAICS, PSC, CFDA, agency, or recipient codes from a free-text description |
40
40
  | `usaspending_search_awards` | Search awards by keyword, recipient, agency, award type, NAICS code, assistance listing, PSC, DEF code, location, or date range |
41
41
  | `usaspending_get_award` | Fetch one award's full record: amounts, recipient, agencies, codes, parent IDV, DEF-code funding |
@@ -54,12 +54,16 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
54
54
  | `usaspending_get_federal_account` | Fetch a federal account's budget totals and its Treasury Account Symbol components |
55
55
  | `usaspending_get_federal_account_breakdown` | Break a federal account's obligations down by program activity or object class |
56
56
 
57
+ ### Research guide
58
+
59
+ The [usaspending-guide](./skills/usaspending-guide/SKILL.md) covers recipient research, award-to-account funding traces, and spending comparisons across periods and emergency appropriations. Plugin installs discover it in `skills/`; MCP clients can read `skill://usaspending-guide/SKILL.md` through the Skills extension. There are no domain-data resources.
60
+
57
61
  ## Capability reference
58
62
 
59
63
  ### `usaspending_list_agencies` <sub>tool</sub>
60
64
 
61
- - Takes only `sort` (`agency_name`, `budget_authority_amount`, `obligated_amount`, `outlay_amount`) and `order`; returns every agency in one unpaginated response
62
- - Rows carry `toptier_code` and `agency_slug`, both accepted by `usaspending_get_agency`, plus current-year `budget_authority_amount`, `obligated_amount`, and `outlay_amount`
65
+ - Takes `sort` (`agency_name`, `budget_authority_amount`, `obligated_amount`, `outlay_amount`) and `order`; returns every agency unless an optional positive `limit` is supplied. With `limit`, `page` defaults to 1; without it, `page` is ignored. `total` always counts the full directory and `has_next` appears only when paginating
66
+ - Rows carry `toptier_code` and `agency_slug`, both accepted by `usaspending_get_agency`, plus `budget_authority_amount`, `obligated_amount`, and `outlay_amount` for the latest reported period. `fiscal_year` and `fiscal_quarter` preserve the provider's reporting labels when present
63
67
 
64
68
  ---
65
69
 
@@ -67,7 +71,7 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
67
71
 
68
72
  - `type` (`naics`, `psc`, `cfda`, `awarding_agency`, `recipient`) plus `search_text`; `limit` 1–500, default 10
69
73
  - Rows carry `code` and `name`, and `uei` / `duns` for recipients; no match fails as `no_match`. A `cfda` code goes in `assistance_listings` and a `psc` code in `psc_codes` on `usaspending_search_awards` and the three spending analytics tools
70
- - Agency rows carry the matched agency's own `name`, `abbreviation`, and `tier` (`toptier` or `subtier`), plus its parent's `toptier_name` and `toptier_code`. The `agency_name` filters are top-tier only and take `toptier_name`, so a sub-agency such as the U.S. Geological Survey filters at its whole department
74
+ - Agency rows carry the matched agency's own `name`, `abbreviation`, and `tier` (`toptier` or `subtier`), its parent's `toptier_name` and `toptier_code`, and `subtier_code` when supplied. Pass `name` to `agency_name` on award search or spending analytics to match that agency; pass `toptier_name` for the whole department. Agency results combine top-tier then sub-tier matches under one `limit`; office matches are excluded
71
75
  - `naics` matches official NAICS title text: "software" resolves, "cybersecurity" does not, so search with the industry term a title would use
72
76
 
73
77
  ---
@@ -83,9 +87,9 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
83
87
  ### `usaspending_get_award` <sub>tool</sub>
84
88
 
85
89
  - `award_id` is a `generated_unique_award_id`, the `generated_internal_id` from search; an unknown ID fails as `award_not_found`
86
- - Returns `category`, `total_obligation`, `total_outlays`, `subaward_count`, NAICS / PSC codes, `account_obligations_by_defc`, and, on loans, `total_loan_value` and `total_subsidy_cost`
90
+ - Returns `category`, `total_obligation`, `total_outlays`, `total_account_obligation`, `total_account_outlay`, `base_exercised_options`, `subaward_count`, NAICS / PSC codes, `account_obligations_by_defc`, `account_outlays_by_defc`, and, on loans, `total_loan_value` and `total_subsidy_cost`, where supplied
87
91
  - `assistance_listings` lists every Assistance Listing on an assistance award, in upstream order, as `number`, `title`, and `obligation`; a `number` goes in `usaspending_search_awards` `assistance_listings`
88
- - `recipient` carries `uei`, `parent_uei`, `business_categories` (category names, not the `business_types` codes of `usaspending_get_recipient`), and a three-letter `country_code` on its `location`, as does `place_of_performance`; a location with no fields upstream is omitted
92
+ - `recipient` carries `uei`, `parent_uei`, `business_categories` (category names, not the `business_types` codes of `usaspending_get_recipient`), and a three-letter `country_code`, `county_name`, `congressional_code`, and `zip5` on its `location`. `place_of_performance` also carries a country code, county name, and congressional code; a location with no fields upstream is omitted
89
93
  - `recipient.recipient_id` and `recipient.parent_recipient_id` chain to `usaspending_get_recipient` and `parent_award.generated_unique_award_id` to the parent IDV; `category: "idv"` awards list their children via `usaspending_get_idv_awards`
90
94
 
91
95
  ---
@@ -93,14 +97,14 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
93
97
  ### `usaspending_get_award_transactions` <sub>tool</sub>
94
98
 
95
99
  - `award_id` plus `sort` (`action_date`, `federal_action_obligation`, `modification_number`); `limit` up to 100
96
- - Rows carry `action_date`, `modification_number`, `action_type`, and a signed `federal_action_obligation` (negative is a deobligation)
100
+ - Rows carry a string `id` (`ASST_TX` or `CONT_TX`), `action_date`, `modification_number`, `action_type`, and a signed `federal_action_obligation` (negative is a deobligation). Loan transactions also carry `face_value_loan_guarantee` and `original_loan_subsidy_cost`; assistance transactions carry `cfda_number` when supplied
97
101
 
98
102
  ---
99
103
 
100
104
  ### `usaspending_get_award_subawards` <sub>tool</sub>
101
105
 
102
106
  - `award_id` plus `sort` (`subaward_number`, `description`, `action_date`, `amount`, `recipient_name`); `limit` up to 100
103
- - Rows carry `subaward_number`, `amount`, `action_date`, `recipient_name`, `recipient_uei`, and place of performance; `subaward_count` on `usaspending_get_award` says whether any exist
107
+ - Rows carry `id`, `subaward_number`, `description`, `amount`, `action_date`, and `recipient_name`; the upstream listing supplies no recipient UEI or location. `subaward_count` on `usaspending_get_award` says whether any exist
104
108
 
105
109
  ---
106
110
 
@@ -176,14 +180,14 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
176
180
  ### `usaspending_search_federal_accounts` <sub>tool</sub>
177
181
 
178
182
  - Optional `keyword` and 3-digit `agency_identifier`; `sort_field` is `account_name`, `account_number`, `budgetary_resources` (default), or `managing_agency`; `limit` up to 100
179
- - Rows carry `account_number` (e.g. `097-8097`) for the federal-account tools, `managing_agency`, and `budgetary_resources`; `page_metadata.count` is the total
183
+ - Rows carry `account_number` (e.g. `097-8097`) for the federal-account tools, `managing_agency`, and `budgetary_resources`; `page_metadata.count` is the total. Optional `fiscal_year` selects the reporting year; otherwise the provider uses its latest submission year. The returned `fiscal_year` identifies that period
180
184
 
181
185
  ---
182
186
 
183
187
  ### `usaspending_get_federal_account` <sub>tool</sub>
184
188
 
185
189
  - `account_code` in AGENCY-MAIN format, from `account_number` in search results or `federal_account` on an award; an unknown code fails as `account_not_found`
186
- - Returns `total_obligated_amount`, `total_gross_outlay_amount`, and `total_budgetary_resources` for `fiscal_year`, plus `children`: one entry per Treasury Account Symbol with its own amounts
190
+ - Optional `fiscal_year` selects the reporting year; otherwise the provider uses the current federal fiscal year. Returns `total_obligated_amount`, `total_gross_outlay_amount`, and `total_budgetary_resources` for the returned `fiscal_year`, plus `children`: one entry per Treasury Account Symbol with its own amounts. A year without financial data retains account metadata and a notice, without substituting another year
187
191
 
188
192
  ---
189
193
 
@@ -191,6 +195,9 @@ Where federal money goes, from USAspending.gov: awards, recipients, agencies, an
191
195
 
192
196
  - `account_code` plus `dimension` (`program_activity` or `object_class`); `limit` up to 100, with `page_metadata.total` as the row count
193
197
  - Rows carry `code`, `name`, and `obligations`; `program_activity` rows add `type`, either `PAC/PAN` or `PARK`
198
+ - Optional `fiscal_year` scopes financial reporting periods to October 1 through September 30, echoed in `time_period` and `period`. Omission covers `all available periods`
199
+
200
+ All three federal-account tools accept an integer `fiscal_year` from 2001 through the current federal fiscal year (which rolls over October 1); blank form values mean omitted. Search and detail budget totals use different upstream calculations and need not match even for the same year.
194
201
 
195
202
  ## Features
196
203
 
@@ -212,115 +219,32 @@ Agent-friendly output:
212
219
 
213
220
  ## Getting started
214
221
 
215
- ### Public Hosted Instance
216
-
217
- A public instance is available at `https://usaspending.caseyjhand.com/mcp` — no installation required. Point any MCP client at it via Streamable HTTP:
222
+ Connect to the hosted instance, no install:
218
223
 
219
- ```json
220
- {
221
- "mcpServers": {
222
- "usaspending-mcp-server": {
223
- "type": "streamable-http",
224
- "url": "https://usaspending.caseyjhand.com/mcp"
225
- }
226
- }
227
- }
224
+ ```sh
225
+ claude mcp add --transport http usaspending-mcp-server https://usaspending.caseyjhand.com/mcp
228
226
  ```
229
227
 
230
- ### Self-Hosted / Local
228
+ Or run it locally:
231
229
 
232
- Add the following to your MCP client configuration file. No API key is required.
233
-
234
- ```json
235
- {
236
- "mcpServers": {
237
- "usaspending-mcp-server": {
238
- "type": "stdio",
239
- "command": "bunx",
240
- "args": ["@cyanheads/usaspending-mcp-server@latest"],
241
- "env": {
242
- "MCP_TRANSPORT_TYPE": "stdio",
243
- "MCP_LOG_LEVEL": "info"
244
- }
245
- }
246
- }
247
- }
230
+ ```sh
231
+ claude mcp add usaspending-mcp-server -- npx -y @cyanheads/usaspending-mcp-server
248
232
  ```
249
233
 
250
- Or with npx (no Bun required):
234
+ For other clients, add this to the MCP config file:
251
235
 
252
236
  ```json
253
237
  {
254
238
  "mcpServers": {
255
239
  "usaspending-mcp-server": {
256
- "type": "stdio",
257
240
  "command": "npx",
258
- "args": ["-y", "@cyanheads/usaspending-mcp-server@latest"],
259
- "env": {
260
- "MCP_TRANSPORT_TYPE": "stdio",
261
- "MCP_LOG_LEVEL": "info"
262
- }
241
+ "args": ["-y", "@cyanheads/usaspending-mcp-server"]
263
242
  }
264
243
  }
265
244
  }
266
245
  ```
267
246
 
268
- Or with Docker:
269
-
270
- ```json
271
- {
272
- "mcpServers": {
273
- "usaspending-mcp-server": {
274
- "type": "stdio",
275
- "command": "docker",
276
- "args": [
277
- "run", "-i", "--rm",
278
- "-e", "MCP_TRANSPORT_TYPE=stdio",
279
- "ghcr.io/cyanheads/usaspending-mcp-server:latest"
280
- ]
281
- }
282
- }
283
- }
284
- ```
285
-
286
- For Streamable HTTP, set the transport and start the server:
287
-
288
- ```sh
289
- MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
290
- # Server listens at http://localhost:3010/mcp
291
- ```
292
-
293
- ### Prerequisites
294
-
295
- - [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).
296
- - No API key or account: USAspending.gov is open to anonymous requests.
297
-
298
- ### Installation
299
-
300
- 1. **Clone the repository:**
301
-
302
- ```sh
303
- git clone https://github.com/cyanheads/usaspending-mcp-server.git
304
- ```
305
-
306
- 2. **Navigate into the directory:**
307
-
308
- ```sh
309
- cd usaspending-mcp-server
310
- ```
311
-
312
- 3. **Install dependencies:**
313
-
314
- ```sh
315
- bun install
316
- ```
317
-
318
- 4. **Configure environment (optional):**
319
-
320
- ```sh
321
- cp .env.example .env
322
- # edit .env if you need to override defaults
323
- ```
247
+ No API key or account is required. For Docker or a source build, see [Running the server](#running-the-server).
324
248
 
325
249
  ## Configuration
326
250
 
@@ -348,6 +272,14 @@ See [`.env.example`](./.env.example) for the full list of optional overrides.
348
272
 
349
273
  ### Local development
350
274
 
275
+ Requires [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+). No API key or account is required.
276
+
277
+ ```sh
278
+ git clone https://github.com/cyanheads/usaspending-mcp-server.git
279
+ cd usaspending-mcp-server && bun install
280
+ cp .env.example .env # optional overrides
281
+ ```
282
+
351
283
  - **Build and run:**
352
284
 
353
285
  ```sh
@@ -371,11 +303,10 @@ See [`.env.example`](./.env.example) for the full list of optional overrides.
371
303
  ### Docker
372
304
 
373
305
  ```sh
374
- docker build -t usaspending-mcp-server .
375
- docker run --rm -p 3010:3010 usaspending-mcp-server
306
+ docker run --rm -p 3010:3010 ghcr.io/cyanheads/usaspending-mcp-server:latest
376
307
  ```
377
308
 
378
- The Dockerfile defaults to HTTP transport, stateless session mode, and logs to `/var/log/usaspending-mcp-server`. OpenTelemetry peer dependencies are installed by default — build with `--build-arg OTEL_ENABLED=false` to omit them.
309
+ The image defaults to HTTP transport, stateless session mode, and logs to `/var/log/usaspending-mcp-server`. For stdio, use `"command": "docker"` with `"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/usaspending-mcp-server:latest"]`. Build locally with `docker build -t usaspending-mcp-server .`; OpenTelemetry peer dependencies are installed by default — build with `--build-arg OTEL_ENABLED=false` to omit them.
379
310
 
380
311
  ## Project structure
381
312
 
@@ -0,0 +1,48 @@
1
+ ---
2
+ summary: "Federal spending drilldowns preserve provider identities and reporting periods."
3
+ breaking: true
4
+ security: false
5
+ ---
6
+
7
+ # 0.6.0 — 2026-10-24
8
+
9
+ ## Added
10
+
11
+ - **Federal-account tools** accept optional `fiscal_year` across search, detail, and breakdowns, return reporting periods, and retain empty selected years with a notice (#97).
12
+ - **`usaspending_get_award`** exposes district, county, recipient ZIP, federal-account totals, DEF-code outlays, and exercised-options values when supplied (#87).
13
+ - **`usaspending_get_award_transactions`** returns populated loan face values, original subsidy costs, and assistance `cfda_number` values (#90).
14
+ - **`usaspending_list_agencies`** supports optional pagination with the full directory total and `has_next`, preserving the full-list default (#98).
15
+
16
+ ## Changed
17
+
18
+ - **`usaspending_get_award_transactions`** returns string transaction IDs and removes unsupported `recipient_name` and `awarding_agency_name` output fields (#90).
19
+ - **`usaspending_autocomplete_filters`** uses the replacement agency endpoint, preserves agency tiers and parent identities, and exposes optional `subtier_code` (#85).
20
+
21
+ ## Removed
22
+
23
+ - **`usaspending_get_award_subawards`** removes unsupported `recipient_uei` and `place_of_performance` output fields (#96).
24
+
25
+ ## Fixed
26
+
27
+ - **`agency_name`** matches top-tier and sub-tier names across award search and spending analytics; shared sub-tier names match under every parent (#84).
28
+ - **`usaspending_list_agencies`** returns provider fiscal-year and quarter labels and describes amounts as the latest reported period (#92).
29
+ - **Markdown output** preserves upstream strings through client parsing, including punctuation in names, descriptions, notices, and table values.
30
+ - **Development guidance and audit classification** follow the adopted framework; hosted-client examples use each client's configuration shape.
31
+
32
+ ## Dependencies
33
+
34
+ - **`@cyanheads/mcp-ts-core`** ^0.13.15 → ^0.13.16.
35
+ - **Test dependencies:** add `markdown-it` ^15.0.3 and `@types/markdown-it` ^14.2.0 for client-rendering assertions.
36
+ - **`@babel/traverse`** 7.29.8 → 7.29.10.
37
+ - **`@hono/node-server`** 2.1.4 → 2.1.5.
38
+ - **`@oxc-project/types`** 0.152.0 → 0.155.0.
39
+ - **`rolldown` and `@rolldown/binding-*`** 1.2.12 → 1.2.15.
40
+ - **`@vue/compiler-*` and `@vue/shared`** 3.5.43 → 3.5.44.
41
+ - **`fast-copy`** 4.1.1 → 4.2.0.
42
+ - **`jose`** 6.2.12 → 6.2.13.
43
+ - **`nanoid`** 3.3.19 → 3.3.20.
44
+ - **`postcss`** 8.5.28 → 8.5.31.
45
+ - **`process-warning`** 5.1.0 → 5.1.1.
46
+ - **`resolve`** 1.22.12 → 1.22.13.
47
+ - **`secure-json-parse`** 4.1.0 → 4.1.1.
48
+ - **`vite`** 8.3.3 → 8.3.5.
@@ -0,0 +1,29 @@
1
+ ---
2
+ summary: "Publish a federal spending research guide over MCP and adopt mcp-ts-core 0.13.18 with HTTP request cleanup and literal enrichment rendering."
3
+ breaking: false
4
+ security: false
5
+ ---
6
+
7
+ # 0.7.0 — 2026-10-25
8
+
9
+ ## Added
10
+
11
+ - Add the `usaspending-guide` skill as the `skill://usaspending-guide/SKILL.md` MCP resource for award, recipient, and funding-account research.
12
+ - **Guide delivery** includes npm, Docker, MCPB, and plugin installations; root `plugin.json` and `mcp.json` support Agent Plugins clients.
13
+
14
+ ## Changed
15
+
16
+ - **Framework behavior** adopts mcp-ts-core 0.13.17 HTTP request cleanup and 0.13.18 code-literal rendering for applied-query and DEF-code enrichment.
17
+ - **Packaging and development guidance** sync framework scripts and skills, validate published skills and plugin manifests, exclude build-only bundle paths, and set the dependency minimum release age to one day.
18
+ - **Getting started** leads with hosted and local connection commands and moves Docker and source instructions to Running the server.
19
+
20
+ ## Fixed
21
+
22
+ - **MCPB cleaning** removes package-root agent documentation while retaining runtime modules such as the MCP SDK's `dist/ext/skills`; regression tests cover scoped and nested dependencies.
23
+
24
+ ## Dependencies
25
+
26
+ - `@cyanheads/mcp-ts-core` ^0.13.16 → ^0.13.18
27
+ - `@biomejs/biome` ^2.6.2 → ^2.6.3
28
+ - `ignore` ^7.0.13 → ^7.0.14
29
+ - `tsc-alias` ^1.9.8 → ^1.9.9
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ await createApp({
14
14
  tools: [...allToolDefinitions],
15
15
  resources: [],
16
16
  prompts: [],
17
+ skills: 'skills',
17
18
  landing: { requireAuth: false },
18
19
  /**
19
20
  * The tool surface is compiled in — 18 static definitions, no dynamic
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAEvF,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,wBAAwB;IAC9B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC;IAC9B,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;IAC/B;;;;;;OAMG;IACH,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;KACzD;IACD;;;;;;OAMG;IACH,WAAW,EAAE,WAAW;IACxB,YAAY,EACV,4HAA4H;QAC5H,wJAAwJ;QACxJ,+FAA+F;QAC/F,4KAA4K;QAC5K,sGAAsG;QACtG,kFAAkF;IACpF,KAAK,CAAC,IAAI;QACR,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;QACvC,sBAAsB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAClE,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAEvF,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,wBAAwB;IAC9B,KAAK,EAAE,wBAAwB;IAC/B,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC;IAC9B,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;IAC/B;;;;;;OAMG;IACH,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;KACzD;IACD;;;;;;OAMG;IACH,WAAW,EAAE,WAAW;IACxB,YAAY,EACV,4HAA4H;QAC5H,wJAAwJ;QACxJ,+FAA+F;QAC/F,4KAA4K;QAC5K,sGAAsG;QACtG,kFAAkF;IACpF,KAAK,CAAC,IAAI;QACR,MAAM,YAAY,GAAG,eAAe,EAAE,CAAC;QACvC,sBAAsB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAClE,CAAC;CACF,CAAC,CAAC"}
@@ -28,6 +28,7 @@ export declare const autocompleteFiltersTool: import("@cyanheads/mcp-ts-core").T
28
28
  }>>;
29
29
  toptier_name: z.ZodOptional<z.ZodString>;
30
30
  toptier_code: z.ZodOptional<z.ZodString>;
31
+ subtier_code: z.ZodOptional<z.ZodString>;
31
32
  uei: z.ZodOptional<z.ZodString>;
32
33
  duns: z.ZodOptional<z.ZodString>;
33
34
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete-filters.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/autocomplete-filters.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAOjE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmSlC,CAAC"}
1
+ {"version":3,"file":"autocomplete-filters.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/autocomplete-filters.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAQjE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgTlC,CAAC"}