[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Texas SmartBuy commodity codes](https://spiral.ai/integrations/cursor/texas-smartbuy-commodity-codes)

# How to Use Texas SmartBuy commodity codes in Cursor

Returns NIGP commodity codes matching a numeric prefix. Use it to complete a category code before searching procurement notices or awards for the goods and services you sell.

|  |  |
| --- | --- |
| Model | Texas SmartBuy commodity codes |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Texas SmartBuy commodity codes in Cursor

- Use Texas SmartBuy commodity codes to retrieve codes beginning with 925. Add the returned codes to the project’s engineering procurement research report.
- Use Texas SmartBuy commodity codes to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Texas SmartBuy commodity codes and tell me what changed since last week.
- Check Texas SmartBuy commodity codes and summarize what you find in three bullet points.
- Pull the newest data from Texas SmartBuy commodity codes and give me the result as a table.

## How to set up Texas SmartBuy commodity codes in Cursor

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Texas SmartBuy commodity codes**: One request; the result comes back by polling or a webhook.

```bash
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": "txsmartbuy-gov/public-tenders/list_nigp_codes",
    "input": {
      "prefix": "<prefix>"
    }
  }'
```

Then paste one of the prompts above: Cursor finds Texas SmartBuy commodity codes on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/cursor

## Texas SmartBuy commodity codes tools and prices

- [Texas SmartBuy ESBD · List nigp codes](https://spiral.ai/tools/alexandria/txsmartbuy-gov/public-tenders/list_nigp_codes) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prefix |  | — | Keep codes starting with these digits (e.g. 925). Pattern: ^[0-9]{1,5}$. |

## What can you do with Texas SmartBuy commodity codes in Cursor?

Build a Texas procurement or grant research report from ESBD records. A coding agent can organize buyer identities, commodity codes, notices, awards, and funding details in the project’s reporting workflow.

### Build a bid shortlist

Identify the buyer and commodity category, find relevant solicitations, review their scope, and compare related purchase-order awards before deciding which bids deserve attention.

### Prepare a public-buyer research brief

Resolve a Texas agency’s identity, organize its procurement notices by commodity code, and summarize recorded purchases alongside current requirements.

### Assess a new service category

Check which commodity codes match a proposed service, identify public buyers, and compare solicitation requirements with relevant award descriptions and vendors.

### Publish a procurement research bulletin

Organize notices and recorded awards by buyer and commodity category, then add scope summaries, deadlines, vendors, and links to supporting records.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Cursor guides](https://spiral.ai/integrations/cursor)

## Texas SmartBuy commodity codes in other agents

- [Amp](https://spiral.ai/integrations/amp/texas-smartbuy-commodity-codes)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/texas-smartbuy-commodity-codes)
- [Claude](https://spiral.ai/integrations/claude-desktop/texas-smartbuy-commodity-codes)
- [Claude Code](https://spiral.ai/integrations/claude-code/texas-smartbuy-commodity-codes)
- [Cline](https://spiral.ai/integrations/cline/texas-smartbuy-commodity-codes)
- [Codex](https://spiral.ai/integrations/codex/texas-smartbuy-commodity-codes)
- [Devin](https://spiral.ai/integrations/devin/texas-smartbuy-commodity-codes)
- [dots](https://spiral.ai/integrations/dots/texas-smartbuy-commodity-codes)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/texas-smartbuy-commodity-codes)
- [Gemini](https://spiral.ai/integrations/gemini/texas-smartbuy-commodity-codes)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/texas-smartbuy-commodity-codes)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/texas-smartbuy-commodity-codes)
- [goose](https://spiral.ai/integrations/goose/texas-smartbuy-commodity-codes)
- [Grok](https://spiral.ai/integrations/grok/texas-smartbuy-commodity-codes)
- [Grok Build](https://spiral.ai/integrations/grok-build/texas-smartbuy-commodity-codes)
- [Hermes](https://spiral.ai/integrations/hermes/texas-smartbuy-commodity-codes)
- [Instinct](https://spiral.ai/integrations/instinct/texas-smartbuy-commodity-codes)
- [Manus](https://spiral.ai/integrations/manus/texas-smartbuy-commodity-codes)
- [Muse](https://spiral.ai/integrations/muse/texas-smartbuy-commodity-codes)
- [Muse Code](https://spiral.ai/integrations/muse-code/texas-smartbuy-commodity-codes)
- [n8n](https://spiral.ai/integrations/n8n/texas-smartbuy-commodity-codes)
- [Notion](https://spiral.ai/integrations/notion/texas-smartbuy-commodity-codes)
- [OpenClaw](https://spiral.ai/integrations/openclaw/texas-smartbuy-commodity-codes)
- [opencode](https://spiral.ai/integrations/opencode/texas-smartbuy-commodity-codes)
- [Perplexity](https://spiral.ai/integrations/perplexity/texas-smartbuy-commodity-codes)
- [Raycast](https://spiral.ai/integrations/raycast/texas-smartbuy-commodity-codes)
- [VS Code](https://spiral.ai/integrations/vscode/texas-smartbuy-commodity-codes)
- [Windsurf](https://spiral.ai/integrations/windsurf/texas-smartbuy-commodity-codes)
- [Zapier](https://spiral.ai/integrations/zapier/texas-smartbuy-commodity-codes)

## More Cursor guides

- [Texas SmartBuy award search](https://spiral.ai/integrations/cursor/texas-smartbuy-award-search)
- [Texas SmartBuy grant details](https://spiral.ai/integrations/cursor/texas-smartbuy-grant-details)
- [Texas SmartBuy award details](https://spiral.ai/integrations/cursor/texas-smartbuy-award-details)
- [Texas SmartBuy grant search](https://spiral.ai/integrations/cursor/texas-smartbuy-grant-search)
- [Texas SmartBuy agency directory](https://spiral.ai/integrations/cursor/texas-smartbuy-agency-directory)
- [Texas SmartBuy solicitation details](https://spiral.ai/integrations/cursor/texas-smartbuy-solicitation-details)

## Questions about Texas SmartBuy commodity codes in Cursor

**Can Cursor use Texas SmartBuy commodity codes?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Texas SmartBuy commodity codes like any built-in tool.

**How much does Texas SmartBuy commodity codes cost in Cursor?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

**Do I need an Alexandria account to use Texas SmartBuy commodity codes in Cursor?**

No. Spiral runs Texas SmartBuy commodity codes on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Texas SmartBuy commodity codes in Cursor?**

About two minutes: add the hosted server, then sign in.

**Does Cursor wait while Texas SmartBuy commodity codes runs?**

Texas SmartBuy commodity codes runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

**What does the award search cover?**

It covers the ESBD section labeled Awards No Solicitations. An empty result there does not establish that an agency has never awarded a contract.

**How many solicitation results fit on a page?**

The documented solicitation search response uses pages of 24 results and includes pagination metadata. A single page should not be treated as the complete search.

**What timing information does ESBD show?**

Solicitation results show a response due date and time, a posting date, and a last-updated timestamp. These distinguish the submission deadline from when the notice was posted or changed.

**What can I learn from a grant’s details?**

Published grant details can include eligibility, funding amounts, and an agency contact. Use those details to assess the opportunity beyond its search listing.

**How are Texas procurement commodity codes structured?**

NIGP codes use three digits for the general class and two more for the item. The class identifies a broader category than the full class-item code.

