Skip to main content

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"

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.

Metadata

Release files for abelfeed-bidnetdirect 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abelfeed-bidnetdirect 0.1.1
File Size Uploaded Provenance Actions
abelfeed_bidnetdirect-0.1.1.tar.gz 6.1 kB With provenance Details for abelfeed_bidnetdirect-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abelfeed-bidnetdirect 0.1.1
File Interpreter ABI Platform Actions
abelfeed_bidnetdirect-0.1.1-py3-none-any.whl Python 3 none any Details for abelfeed_bidnetdirect-0.1.1-py3-none-any.whl

Total release size: 12.3 kB

Release files / abelfeed_bidnetdirect-0.1.1.tar.gz

Download URL abelfeed_bidnetdirect-0.1.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
389ffae7e08f414d1cd8271e174366e7c92b1050adb4ecca258b3ce371a80e4a
BLAKE2b-256 checksum
How to use checksums
f38506acfd92c97d5c5d64eb3e6e454508e199e29a51c35282ee8f731736ae4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / abelfeed_bidnetdirect-0.1.1-py3-none-any.whl

Download URL abelfeed_bidnetdirect-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4947e7d360e6aa2107e996c1661f8d2cd40e2f463f26caa7d21c79c6ba554ffc
BLAKE2b-256 checksum
How to use checksums
e79b3f87e75c2ddbf802783ea1161d1840af43748607899550127b9b4e184840
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for abelfeed-bidnetdirect 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for abelfeed_bidnetdirect-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page