@cyanheads/congressgov-mcp-server 0.3.20 → 0.3.21

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/AGENTS.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # Agent Protocol
2
2
 
3
3
  **Server:** congressgov-mcp-server
4
- **Version:** 0.3.20
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
4
+ **Version:** 0.3.21
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.9.6`
6
+ **Engines:** Bun ≥1.3.0, Node ≥24.0.0
7
+ **MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
8
+ **Zod:** ^4.4.3
6
9
 
7
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.
8
11
 
@@ -37,7 +40,7 @@ Tailor suggestions to what's actually missing or stale — don't recite the full
37
40
 
38
41
  | Env Var | Required | Description |
39
42
  |:--------|:---------|:------------|
40
- | `CONGRESS_API_KEY` | Yes | API key from [api.data.gov](https://api.data.gov/signup/) (free, 5,000 req/hr) |
43
+ | `CONGRESS_API_KEY` | No | Optional. Defaults to `DEMO_KEY` (30 req/hr). Own key from [api.data.gov](https://api.data.gov/signup/): 1,000 req/hr. |
41
44
  | `CONGRESS_API_BASE_URL` | No | Defaults to `https://api.congress.gov/v3` |
42
45
 
43
46
  ---
@@ -240,10 +243,14 @@ When you complete a skill's checklist, check the boxes and add a completion time
240
243
  | `bun run build` | Compile TypeScript |
241
244
  | `bun run rebuild` | Clean + build |
242
245
  | `bun run clean` | Remove build artifacts |
243
- | `bun run devcheck` | Lint + format + typecheck + security |
246
+ | `bun run devcheck` | Lint + format + typecheck + security + changelog sync |
247
+ | `bun run audit:refresh` | Delete `bun.lock`, reinstall, re-audit. Use when `devcheck` flags a transitive advisory — stale lockfile can mask already-patched deps. If advisory survives, it's real. |
244
248
  | `bun run tree` | Generate directory structure doc |
249
+ | `bun run list-skills` | List available skills from `.claude/skills/` or `skills/` |
245
250
  | `bun run format` | Auto-fix formatting |
246
251
  | `bun run lint:mcp` | Validate MCP tool/resource/prompt definitions |
252
+ | `bun run lint:packaging` | Validate env var alignment between `manifest.json` and `server.json` |
253
+ | `bun run bundle` | Build and pack as `.mcpb` for one-click Claude Desktop install |
247
254
  | `bun run changelog:build` | Regenerate `CHANGELOG.md` from `changelog/*.md` |
248
255
  | `bun run changelog:check` | Verify `CHANGELOG.md` is in sync (used by devcheck) |
249
256
  | `bun run test` | Run tests |
@@ -254,6 +261,14 @@ When you complete a skill's checklist, check the boxes and add a completion time
254
261
 
255
262
  ---
256
263
 
264
+ ## Bundling
265
+
266
+ `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. MCPB is stdio-only — HTTP deployments are unaffected. The bundle file ships as `dist/congressgov-mcp-server.mcpb`.
267
+
268
+ **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.
269
+
270
+ ---
271
+
257
272
  ## Changelog
258
273
 
259
274
  Directory-based, grouped by minor series using the `.x` semver-wildcard convention. Source of truth is `changelog/<major.minor>.x/<version>.md` (e.g. `changelog/0.3.x/0.3.13.md`) — one file per released version. At release time, author the per-version file with a concrete version and date, then run `bun run changelog:build` to regenerate the rollup. `changelog/template.md` is a **pristine format reference** — never edited, never renamed, never moved. `CHANGELOG.md` is a **navigation index** (header + link + one-line summary per version), regenerated by `bun run changelog:build`. Devcheck hard-fails on drift. Never hand-edit `CHANGELOG.md`.
@@ -295,14 +310,14 @@ Remind the user to run these after completing a release flow.
295
310
  ## Checklist
296
311
 
297
312
  - [ ] Zod schemas: all fields have `.describe()`, only JSON-Schema-serializable types (no `z.custom()`, `z.date()`, `z.transform()`, `z.bigint()`, `z.symbol()`, `z.void()`, `z.map()`, `z.set()`, `z.function()`, `z.nan()`)
298
- - [ ] Optional nested objects: handler guards for empty inner values from form-based clients (`if (input.obj?.field && ...)`, not just `if (input.obj)`)
313
+ - [ ] Optional nested objects: handler guards for empty inner values from form-based clients (`if (input.obj?.field && ...)`, not just `if (input.obj)`). When regex/length constraints matter, use `z.union([z.literal(''), z.string().regex(...).describe(...)])` — literal variants are exempt from `describe-on-fields`.
299
314
  - [ ] JSDoc `@fileoverview` + `@module` on every file
300
315
  - [ ] `ctx.log` for logging, `ctx.state` for storage
301
316
  - [ ] Handlers throw on failure — error factories or plain `Error`, no try/catch
302
317
  - [ ] `format()` renders all data the LLM needs — different clients forward different surfaces (Claude Code → `structuredContent`, Claude Desktop → `content[]`); both must carry the same data
303
- - [ ] Raw/domain/output schemas reviewed against real upstream sparsity/nullability before finalizing required vs optional fields
304
- - [ ] Normalization and `format()` preserve uncertainty; do not fabricate facts from missing upstream Congress.gov data
305
- - [ ] Tests include at least one sparse payload case with omitted upstream fields
318
+ - [ ] If wrapping external API: raw/domain/output schemas reviewed against real upstream sparsity/nullability before finalizing required vs optional fields
319
+ - [ ] If wrapping external API: normalization and `format()` preserve uncertainty; do not fabricate facts from missing upstream Congress.gov data
320
+ - [ ] If wrapping external API: tests include at least one sparse payload case with omitted upstream fields
306
321
  - [ ] Registered in `createApp()` arrays (directly or via barrel exports)
307
322
  - [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
308
323
  - [ ] `bun run devcheck` passes
package/CLAUDE.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # Agent Protocol
2
2
 
3
3
  **Server:** congressgov-mcp-server
4
- **Version:** 0.3.20
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
4
+ **Version:** 0.3.21
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.9.6`
6
+ **Engines:** Bun ≥1.3.0, Node ≥24.0.0
7
+ **MCP SDK:** `@modelcontextprotocol/sdk` ^1.29.0
8
+ **Zod:** ^4.4.3
6
9
 
7
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.
8
11
 
@@ -37,7 +40,7 @@ Tailor suggestions to what's actually missing or stale — don't recite the full
37
40
 
38
41
  | Env Var | Required | Description |
39
42
  |:--------|:---------|:------------|
