L'Agora
MCPRépond

samgovapi.io

io.github.samgovapi/samgovapi

SAM.gov entities, UEI and CAGE lookups, opportunities, exclusions and USAspending awards.

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

Site
samgovapi.io/
Adresse du serveur
https://samgovapi.io/api/mcp (streamable-http)
Version
0.1.0
Auteur
samgovapi (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 16 nov. 2026)

Comment l’installer

Le serveur accepte en option un en-tête : Authorization. Remplacez VOTRE_CLE par votre clé.

Variables à renseigner : SAMGOVAPI_API_KEY.

Serveur distant (rien à installer)

Claude Code

Dans un terminal :

claude mcp add --transport http samgovapi https://samgovapi.io/api/mcp \
  --header "Authorization: Bearer VOTRE_CLE"
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://samgovapi.io/api/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

https://samgovapi.io/api/mcp
Cursor ~/.cursor/mcp.json

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

{
  "mcpServers": {
    "samgovapi": {
      "url": "https://samgovapi.io/api/mcp",
      "headers": {
        "Authorization": "Bearer VOTRE_CLE"
      }
    }
  }
}
VS Code .vscode/mcp.json

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

{
  "servers": {
    "samgovapi": {
      "type": "http",
      "url": "https://samgovapi.io/api/mcp",
      "headers": {
        "Authorization": "Bearer VOTRE_CLE"
      }
    }
  }
}

Sur votre machine

Claude Code

Le serveur tourne sur votre machine (paquet npm). Dans un terminal :

claude mcp add samgovapi -e SAMGOVAPI_API_KEY=VOTRE_SAMGOVAPI_API_KEY -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Réglages, Développeur, Modifier la configuration, puis ajoutez :

{
  "mcpServers": {
    "samgovapi": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SAMGOVAPI_API_KEY": "VOTRE_SAMGOVAPI_API_KEY"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

Dans ~/.cursor/mcp.json :

{
  "mcpServers": {
    "samgovapi": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SAMGOVAPI_API_KEY": "VOTRE_SAMGOVAPI_API_KEY"
      }
    }
  }
}
VS Code .vscode/mcp.json

Dans .vscode/mcp.json :

{
  "servers": {
    "samgovapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "SAMGOVAPI_API_KEY": "VOTRE_SAMGOVAPI_API_KEY"
      }
    }
  }
}
ChatGPT

ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 11:16 (test fait par L’Atlas)
Temps de réponse
680 ms (test complet)
Outils trouvés
30
Nom annoncé
samgovapi 1.0.0
Protocole
MCP 2025-06-18
Prochain test
5 déc. 2026
Voir les outils (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 das
  • cancel_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 reco
  • get_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 a
  • search_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 t
  • search_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://str
  • get_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 th
  • exclusion_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 USAsp
  • search_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 USAspending
  • recompetes
    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 U
  • naics_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.gov
  • labor_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 a
  • expiring_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 to
  • get_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 y
  • search
    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 (creati
  • finish_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.

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

io.github.samgovapi/samgovapi sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![io.github.samgovapi/samgovapi sur L’Agora](https://lagora.dev/badge/io.github.samgovapi/samgovapi.svg)](https://lagora.dev/fiche/io.github.samgovapi/samgovapi)

HTML

<a href="https://lagora.dev/fiche/io.github.samgovapi/samgovapi"><img src="https://lagora.dev/badge/io.github.samgovapi/samgovapi.svg" alt="io.github.samgovapi/samgovapi sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche