Skip to main content
Glama
bidnetdirect-solicitations

bidnetdirect-solicitations

BidNet Direct Solicitations API (Python SDK, CLI & MCP)

CI PyPI Python License: MIT

Open-source Python client, CLI (bidnetdirect-fetch), and Model Context Protocol (MCP) manifest for querying Open and Closed US government solicitations (Federal, State & Local, Member Agency) from BidNet Direct.

Installation

pip install abelfeed-bidnetdirect
export APIFY_TOKEN="your_apify_token"

Related MCP server: cerebro-mcp

Python Usage

from abelfeed_bidnetdirect import BidNetDirectClient

client = BidNetDirectClient()
bids = client.fetch(
    status="open",
    location="California",
    category="Construction",
    publish_date="WEEK_1",
    max_items=50,
    include_details=True,
    exclude_keywords=["janitorial", "landscaping"],
)

for bid in bids[:5]:
    print(bid["solicitationId"], bid["closingAtIso"], bid["title"])

CLI Usage

# Latest 25 open Federal bids mentioning "cybersecurity"
bidnetdirect-fetch --scope federal --keywords cybersecurity --max-items 25 -o bids.json

# Closed Member Agency bids with public issuing organization and source URLs
bidnetdirect-fetch --status closed --scope member_agency --max-items 20

MCP Server (Claude Desktop / Cursor / VS Code)

Registered on the Official MCP Registry as io.github.abelfeed/bidnetdirect-solicitations (see server.json):

{
  "mcpServers": {
    "abelfeed-bidnetdirect": {
      "url": "https://mcp.apify.com/?tools=abelfeed/bidnetdirect-solicitations-fast-api",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}

Development & Testing

pip install -e . pytest
pytest -v

Hosted Backend & Security

This package is a thin MIT-licensed wrapper around the hosted Apify Actor abelfeed/bidnetdirect-solicitations-fast-api. See SECURITY.md for vulnerability disclosure and OIDC Trusted Publishing details.

License

MIT - see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      A
      maintenance
      Enables searching and filtering federal contract opportunities by keyword, agency, set-aside, NAICS, and more from any MCP client. Analyzes solicitations for small-business fit and risk, and provides reference lookups for NAICS codes, set-asides, and federal thresholds.
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables searching and analyzing government tenders, contract awards, and pre-tender pipelines from 21 official sources, with tools for tender search, award intelligence, and detailed notice retrieval.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to search U.S. federal contract opportunities and retrieve detailed notice or award information through read-only tools with typed filters and cost-capped Apify-backed calls.
      2
      37 PyPI
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to search U.S. government contracts, grants, jobs, past awards, company histories, and teaming partners, and to assess opportunities for fit and bid decisions.
      9
      203 PyPI
      MIT