AI demo · National Stock Number lists

Look up National Stock Number lists with Gemini and Microsoft Copilot

Gemini and Copilot can use NSN Lookup through its MCP server (developer tools) or its REST API. Where an assistant cannot connect yet, NSN Lookup's list upload still turns your National Stock Number list into a quote.

Steps

  1. Gemini CLI and Gemini in developer tools

    Add an MCP server entry named nsnlookup with the URL https://api.nsnlookup.com/mcp and your API key in the Authorization header (Bearer nsn_...). Keys are free on your NSN Lookup account page.

  2. GitHub Copilot in VS Code and Visual Studio

    Add the same MCP server in Copilot's MCP settings (agent mode). Copilot can then read a CSV in your workspace and look up each NSN.

  3. Microsoft 365 Copilot and the Gemini app

    Where custom MCP connectors are not available yet, upload the list to NSN Lookup instead (Send us your NSN list) and get one quote for the whole list by email.

  4. Run the prompts

    Use the prompts below with the sample CSV.

Prompts to copy

Copilot / Gemini (MCP)
Read nsn-list.csv. For each National Stock Number, call the nsnlookup lookup_nsn tool and get_checkout_link. Write results.csv with NSN, item name, in stock, condition, price, lead time, buy link and RFQ link.
REST API (any assistant that can call web APIs)
For each NSN in the list, call GET https://api.nsnlookup.com/v19/nsn/{nsn} with header X-Api-Key and collect itemName and links.buy / links.rfq into a table.

What the result looks like

Illustrative example only: these rows show the layout of a result, not live stock, prices or lead times.
NSNItem nameIn stockConditionPriceLead timeBuy / RFQ
5305-00-068-0502Screw, cap, hexagon headYes (120)New$1.85 ea (example)Ships in 1-2 daysBuy
5310-00-045-3299Nut, self-lockingYes (40)New surplus$0.60 ea (example)Ships in 1-2 daysBuy (40) + RFQ (60)
2940-01-234-5678Filter element, fluidNo--Quote: about 2-3 weeksRFQ
6150-01-123-4567Cable assembly, special purposeNo--Quote neededRFQ
4730-00-012-3456Adapter, straight, pipeYes (75)New$4.10 ea (example)Ships in 1-2 daysBuy

Try it with your own list

Free account, no card. Connect NSN Lookup to your AI assistant in about two minutes.

Try it free Or send us your NSN list