@forgemeshlabs/gov-transparency-mcp 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/index.js +60 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # gov-transparency-mcp
2
2
 
3
+ [![M8ven Score](https://m8ven.ai/badge/mcp/forgemeshlabs-gov-transparency-mcp-s0hroh)](https://m8ven.ai/mcp/forgemeshlabs-gov-transparency-mcp-s0hroh)
4
+
3
5
  **Watch the watchers.** Congressional stock trades, federal contract awards, campaign finance, lobbying filings, and new regulations — nine MCP tools over official US government data, paid per call with [x402](https://x402.org) USDC on Base. No account, no API key, no subscription.
4
6
 
5
7
  Commercial trackers sell congressional-trading data behind monthly subscriptions. Here it is per-call, in structured JSON, for agents: $0.005–$0.02 a query.
package/index.js CHANGED
@@ -143,6 +143,12 @@ async function getEndpointSpec(args) {
143
143
  const TOOLS = [
144
144
  {
145
145
  name: "get_congress_trades",
146
+ annotations: {
147
+ readOnlyHint: true,
148
+ destructiveHint: false,
149
+ idempotentHint: false,
150
+ openWorldHint: true,
151
+ },
146
152
  description:
147
153
  "PAID ($0.02) — Congressional stock trades parsed from official STOCK Act disclosures: US House member trades with ticker, asset, buy/sell, transaction date, and disclosed amount range. Filter by member name, ticker, trade type (purchase/sale/sale_partial/exchange), state, or date window. Disclosures lag trades by up to 45 days by law. Requires WALLET_PRIVATE_KEY.",
148
154
  inputSchema: {
@@ -160,6 +166,12 @@ const TOOLS = [
160
166
  },
161
167
  {
162
168
  name: "get_trade_filings",
169
+ annotations: {
170
+ readOnlyHint: true,
171
+ destructiveHint: false,
172
+ idempotentHint: false,
173
+ openWorldHint: true,
174
+ },
163
175
  description:
164
176
  "PAID ($0.01) — US House financial-disclosure filing index: who filed periodic transaction reports, annual reports, amendments, and more — filer, district, type, date, and official PDF link. Poll filing_type 'P' to catch fresh trade disclosures early. Requires WALLET_PRIVATE_KEY.",
165
177
  inputSchema: {
@@ -175,6 +187,12 @@ const TOOLS = [
175
187
  },
176
188
  {
177
189
  name: "search_federal_contracts",
190
+ annotations: {
191
+ readOnlyHint: true,
192
+ destructiveHint: false,
193
+ idempotentHint: false,
194
+ openWorldHint: true,
195
+ },
178
196
  description:
179
197
  "PAID ($0.01) — Federal contract awards won by any company: award id, dollar amount, awarding agency, dates, description, and record link, sorted largest first. Optional agency and date-window filters. Requires WALLET_PRIVATE_KEY.",
180
198
  inputSchema: {
@@ -191,6 +209,12 @@ const TOOLS = [
191
209
  },
192
210
  {
193
211
  name: "get_contractor_profile",
212
+ annotations: {
213
+ readOnlyHint: true,
214
+ destructiveHint: false,
215
+ idempotentHint: false,
216
+ openWorldHint: true,
217
+ },
194
218
  description:
195
219
  "PAID ($0.01) — Resolve a company name to its official federal recipient records: legal name, UEI, parent/child level, recent federal award totals, profile link. Use before search_federal_contracts to disambiguate entities. Requires WALLET_PRIVATE_KEY.",
196
220
  inputSchema: {
@@ -204,6 +228,12 @@ const TOOLS = [
204
228
  },
205
229
  {
206
230
  name: "get_candidate_money",
231
+ annotations: {
232
+ readOnlyHint: true,
233
+ destructiveHint: false,
234
+ idempotentHint: false,
235
+ openWorldHint: true,
236
+ },
207
237
  description:
208
238
  "PAID ($0.01) — Campaign finance totals for a US federal candidate: receipts, spending, cash on hand, debts, individual vs PAC split, per recent cycle. Pass a name (fuzzy) or exact candidate_id; optional office preference. Requires WALLET_PRIVATE_KEY.",
209
239
  inputSchema: {
@@ -217,6 +247,12 @@ const TOOLS = [
217
247
  },
218
248
  {
219
249
  name: "find_candidate",
250
+ annotations: {
251
+ readOnlyHint: true,
252
+ destructiveHint: false,
253
+ idempotentHint: false,
254
+ openWorldHint: true,
255
+ },
220
256
  description:
221
257
  "PAID ($0.005) — Search US federal candidates by name: candidate ids, party, office, state, district, and principal campaign committees. The cheap resolver before get_candidate_money. Requires WALLET_PRIVATE_KEY.",
222
258
  inputSchema: {
@@ -229,6 +265,12 @@ const TOOLS = [
229
265
  },
230
266
  {
231
267
  name: "search_lobbying",
268
+ annotations: {
269
+ readOnlyHint: true,
270
+ destructiveHint: false,
271
+ idempotentHint: false,
272
+ openWorldHint: true,
273
+ },
232
274
  description:
233
275
  "PAID ($0.01) — US federal lobbying filings by client company or lobbying firm: reported income, issue areas, specific-issue text, and named lobbyists per filing. Optional year filter. Requires WALLET_PRIVATE_KEY.",
234
276
  inputSchema: {
@@ -242,6 +284,12 @@ const TOOLS = [
242
284
  },
243
285
  {
244
286
  name: "watch_federal_register",
287
+ annotations: {
288
+ readOnlyHint: true,
289
+ destructiveHint: false,
290
+ idempotentHint: false,
291
+ openWorldHint: true,
292
+ },
245
293
  description:
246
294
  "PAID ($0.005) — Newest US regulations and official notices matching a topic: proposed and final rules, executive orders, and notices with agency, date, abstract, and links, newest first. Empty query returns the latest government-wide. Requires WALLET_PRIVATE_KEY.",
247
295
  inputSchema: {
@@ -253,6 +301,12 @@ const TOOLS = [
253
301
  },
254
302
  {
255
303
  name: "lookup_bill",
304
+ annotations: {
305
+ readOnlyHint: true,
306
+ destructiveHint: false,
307
+ idempotentHint: false,
308
+ openWorldHint: true,
309
+ },
256
310
  description:
257
311
  "PAID ($0.005) — Official status of a bill in the US Congress: title, sponsor, latest action, policy area, committees, and counts of actions/cosponsors/amendments. Address by congress number, type (hr, s, hjres, sjres...), and bill number. Requires WALLET_PRIVATE_KEY.",
258
312
  inputSchema: {
@@ -266,6 +320,12 @@ const TOOLS = [
266
320
  },
267
321
  {
268
322
  name: "get_endpoint_spec",
323
+ annotations: {
324
+ readOnlyHint: true,
325
+ destructiveHint: false,
326
+ idempotentHint: true,
327
+ openWorldHint: true,
328
+ },
269
329
  description:
270
330
  "FREE — no wallet needed. Live call spec for the gov-transparency routes: price, input JSON schema, and worked request/response examples from the service's OpenAPI doc. Call with no arguments to list all nine routes, or pass a path for full detail.",
271
331
  inputSchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgemeshlabs/gov-transparency-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Watch the watchers: congressional stock trades, federal contracts, campaign finance, lobbying, and new regulations as nine MCP tools. All official US government data, paid per call with x402 USDC on Base — no account or API key.",
5
5
  "main": "index.js",
6
6
  "bin": {