Server data from the Official MCP Registry
SAM.gov data by API key: entities, exclusions, opportunities, awards, hierarchy, subawards.
About
SAM.gov data by API key: entities, exclusions, opportunities, awards, hierarchy, subawards.
Security Report
fedvendor is a read-only client for public SAM.gov APIs that requires a SAM_API_KEY, reads it from environment variables, and sends it as a query parameter over HTTPS to the official api.sam.gov base. The code shown has no obvious exfiltration, shell execution, or hardcoded secrets; the main observations are that the API key travels in the URL query string (which may be logged by proxies) and that the source was truncated before the FFATA subaward and PSC functions could be reviewed. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
5 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-cloudcorprecords-fedvendor": {
"args": [
"-y",
"@reneturcios/fedvendor"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
fedvendor
SAM.gov is where the US federal vendor world is registered, excluded, solicited and awarded — and it is spread across half a dozen public APIs with different habits. fedvendor wraps them in one client: twenty tools covering entity registrations, debarment records, live contract opportunities, award history, the federal org chart, FFATA subaward reports and product/service codes, all behind a single SAM.gov API key.
Most tools hand back the upstream JSON exactly as SAM.gov
sent it. The three awards tools are the exception: they
return a normalized {"awardSummary": [...], "totalRecords": int} shape, so modifications, search hits
and deleted records all read the same way.
Configuration
SAM_API_KEY(required for the nineteen data tools) — your SAM.gov public API key, sent on every request as theapi_keyquery parameter. When it is not set, every data tool fails withSAM_API_KEY is not setand no request is made. SAM.gov keys expire every 90 days; a 401 or 403 reply says so and points at the regeneration page.get_access_statusworks without a key — reporting that state is its whole job.SAM_API_BASE_URL(optional) — API base URL. Defaults tohttps://api.sam.gov.
Country codes follow ISO 3166-1 alpha-3, as the underlying APIs expect.
Tools
Entities (Entity Management v3):
lookup_entity_by_uei— one entity byuei.include_sectionschooses the response sections and defaults toentityRegistration,coreData.lookup_entity_by_cage— one entity bycage, with the same section handling.search_entities— flexible search bylegal_business_name,primary_naics,state(physical-address state),business_type_code,sba_business_type_codeandregistration_status, withpageandsize. The API's page size is capped at 10 and the cap is enforced client-side: asizeoutside 1–10 fails withsize must be an integer between 1 and 10before any request.get_entity_reps_and_certs— FAR/DFARS representations and certifications for auei. These sections are never included by anAllsection request, so they have their own tool;entityRegistrationis always included alongside.get_entity_integrity_info— FAPIIS proceedings (integrity information) for auei, likewise requested explicitly withentityRegistration.
Exclusions (v4):
check_exclusion_by_uei— is thisueidebarred?search_exclusions— search byname,classificationandagency, paginated withpageandsize(this API paginates bysize, notlimit).
Contract opportunities (v2):
search_opportunities— search bykeyword(title),naics_code,psc_code,notice_type,stateandzip, with posted-date (posted_from/posted_to) and response-deadline (response_from/response_to) ranges in MM/dd/yyyy, pluslimitandoffset. Theagency_keywordfilter is applied locally after the response arrives — the API silently ignores its department parameters — by keeping only results whosefullParentPathNamecontains the keyword, case-insensitively.get_opportunity_description— the HTML description for anotice_id.
Contract awards (v1) — all three return the normalized awards shape described above:
search_contract_awards— search byagency_id,naics_code,fiscal_yearandpiid, with an award date range (award_date_from+award_date_to, MM/dd/yyyy) sent as one bracket-range parameter. Pagination islimit(1–100) andoffset.lookup_award_by_piid— every modification for onepiid.search_deleted_awards— deleted award records, for audit trails.
Federal Hierarchy (v1):
search_federal_organizations— search the org chart byfh_org_id,name,org_type(shorthand values such asDEPARTMENTandAGENCYare accepted),status,agency_codeandcgac. The response keeps the upstream lowercasetotalrecords/orglistkeys.get_organization_hierarchy— the children of one organization, byfh_org_id.
FFATA subawards — dates are ISO yyyy-MM-dd, pagination is
page_number / page_size:
search_acquisition_subawards— subcontract reports, filtered bypiid,referenced_idv_piid,agency_idandstatus.search_assistance_subawards— grant subaward reports, filtered byfain,prime_award_key,agency_codeandstatus.
PSC codes:
lookup_psc_code— the full record for onepsc_code.search_psc_free_text— discover codes by free-textquery.
Composite:
vendor_responsibility_check— a one-shot FAR 9.104-1 responsibility check for auei: the entity lookup and the exclusion lookup in a single call, returned as{"uei", "entity", "exclusions", "flags"}. The flags are composed locally —entity_not_found,registration_inactive,excluded, orclearwhen none of the others apply.get_access_status— credential readiness: whetherSAM_API_KEYis configured, the 90-day key expiry, and the daily request limits by account type (10 for non-federal users without a SAM.gov role, 1000 with a role or a federal personal account, 10000 for federal system accounts). Makes no request.
Validation fails before any request with a specific
message: <arg> must be a non-empty string for required
strings, the size/limit range messages above,
<arg> must use MM/dd/yyyy for opportunity and award
dates, and <arg> must use yyyy-MM-dd for subaward
dates. Other upstream non-2xx replies fail with
sam.gov error: HTTP <status> and an unreachable API
with sam.gov unreachable.
Labelled reconstructions
The tool surface, the base URLs and the documented
parameter names come from the SAM.gov API documentation
and the original tool's published description. A few
details are reconstructions, labelled as such:
get_access_status's name follows the vendor family's
published pattern for credential checks; the exclusions
endpoint's ueiSAM parameter, the Federal Hierarchy
parameter names, the awards bracket-range parameter
name, the PSC endpoint's searchby=keyword value, the
awards wire names for agency_id / naics_code /
fiscal_year, and the composite tool's flag strings are
renderings of the documented behaviour rather than
verbatim-pinned names. MCP argument names are snake_case
renderings of the documented wire names throughout.
CLI
Each tool is a subcommand taking one JSON argument string:
export SAM_API_KEY="<your key>"
npx @reneturcios/fedvendor lookup_entity_by_uei '{"uei":"ABC123XYZ"}'
npx @reneturcios/fedvendor lookup_entity_by_cage '{"cage":"1A2B3"}'
npx @reneturcios/fedvendor search_entities '{"legal_business_name":"Acme","size":5}'
npx @reneturcios/fedvendor get_entity_reps_and_certs '{"uei":"ABC123XYZ"}'
npx @reneturcios/fedvendor check_exclusion_by_uei '{"uei":"ABC123XYZ"}'
npx @reneturcios/fedvendor search_opportunities '{"keyword":"software","agency_keyword":"defense"}'
npx @reneturcios/fedvendor search_contract_awards '{"fiscal_year":"2026","limit":10}'
npx @reneturcios/fedvendor lookup_award_by_piid '{"piid":"W91ZLK24P0001"}'
npx @reneturcios/fedvendor search_federal_organizations '{"org_type":"DEPARTMENT"}'
npx @reneturcios/fedvendor lookup_psc_code '{"psc_code":"D399"}'
npx @reneturcios/fedvendor vendor_responsibility_check '{"uei":"ABC123XYZ"}'
npx @reneturcios/fedvendor get_access_status '{}'
npx @reneturcios/fedvendor --version
Output is the tool's result text (the upstream JSON on
success). Exit codes: 0 on success, 1 on a runtime
error (including a validation, missing-key or upstream
failure), 2 on a usage error.
MCP server
npx -y @reneturcios/fedvendor mcp
MCP client config (provide the key through the client's environment):
{
"mcpServers": {
"fedvendor": {
"command": "npx",
"args": ["-y", "@reneturcios/fedvendor", "mcp"],
"env": {
"SAM_API_KEY": "<your key>"
}
}
}
}
Docker
docker run -i -e SAM_API_KEY="<your key>" ghcr.io/cloudcorprecords/fedvendor
docker run --rm -e SAM_API_KEY="<your key>" ghcr.io/cloudcorprecords/fedvendor get_access_status '{}'
Development
npm install
npm run build # tsc -> dist/
npm test # tsx --test test/*.test.ts (fake fetch only, no network)
npm run dev # run the CLI from source
License
MIT — Copyright (c) 2026 Rene Turcios
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
