streamable-httpMITupdated 8d ago
Security intelligence, built for AI agents. Give your agent grounded answers about vulnerabilities, threats, and attack surface — backed by authoritative sources (NVD, CISA KEV, FIRST EPSS, MITRE ATLAS & D3FEND), never guesswork. CVE/KEV/CWE lookup with EPSS exploit-probability and composite risk scoring, domain & IP investigation, IOC enrichment, code-security checks, and live web intelligence. 55 tools, 7 Resources, and 3 Prompts — free, no API key, no signup.
ContrastAPI 能做什么?
ContrastAPI — 55 Security Tools + 7 MCP Resources for AI Agents
Security intelligence, built for AI agents. Give your agent grounded answers about vulnerabilities, threats, and attack surface — backed by authoritative sources (NVD, CISA KEV, FIRST EPSS, MITRE ATLAS & D3FEND), never guesswork. CVE/KEV/CWE lookup with EPSS exploit-probability and composite risk scoring, domain & IP investigation, IOC enrichment, code-security checks, and live web intelligence. 55 tools, 7 Resources, and 3 Prompts — free, no API key, no signup.
中文 · Live: api.contrastcyber.com
Documentation
- API Documentation — REST reference: 60+ endpoints, authentication, rate limits, token costs, and response envelope.
- MCP Documentation — MCP tool-selection guide, 7 Resources, 3 Prompts, and copy-paste agent prompts.
Setup (MCP)
Any MCP client
{
"mcpServers": {
"contrastapi": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.contrastcyber.com/mcp/"]
}
}
}
Restart your agent. Other clients (Python SDK, Node SDK, cURL, VS Code): mcp-setup · quickstart
Claude Desktop — one-click extension
Grab the .mcpb file from the latest release and double-click it (or Claude Desktop → Settings → Extensions → Install Extension…). No signup, no API key — all 55 tools ready immediately.
SDKs
pip install contrastapi # Python 3.10+ — sync + async, typed responses, shortcut helpers
npm install contrastapi # Node 14+ — concrete TypeScript types, 14 namespaces
Both SDKs cover every HTTP endpoint and MCP tool — CVE/KEV/CWE, ATLAS, D3FEND, Sigma rules, email security posture, domain, IP, IOC, code security, and web intelligence — with wire-exact response shapes and a typed exception hierarchy that mirrors the API error envelope. They also expose MCP Resources for browsing the ATLAS, D3FEND, and CWE catalogs (see docs/MCP_Documentation.md) and a conditional triage Prompt (see docs/MCP_Documentation.md#contrast-triage). Web-intelligence tools — robots_txt, redirect_chain, email_verify, brand_assets, seo_audit, geo_audit — ship with an explicit ethical floor: per-target throttling, robots.txt respected, no SMTP probing.
Links
OpenAPI: openapi.json
Smithery · npm · VS Code Marketplace · Awesome OSINT MCP · RapidAPI
Responses include a verdict block — deterministic, falsifiable_fields, data_age_seconds, sources_queried / sources_unavailable, completeness — so a verifier agent can independently re-derive specific fields from the upstream authority (NVD, RDAP, CT logs, URLhaus). Probe GET /v1/capabilities for "verdict_metadata": true.
CVE responses also embed next_calls: list[PivotHint] — {tool, input, reason} triples that suggest the next MCP tool to call (e.g. kev_detail when kev.in_kev=true, cwe_lookup when cwe_id is set). Agents chain workflows without manual prompting.
MIT
安装
把 ContrastAPI 添加到你的客户端。选择你正在使用的那个。
claude mcp add --transport http contrastapi https://api.contrastcyber.com/mcp/codex mcp add contrastapi --url https://api.contrastcyber.com/mcp/{
"mcpServers": {
"contrastapi": {
"url": "https://api.contrastcyber.com/mcp/"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"contrastapi": {
"type": "http",
"url": "https://api.contrastcyber.com/mcp/"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"contrastapi": {
"url": "https://api.contrastcyber.com/mcp/"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"contrastapi": {
"serverUrl": "https://api.contrastcyber.com/mcp/"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
评分
39 / 100
不完整
- 文档25/25
- 维护25/25
- 可信度13/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 1 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.36.1 | 2026年8月24日 |
| 1.36.0 | 2026年8月2日 |
| 1.35.3 | 2026年7月28日 |
| 1.35.0 | 2026年7月3日 |
| 1.34.7 | 2026年7月3日 |
| 1.34.6 | 2026年7月2日 |
| 1.34.4 | 2026年7月2日 |
| 1.34.1 | 2026年6月13日 |
| 1.34.0 | 2026年6月6日 |
| 1.33.24 | 2026年6月6日 |
| 1.33.22 | 2026年6月1日 |
| 1.33.21 | 2026年5月31日 |
| 1.33.20 | 2026年5月31日 |
| 1.33.18 | 2026年5月25日 |
| 1.33.14 | 2026年5月22日 |
| 1.33.13 | 2026年5月22日 |
| 1.33.12 | 2026年5月19日 |
| 1.33.11 | 2026年5月18日 |
| 1.33.1 | 2026年5月15日 |
| 1.33.0 | 2026年5月15日 |
| 1.32.7 | 2026年5月14日 |
| 1.32.5 | 2026年5月14日 |
| 1.32.0 | 2026年5月12日 |
| 1.31.0 | 2026年5月10日 |
| 1.30.4 | 2026年5月10日 |
| 1.30.3 | 2026年5月10日 |
| 1.30.2 | 2026年5月9日 |
| 1.30.1 | 2026年5月9日 |
| 1.30.0 | 2026年5月9日 |
| 1.29.2 | 2026年5月8日 |
| 1.29.1 | 2026年5月8日 |
| 1.29.0 | 2026年5月8日 |
| 1.28.0 | 2026年5月7日 |
| 1.27.1 | 2026年5月4日 |
| 1.27.0 | 2026年5月4日 |
| 1.26.0 | 2026年5月2日 |
| 1.25.0 | 2026年5月2日 |
| 1.23.0 | 2026年5月1日 |
| 1.22.2 | 2026年5月1日 |
| 1.22.1 | 2026年5月1日 |
| 1.22.0 | 2026年5月1日 |
| 1.21.1 | 2026年5月1日 |
| 1.21.0 | 2026年5月1日 |
| 1.20.0 | 2026年4月30日 |
| 1.19.3 | 2026年4月30日 |
| 1.19.2 | 2026年4月30日 |
| 1.19.1 | 2026年4月29日 |
| 1.18.2 | 2026年4月29日 |
| 1.18.1 | 2026年4月29日 |
| 1.17.0 | 2026年4月28日 |
| 1.16.2 | 2026年4月28日 |
| 1.16.1 | 2026年4月28日 |
| 1.16.0 | 2026年4月28日 |
| 1.15.0 | 2026年4月27日 |
| 1.14.0 | 2026年4月26日 |
| 1.13.0 | 2026年4月26日 |
| 1.12.0 | 2026年4月25日 |
| 1.11.1 | 2026年4月25日 |
| 1.11.0 | 2026年4月24日 |
| 1.0.0 | 2026年4月11日 |