# Sold prices in Cursor. One block in mcp.json.

Connect Cursor's agent to Soldgraph's hosted MCP server. It can look up eBay, Poshmark and Mercari sold listings and live listings on six more marketplaces while it builds your app.

Web page: https://soldgraph.com/cursor

## Set up

Cursor (~/.cursor/mcp.json):

```json
{
  "mcpServers": {
    "soldgraph": {
      "url": "https://api.soldgraph.com/mcp",
      "headers": { "Authorization": "Bearer ${env:SOLDGRAPH_KEY}" }
    }
  }
}
```

## Things to ask

- "Look up what this item sold for on eBay and use the real response shape for my types." The agent runs one ebay_sold search and writes types that match the rows it got back.
- "Add a 'suggested price' field using the median sold price from Mercari." It checks mercari_sold for a sample item, then wires the API call into your code.
- "Find Depop listings for vintage Levi's 501 under $40." depop_listings returns live listings with prices and links.
- "How many Soldgraph requests do I have left?" account_usage shows your plan and remaining requests. It's free.

## Questions

### Cursor says the server failed or returns 401. What's wrong?

Cursor can't see `SOLDGRAPH_KEY`. On a Mac, apps opened from the Dock don't read your shell profile. Quit Cursor and start it from a terminal where the key is set, for example with `cursor .`.

### Global or one project?

`~/.cursor/mcp.json` adds Soldgraph to every project. `.cursor/mcp.json` in a repo adds it to that project only. The key stays in your environment either way, so the file is safe to commit.

### Is there a Cursor plugin?

Yes, in the open-source repo github.com/soldgraph/soldgraph-agent. Copy it into `~/.cursor/plugins/local/soldgraph` and reload the window. It adds the same MCP server plus a Soldgraph skill.

### Which Cursor mode uses it?

The Agent. Ask it a pricing question or a task that needs sold data, and it calls the tools when it needs them.

### What does it cost?

One request per completed search, the same as the API. Failed searches, `account_usage` and `api_status` are free.

Start with 100 free requests, no credit card required.

### Can the agent write code against the API too?

Yes. Have it read https://soldgraph.com/llms.txt for every route and field. It can test a search with the tools, then write the code your app runs.

## Pricing

- Free: 100 requests once, no credit card required.
- Lite: $9 a month for 2,000 requests.
- Starter: $19 a month for 5,000 requests.
- Pro: $49 a month for 20,000 requests.
- Business: $149 a month for 100,000 requests.
- Scale: $499 a month for 350,000 requests.
- No plan: $10 per 1,000 requests, bought once. They never expire.
- Each completed search costs one request. Failed searches are free.

## Start

- [Get a free API key](https://soldgraph.com/signup?utm_source=page-md&utm_medium=ai&utm_content=cursor): 100 free requests, no credit card required.
- [Everything for agents in one file](https://soldgraph.com/llms.txt)
- [Docs for this page](https://soldgraph.com/docs/guides/mcp.md#cursor)
