# CVE lookup API for AI agents (CVSS, severity, exploitation status) (/use-cases/cve-lookup)

Ask "is CVE-2021-44228 being exploited?" and your agent returns the description, CVSS score, severity, affected versions and whether CISA lists it as actively exploited.

Use this when your agent triages vulnerabilities or checks a dependency. The calls only read.

## What you can call

| Function                    | What it does                                                                                                                             |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `bowmark.cve_lookup.lookup` | Reads one CVE by id: description, CVSS score, severity, CWE ids, affected products and versions, advisory links and exploitation status. |
| `bowmark.cve_lookup.search` | Searches CVEs by product or phrase and returns the same record for each match, with a total.                                             |

## Try it

```js
const one = await bowmark.cve_lookup.lookup("CVE-2021-44228");
const s = await bowmark.cve_lookup.search({ query: "openssh", limit: 3 });
return { one: one.result, matches: s.results.map(c => ({ id: c.id, severity: c.severity, score: c.cvssScore })), total: s.total };
```

Add the MCP server to Claude Code with this command, then ask your agent. Other clients are on [Installation](/docs/installation).

```sh
claude mcp add bowmark --transport http https://api.bowmark.ai/mcp --header "Authorization: Bearer $BOWMARK_API_KEY"
```

## FAQ

### Does it need an API key?

No. You do not need an NVD or CVE key.

### What if a CVE has no score?

Some older CVEs have no CVSS score. Severity and score come back as `null`.

### What does it cost?

Your first $10 is free, then you pay per call. See [Pricing](/docs/pricing).

## Next

Follow the [Quickstart](/docs/quickstart), or see [Websites without an API](/use-cases/websites-without-an-api).