40
- | `CONGRESS_API_KEY` | Yes | API key from [api.data.gov](https://api.data.gov/signup/) (free, 5,000 req/hr) |
43
+ | `CONGRESS_API_KEY` | No | Optional. Defaults to `DEMO_KEY` (30 req/hr). Own key from [api.data.gov](https://api.data.gov/signup/): 1,000 req/hr. |
41
44
  | `CONGRESS_API_BASE_URL` | No | Defaults to `https://api.congress.gov/v3` |
42
45
 
43
46
  ---
@@ -240,10 +243,14 @@ When you complete a skill's checklist, check the boxes and add a completion time
240
243
  | `bun run build` | Compile TypeScript |
241
244
  | `bun run rebuild` | Clean + build |
242
245
  | `bun run clean` | Remove build artifacts |
243
- | `bun run devcheck` | Lint + format + typecheck + security |
246
+ | `bun run devcheck` | Lint + format + typecheck + security + changelog sync |
247
+ | `bun run audit:refresh` | Delete `bun.lock`, reinstall, re-audit. Use when `devcheck` flags a transitive advisory — stale lockfile can mask already-patched deps. If advisory survives, it's real. |
244
248
  | `bun run tree` | Generate directory structure doc |
249
+ | `bun run list-skills` | List available skills from `.claude/skills/` or `skills/` |
245
250
  | `bun run format` | Auto-fix formatting |
246
251
  | `bun run lint:mcp` | Validate MCP tool/resource/prompt definitions |
252
+ | `bun run lint:packaging` | Validate env var alignment between `manifest.json` and `server.json` |
253
+ | `bun run bundle` | Build and pack as `.mcpb` for one-click Claude Desktop install |
247
254
  | `bun run changelog:build` | Regenerate `CHANGELOG.md` from `changelog/*.md` |
248
255
  | `bun run changelog:check` | Verify `CHANGELOG.md` is in sync (used by devcheck) |
249
256
  | `bun run test` | Run tests |
@@ -254,6 +261,14 @@ When you complete a skill's checklist, check the boxes and add a completion time
254
261
 
255
262
  ---
256
263
 
264
+ ## Bundling
265
+
266
+ `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. MCPB is stdio-only — HTTP deployments are unaffected. The bundle file ships as `dist/congressgov-mcp-server.mcpb`.
267
+
268
+ **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.
269
+
270
+ ---
271
+
257
272
  ## Changelog
258
273
 
259
274
  Directory-based, grouped by minor series using the `.x` semver-wildcard convention. Source of truth is `changelog/<major.minor>.x/<version>.md` (e.g. `changelog/0.3.x/0.3.13.md`) — one file per released version. At release time, author the per-version file with a concrete version and date, then run `bun run changelog:build` to regenerate the rollup. `changelog/template.md` is a **pristine format reference** — never edited, never renamed, never moved. `CHANGELOG.md` is a **navigation index** (header + link + one-line summary per version), regenerated by `bun run changelog:build`. Devcheck hard-fails on drift. Never hand-edit `CHANGELOG.md`.
@@ -295,14 +310,14 @@ Remind the user to run these after completing a release flow.
295
310
  ## Checklist
296
311
 
297
312
  - [ ] Zod schemas: all fields have `.describe()`, only JSON-Schema-serializable types (no `z.custom()`, `z.date()`, `z.transform()`, `z.bigint()`, `z.symbol()`, `z.void()`, `z.map()`, `z.set()`, `z.function()`, `z.nan()`)
298
- - [ ] Optional nested objects: handler guards for empty inner values from form-based clients (`if (input.obj?.field && ...)`, not just `if (input.obj)`)
313
+ - [ ] Optional nested objects: handler guards for empty inner values from form-based clients (`if (input.obj?.field && ...)`, not just `if (input.obj)`). When regex/length constraints matter, use `z.union([z.literal(''), z.string().regex(...).describe(...)])` — literal variants are exempt from `describe-on-fields`.
299
314
  - [ ] JSDoc `@fileoverview` + `@module` on every file
300
315
  - [ ] `ctx.log` for logging, `ctx.state` for storage
301
316
  - [ ] Handlers throw on failure — error factories or plain `Error`, no try/catch
302
317
  - [ ] `format()` renders all data the LLM needs — different clients forward different surfaces (Claude Code → `structuredContent`, Claude Desktop → `content[]`); both must carry the same data
303
- - [ ] Raw/domain/output schemas reviewed against real upstream sparsity/nullability before finalizing required vs optional fields
304
- - [ ] Normalization and `format()` preserve uncertainty; do not fabricate facts from missing upstream Congress.gov data
305
- - [ ] Tests include at least one sparse payload case with omitted upstream fields
318
+ - [ ] If wrapping external API: raw/domain/output schemas reviewed against real upstream sparsity/nullability before finalizing required vs optional fields
319
+ - [ ] If wrapping external API: normalization and `format()` preserve uncertainty; do not fabricate facts from missing upstream Congress.gov data
320
+ - [ ] If wrapping external API: tests include at least one sparse payload case with omitted upstream fields
306
321
  - [ ] Registered in `createApp()` arrays (directly or via barrel exports)
307
322
  - [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
308
323
  - [ ] `bun run devcheck` passes
package/README.md CHANGED
@@ -7,9 +7,15 @@
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![npm](https://img.shields.io/npm/v/@cyanheads/congressgov-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/congressgov-mcp-server) [![Version](https://img.shields.io/badge/Version-0.3.20-blue.svg?style=flat-square)](./CHANGELOG.md) [![Framework](https://img.shields.io/badge/Built%20on-@cyanheads/mcp--ts--core-259?style=flat-square)](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.29.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/)
10
+ [![Version](https://img.shields.io/badge/Version-0.3.21-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/congressgov-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.29.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/congressgov-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/congressgov-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^6.0.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.3.2-blueviolet.svg?style=flat-square)](https://bun.sh/)
11
11
 
12
- [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-^6.0.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.3.2-blueviolet.svg?style=flat-square)](https://bun.sh/)
12
+ </div>
13
+
14
+ <div align="center">
15
+
16
+ [![Install in Claude Desktop](https://img.shields.io/badge/Install_in-Claude_Desktop-D97757?style=for-the-badge&logo=anthropic&logoColor=white)](https://github.com/cyanheads/congressgov-mcp-server/releases/latest/download/congressgov-mcp-server.mcpb) [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=congressgov-mcp-server&config=eyJjb21tYW5kIjoiYnVueCIsImFyZ3MiOlsiQGN5YW5oZWFkcy9jb25ncmVzc2dvdi1tY3Atc2VydmVyQGxhdGVzdCJdLCJlbnYiOnsiTUNQX1RSQU5TUE9SVF9UWVBFIjoic3RkaW8iLCJDT05HUkVTU19BUElfS0VZIjoiIn19) [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=for-the-badge&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22congressgov-mcp-server%22%2C%22config%22%3A%7B%22command%22%3A%22bunx%22%2C%22args%22%3A%5B%22%40cyanheads%2Fcongressgov-mcp-server%40latest%22%5D%2C%22env%22%3A%7B%22MCP_TRANSPORT_TYPE%22%3A%22stdio%22%2C%22CONGRESS_API_KEY%22%3A%22%22%7D%7D%7D)
17
+
18
+ [![Framework](https://img.shields.io/badge/Built%20on-@cyanheads/mcp--ts--core-67E8F9?style=flat-square)](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
13
19
 
14
20
  </div>
15
21
 
@@ -136,9 +142,9 @@ Built on [`@cyanheads/mcp-ts-core`](https://github.com/cyanheads/mcp-ts-core):
136
142
  Congress.gov-specific:
137
143
 
138
144
  - Type-safe client for the Congress.gov REST API v3
139
- - Authentication via free API key from [api.data.gov](https://api.data.gov/signup/)
145
+ - Optional API key from [api.data.gov](https://api.data.gov/signup/) — defaults to `DEMO_KEY` (30 req/hr); own key gets 1,000 req/hr
140
146
  - Automatic pagination and response normalization
141
- - Rate limiting awareness (5,000 requests/hour per key)
147
+ - Rate limiting awareness
142
148
  - All tools are read-only and idempotent
143
149
 
144
150
  ## Getting started
@@ -194,7 +200,7 @@ Or with npx (no Bun required):
194
200
  }
195
201
  ```
196
202
 
197
- Get a free API key at [api.data.gov/signup](https://api.data.gov/signup/) (5,000 requests/hour).
203
+ Get a free API key at [api.data.gov/signup](https://api.data.gov/signup/) for 1,000 req/hr. Without a key the server falls back to `DEMO_KEY` (30 req/hr).
198
204
 
199
205
  ### Prerequisites
200
206
 
@@ -226,7 +232,7 @@ All configuration is validated at startup via Zod schemas in `src/config/server-
226
232
 
227
233
  | Variable | Description | Default |
228
234
  |:---|:---|:---|
229
- | `CONGRESS_API_KEY` | **Required.** API key from [api.data.gov](https://api.data.gov/signup/) | |
235
+ | `CONGRESS_API_KEY` | Optional. API key from [api.data.gov](https://api.data.gov/signup/). Omit to use `DEMO_KEY` (30 req/hr); own key: 1,000 req/hr. | `DEMO_KEY` |
230
236
  | `CONGRESS_API_BASE_URL` | Congress.gov API base URL | `https://api.congress.gov/v3` |
231
237
  | `MCP_TRANSPORT_TYPE` | Transport: `stdio` or `http` | `stdio` |
232
238
  | `MCP_HTTP_PORT` | HTTP server port | `3010` |
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { z } from '@cyanheads/mcp-ts-core';
6
6
  declare const ServerConfigSchema: z.ZodObject<{
7
- apiKey: z.ZodString;
7
+ apiKey: z.ZodDefault<z.ZodString>;
8
8
  baseUrl: z.ZodDefault<z.ZodString>;
9
9
  }, z.core.$strip>;
10
10
  export type ServerConfig = z.infer<typeof ServerConfigSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"server-config.d.ts","sourceRoot":"","sources":["../../src/config/server-config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAG3C,QAAA,MAAM,kBAAkB;;;iBAOtB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAI9D,wBAAgB,eAAe,IAAI,YAAY,CAM9C"}
1
+ {"version":3,"file":"server-config.d.ts","sourceRoot":"","sources":["../../src/config/server-config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAG3C,QAAA,MAAM,kBAAkB;;;iBAYtB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAI9D,wBAAgB,eAAe,IAAI,YAAY,CAM9C"}
@@ -5,7 +5,10 @@
5
5
  import { z } from '@cyanheads/mcp-ts-core';
6
6
  import { parseEnvConfig } from '@cyanheads/mcp-ts-core/config';
7
7
  const ServerConfigSchema = z.object({
8
- apiKey: z.string().min(1).describe('Congress.gov API key from api.data.gov'),
8
+ apiKey: z
9
+ .string()
10
+ .default('DEMO_KEY')
11
+ .describe('Congress.gov API key from api.data.gov — optional (DEMO_KEY: 30 req/hr, own key: 1000 req/hr)'),
9
12
  baseUrl: z
10
13
  .string()
11
14
  .url()
@@ -1 +1 @@
1
- {"version":3,"file":"server-config.js","sourceRoot":"","sources":["../../src/config/server-config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IAC5E,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,EAAE;SACL,OAAO,CAAC,6BAA6B,CAAC;SACtC,QAAQ,CAAC,2BAA2B,CAAC;CACzC,CAAC,CAAC;AAIH,IAAI,OAAiC,CAAC;AAEtC,MAAM,UAAU,eAAe;IAC7B,OAAO,KAAK,cAAc,CAAC,kBAAkB,EAAE;QAC7C,MAAM,EAAE,kBAAkB;QAC1B,OAAO,EAAE,uBAAuB;KACjC,CAAC,CAAC;IACH,OAAO,OAAO,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"server-config.js","sourceRoot":"","sources":["../../src/config/server-config.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,MAAM,EAAE,CAAC;SACN,MAAM,EAAE;SACR,OAAO,CAAC,UAAU,CAAC;SACnB,QAAQ,CACP,+FAA+F,CAChG;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,EAAE;SACL,OAAO,CAAC,6BAA6B,CAAC;SACtC,QAAQ,CAAC,2BAA2B,CAAC;CACzC,CAAC,CAAC;AAIH,IAAI,OAAiC,CAAC;AAEtC,MAAM,UAAU,eAAe;IAC7B,OAAO,KAAK,cAAc,CAAC,kBAAkB,EAAE;QAC7C,MAAM,EAAE,kBAAkB;QAC1B,OAAO,EAAE,uBAAuB;KACjC,CAAC,CAAC;IACH,OAAO,OAAO,CAAC;AACjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/congressgov-mcp-server",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "description": "Access U.S. congressional data - bills, votes, members, committees - through MCP. STDIO & Streamable HTTP.",
5
5
  "mcpName": "io.github.cyanheads/congressgov-mcp-server",
6
6
  "type": "module",
@@ -15,9 +15,13 @@
15
15
  "rebuild": "bun scripts/clean.ts && bun scripts/build.ts",
16
16
  "clean": "bun scripts/clean.ts",
17
17
  "devcheck": "bun scripts/devcheck.ts",
18
+ "audit:refresh": "rm -f bun.lock && bun install && bun audit",
18
19
  "tree": "bun scripts/tree.ts",
20
+ "list-skills": "bun scripts/list-skills.ts",
19
21
  "format": "biome check --write --unsafe .",
20
22
  "lint:mcp": "bun scripts/lint-mcp.ts",
23
+ "lint:packaging": "bun scripts/lint-packaging.ts",
24
+ "bundle": "bun run build && npx -y @anthropic-ai/mcpb pack . dist/congressgov-mcp-server.mcpb",
21
25
  "changelog:build": "bun scripts/build-changelog.ts",
22
26
  "changelog:check": "bun scripts/build-changelog.ts --check",
23
27
  "test": "vitest run",
@@ -68,8 +72,9 @@
68
72
  "access": "public"
69
73
  },
70
74
  "dependencies": {
71
- "@cyanheads/mcp-ts-core": "^0.9.1",
72
- "pino-pretty": "^13.1.3"
75
+ "@cyanheads/mcp-ts-core": "^0.9.6",
76
+ "pino-pretty": "^13.1.3",
77
+ "zod": "^4.4.3"
73
78
  },
74
79
  "devDependencies": {
75
80
  "@biomejs/biome": "^2.4.15",
package/server.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/cyanheads/congressgov-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.3.20",
9
+ "version": "0.3.21",
10
10
  "remotes": [
11
11
  {
12
12
  "type": "streamable-http",
@@ -19,7 +19,7 @@
19
19
  "registryBaseUrl": "https://registry.npmjs.org",
20
20
  "identifier": "@cyanheads/congressgov-mcp-server",
21
21
  "runtimeHint": "bun",
22
- "version": "0.3.20",
22
+ "version": "0.3.21",
23
23
  "packageArguments": [
24
24
  {
25
25
  "type": "positional",
@@ -33,9 +33,9 @@
33
33
  "environmentVariables": [
34
34
  {
35
35
  "name": "CONGRESS_API_KEY",
36
- "description": "API key from api.data.gov for the Congress.gov API.",
36
+ "description": "API key from api.data.gov \u2014 optional (falls back to DEMO_KEY: 30 req/hr). Own key: 1000 req/hr. Free signup at api.data.gov.",
37
37
  "format": "string",
38
- "isRequired": true
38
+ "isRequired": false
39
39
  },
40
40
  {
41
41
  "name": "MCP_LOG_LEVEL",
@@ -54,7 +54,7 @@
54
54
  "registryBaseUrl": "https://registry.npmjs.org",
55
55
  "identifier": "@cyanheads/congressgov-mcp-server",
56
56
  "runtimeHint": "bun",
57
- "version": "0.3.20",
57
+ "version": "0.3.21",
58
58
  "packageArguments": [
59
59
  {
60
60
  "type": "positional",
@@ -68,9 +68,9 @@
68
68
  "environmentVariables": [
69
69
  {
70
70
  "name": "CONGRESS_API_KEY",
71
- "description": "API key from api.data.gov for the Congress.gov API.",
71
+ "description": "API key from api.data.gov \u2014 optional (falls back to DEMO_KEY: 30 req/hr). Own key: 1000 req/hr. Free signup at api.data.gov.",
72
72
  "format": "string",
73
- "isRequired": true
73
+ "isRequired": false
74
74
  },
75
75
  {
76
76
  "name": "MCP_HTTP_HOST",