samgovapi.io
io.github.samgovapi/samgovapi
SAM.gov entities, UEI and CAGE lookups, opportunities, exclusions and USAspending awards.
- Website
- samgovapi.io/
- Server address
https://samgovapi.io/api/mcp(streamable-http)- Version
- 0.1.0
- Author
- samgovapi (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 16, 2026)
How to install it
The server optionally accepts a header: Authorization. Replace YOUR_KEY with your key.
Variables to fill in: SAMGOVAPI_API_KEY.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http samgovapi https://samgovapi.io/api/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://samgovapi.io/api/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://samgovapi.io/api/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"samgovapi": {
"url": "https://samgovapi.io/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"samgovapi": {
"type": "http",
"url": "https://samgovapi.io/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add samgovapi -e SAMGOVAPI_API_KEY=YOUR_SAMGOVAPI_API_KEY -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"samgovapi": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SAMGOVAPI_API_KEY": "YOUR_SAMGOVAPI_API_KEY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"samgovapi": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SAMGOVAPI_API_KEY": "YOUR_SAMGOVAPI_API_KEY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"samgovapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SAMGOVAPI_API_KEY": "YOUR_SAMGOVAPI_API_KEY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:16 (test run by L’Atlas)
- Response time
- 680 ms (whole test)
- Tools found
- 30
- Announced name
- samgovapi 1.0.0
- Protocol
- MCP 2025-06-18
- Next test
- Dec 5, 2026
See the tools (30)
list_alerts
List Alerts. A saved watch on SAM.gov data, such as a registration expiry for a UEI or new opportunities matching your NAICS and PSC codes.get_alerts
Read one of your Alerts by id.create_alerts
Create one of your Alerts.update_alerts
Change fields on one of your Alerts.delete_alerts
Delete one of your Alerts. Cannot be undone, so confirm with your user first.send_feedback
Tell the team what is missing or wrong. The team reads every one. Costs no quota.get_onboarding_questions
The questions that finish setting up your user's account, with their ids and options. With a key, also the answers already given. Costs no quota.answer_onboarding
Answer the onboarding questions for your user, from what you know about their project. Ask them what you do not know; never guess. Answering again replaces the answers; the same answers twice change nothing. Your user sees them on their dascancel_subscription
Cancel your user's paid plan at the end of the current billing period. Only call this when your user asked to cancel. A reason is required: ask your user why they are cancelling and pass their answer; never pick a reason for them. Reasons:keep_subscription
Undo a scheduled cancellation, so your user's plan renews as normal. Only when your user asks. Costs no quota.get_subscription
Your user's plan and subscription status, including a scheduled cancellation, and the reasons cancel_subscription accepts. Costs no quota.registration_status
Start here for a company: is this UEI or CAGE registered in SAM.gov, its status, expiration date, days to expiry, renewal window and exclusion flag. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a recoget_entity
The full SAM.gov registration of one entity by UEI or CAGE: names, status, dates, address city and state, NAICS, PSC, business types, SBA certifications. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and asearch_entities
Find registered entities by name, UEI, CAGE, NAICS, PSC, state, set-aside or business type, status, or registrations expiring within N days. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url tsearch_opportunities
Find contract opportunities (bids) by keyword, NAICS, PSC, set-aside, agency, state, notice type, posted dates or deadline. To have new and changed notices pushed instead of polling, any key can open the WebSocket change stream at wss://strget_opportunity
One contract opportunity with its full description. Contracting-officer contacts as printed in the notice are included on Pro and Scale. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to thexclusion_check
Is this UEI, CAGE code or exact name actively excluded from federal awards? Answers from the dated exclusions extract. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.gov or USAspsearch_awards
Find contract awards by recipient UEI, agency, NAICS, PSC, vehicle, fiscal year, or awards ending within N days. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.gov or USAspendingrecompetes
Awards whose potential end date falls in the next months, the contracts most likely to be recompeted, by NAICS and agency. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.gov or Unaics_lookup
One NAICS code (title, description, size standard), or a search of codes by words or prefix. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.gov or USAspending source.size_standard_check
The SBA size standard for a NAICS code, and whether a business with these average annual receipts or employees counts as small. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.govlabor_rates
GSA schedule ceiling labor rates for a category, or with stats=true the count, quartiles and range. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url to the SAM.gov or USAspending source.teaming_partners
Active, unexcluded firms in a NAICS code for finding teaming partners; with small=true or a certification (8a, hubzone, wosb, edwosb, sdvosb), small businesses ranked by award volume. Pro and Scale. Costs credits like the REST call. Every aexpiring_registrations
Firms whose SAM.gov registration expires within the next N days (default 30), soonest first, by NAICS and state. Individuals are left out. Costs credits like the REST call. Every answer has meta.as_of (the dataset date) and a record_url toget_sample_data
Real rows from any dataset with no key: registration status, entities, opportunities, awards, exclusions, recompetes, NAICS, labor rates or expiring registrations, up to 5 rows a call, same fields as the API. Use it to try the data before ysearch
Search the public samgovapi.io lookup pages and docs: companies by name, UEI or CAGE, NAICS codes, open opportunities, guides and data fields. Needs no key. Then call fetch with a result id.fetch
The full text of one search result as markdown: a company's registration and awards, an opportunity, a NAICS code, a doc or a field. Needs no key. Quote the data-as-of date when you state a fact.start_signup
Get an API key for your user without them pasting one: send what they want and why. With their email you get api_key back at once, a starter key with 250 credits. Show them approval_url and the code; when they approve in the browser (creatifinish_signup
Collect the API key after your user approves: send the device_code from start_signup. Returns status pending until they approve; the key is returned once.give_feedback
Report wrong or missing data, a missing feature, a bug or a docs gap, or rate the last result 1 to 5. Kinds: wrong_data, missing_data, missing_feature, bug, docs, praise, other. No key needed and no credits; the team reads every one.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.samgovapi/samgovapi)HTML
<a href="https://lagora.dev/en/entry/io.github.samgovapi/samgovapi"><img src="https://lagora.dev/badge/io.github.samgovapi/samgovapi.svg?lang=en" alt="io.github.samgovapi/samgovapi on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.