gov.procurement

Docs

gov.procurement is the hosted @profullstack/gov-contracts (v0.1.0). It reads public bid sources, never writes to them, and never submits, registers, signs, prices or emails anyone.

Pipeline

  1. Ingest every 6 h: SAM.gov opportunities (federal), County of Los Angeles open solicitations; forwarded bid digests on demand. Where to look comes from Datamart's contracts registry (contracts_sources).
  2. Read: the full notice, NAICS, set-aside, contacts, and the text of up to 3 public PDF attachments.
  3. Fit: a keyword pre-filter, then a model (c0mpute first, OpenAI/Claude fallback) scores 0-100 against our capabilities and lists requirements, forms and registrations.
  4. Draft (fit 60+): cover letter, technical approach, compliance matrix, forms checklist, pricing structure with every number blank.
  5. Queue: register on the portal, set the price, sign/certify forms, review and submit by hand. 40-59 asks a person "worth a bid?".

HTTP API

GET  /api/v1/solicitations?q=&level=&source=&limit=&order=fit|due|new
GET  /api/v1/solicitations/:id
GET  /api/v1/sources
GET  /api/v1/stats
# operator (Authorization: Bearer <OPERATOR_API_KEY> or a signed-in operator)
GET  /api/v1/interventions?status=open|done|dismissed|all
POST /api/v1/interventions/:id        {"status":"done"|"dismissed"|"open","note":"..."}
GET  /api/v1/proposals/:id            (?format=md)
POST /api/v1/solicitations/:id/draft
POST /api/v1/ingest/digest            {"text":"...forwarded digest body..."}
POST /api/v1/run/:job                 ingest-sam | ingest-lacounty | work

MCP

Streamable HTTP at https://gov.procurement.pit.world/mcp. Operator tools need the Bearer key on the connection.

search_solicitationsOpen solicitations by keyword, level, source; best fit first.
get_solicitationOne solicitation with its documents (and fit, for operators).
list_sourcesDatamart contract sources joined with what gov-contracts reads.
statsCounts by status, source and level; last runs.
list_interventionsOperator: the human queue.
get_proposalOperator: a proposal draft as markdown.
resolve_interventionOperator: mark a card done or dismissed (records what a PERSON did).
draft_proposalOperator: queue a (re)draft for a solicitation.
ingest_digestOperator: add the solicitations listed in a forwarded bid digest.

CLI and TUI

npx @profullstack/gov-contracts search software --level county
gov-contracts show sam:<id>
gov-contracts queue                 # needs GOV_CONTRACTS_KEY
gov-contracts done <card-id> "confirmation 12345"
gov-contracts digest < digest.txt
gov-contracts tui                   # work the queue in a terminal
gov-contracts mcp                   # stdio MCP bridge to https://gov.procurement.pit.world/mcp

Limits and payment

Free: 60 requests a minute per caller. Past that, a $1 day pass in USDC over CoinPay or x402. Operator calls are not metered.