How to Use UNGM tender search in opencode
Find UNGM procurement notices with titles, organizations, references, publication dates, deadlines, and beneficiary countries. Use it to shortlist opportunities before reading their full requirements.
Prompts to try with UNGM tender search in opencode
Copy an example into opencode, or ask in your own words.
Use UNGM tender search to find UNDP solar opportunities for Kenya, then check whether this project's results view can display their references, publication dates, and deadlines.
Use UNGM tender search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from UNGM tender search and tell me what changed since last week.
Check UNGM tender search and summarize what you find in three bullet points.
Pull the newest data from UNGM tender search and give me the result as a table.
How to set up UNGM tender search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run UNGM tender search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "ungm-org/public-tenders/search_notices", "input": { "page": 1 } }'
Then paste one of the prompts above: opencode finds UNGM tender search on Spiral, shows the price and runs it.
UNGM tender search providers and prices
Spiral runs UNGM tender search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 1000 | 1 | 1-based page of 15 rows; |
| Sort | deadline_asc, deadline_desc, published_desc, or published_asc | deadline_asc | Sort order. Default: soonest deadline first, as on the site. |
| Include expired | on or off |
|
Every API field of UN Global Marketplace · Search notices is on its tool page: open its card above.
What can you do with UNGM tender search in opencode?
Build procurement review tools that connect UNGM categories, notice scopes, and published award evidence. A coding agent can use those records to check how your project handles beneficiary countries, deadlines, and reported contract values.
Assess solar equipment procurement
Find solar equipment categories, review matching notices, and examine published awards to compare requested systems with previously procured equipment.
Research cold chain requirements
Identify refrigeration categories, read relevant tender descriptions, and examine past awards for the equipment, suppliers, and beneficiary countries reported.
Compare water supply equipment needs
Map pumps and water supply equipment to procurement categories, compare current notice scopes, and inspect earlier awards for comparable purchases.
Prepare for freight tenders
Identify freight service categories, shortlist relevant notices, and compare their descriptions with published logistics awards before deciding which opportunities merit a closer review.
Prioritize approaching deadlines
Shortlist relevant notices by deadline, then read their full descriptions to identify scope requirements that affect whether a response is practical.
More on UNGM tender search and opencode
Overview
UNGM tender search in other agents
Questions about UNGM tender search in opencode
Can opencode use UNGM tender search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run UNGM tender search like any built-in tool.
How much does UNGM tender search cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use UNGM tender search in opencode?
No. Spiral runs UNGM tender search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up UNGM tender search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while UNGM tender search runs?
UNGM tender search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does UNGM cover every UN procurement opportunity?
UNGM reports that 54 UN organizations or UN-affiliated bodies publish procurement notices there. That coverage statement does not establish a complete record of every UN purchase.
Are UNGM contract awards public and complete?
Published contract awards are publicly accessible. UNGM says most UN organizations publish awards there, so an absent award does not establish that no contract was awarded.
How detailed are UNGM's procurement categories?
UNGM describes its UNSPSC structure as four levels, with two digits per level. The classification lets you distinguish broad categories from more specific products and services.
How often does UNGM update its category data?
UNGM says it updates the available UNSPSC categories regularly through a manual process. That statement does not specify a daily or weekly refresh schedule.
What does a beneficiary country mean?
It identifies the geographical location of a project's beneficiaries. It does not identify the supplier's home country.
Start using UNGM tender search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


