StackResolve
stackresolve
StackResolve API 的官方 TypeScript/Node SDK。
StackResolve 是为 AI 智能体提供的网络智能:针对任务查找、比较和审计软件;一个带评分的注册表,收录适合智能体使用的工具和 MCP 服务器;结构化公司研究。三种形态,一个 API:REST、托管 MCP 服务器,以及本 CLI/SDK。注册表读取免费,无需密钥。
网站与文档:https://stackresolve.dev
REST:https://api.stackresolve.dev(OpenAPI 位于 /openapi.json,llms.txt 位于 /llms.txt)
托管 MCP(streamable HTTP):https://mcp.stackresolve.dev/mcp
面向智能体的 MCP 服务器注册表:https://stackresolve.dev/mcp-servers
MCP 服务器
托管服务器无需安装。握手和注册表读取(search_tools、get_profile、compare_products、list_registry)无需密钥即可使用。计量工具(resolve、how_to、audit、research_company、get_company、get_pricng)需要一个来自 https://stackresolve.dev/developers 的免费密钥,并通过 x-api-key 请求头发送。
Claude Code:
claude mcp add --transport http stackresolve https://mcp.stackresolve.dev/mcpCursor(~/.cursor/mcp.json):
{
"mcpServers": {
"stackresolve": {
"url": "https://mcp.stackresolve.dev/mcp",
"headers": { "x-api-key": "ar_..." }
}
}
}Codex(~/.codex/config.toml):
[mcp_servers.stackresolve]
url = "https://mcp.stackresolve.dev/mcp"
[mcp_servers.stackresolve.headers]
x-api-key = "ar_..."工具:resolve、how_to、find_tools_for_task、search_tools、compare_products、get_profile、list_registry、audit、generate_agent_interfaces、get_company、get_pricing、research_company、find_competitors、compare_companies、get_usage。
Related MCP server: mcp-registry-finder
CLI
npm i -g stackresolve
stackresolve find "scrape javascript-heavy sites from claude code"
stackresolve audit stripe.com
stackresolve company vercel.com
stackresolve --helpSDK
安装
npm install stackresolve需要 Node 18+(使用内置的全局 fetch)。无运行时依赖。
快速开始
import { StackResolve } from 'stackresolve'
const sr = new StackResolve({ apiKey: process.env.STACKRESOLVE_API_KEY })
// 1. Audit a domain: AgentReady scores, facts, and issues.
const report = await sr.audit('stripe.com')
console.log(report.scores.agentready, report.issues)
// 2. Structured company data.
const company = await sr.getCompany('vercel.com')
console.log(company.name, company.description)
// 3. Task -> ranked, agent-ready tools.
const tools = await sr.findTools('send transactional email from a Node service')
console.log(tools.results)
// 4. Run an Agent Discovery check (needs an API key).
const discovery = await sr.runDiscovery('firecrawl')
console.log(discovery)身份认证
在 stackresolve.dev 获取 API 密钥。将其传给构造函数,或设置 STACKRESOLVE_API_KEY 环境变量:
const sr = new StackResolve({ apiKey: 'ar_...' })
// or, reading STACKRESOLVE_API_KEY from the environment:
const sr2 = new StackResolve()该密钥会在每个请求中作为 x-api-key 请求头发送。公开端点(audit、search、profiles、company data 等)无需密钥即可使用,但受匿名速率限制。受限端点(monitors、usage、discovery runs)则需要密钥。
你可以通过 baseUrl 或 STACKRESOLVE_BASE_URL 环境变量将客户端指向其他主机:
const sr = new StackResolve({ apiKey, baseUrl: 'https://api.stackresolve.dev' })错误
任何非 2xx 响应都会抛出携带 HTTP status 和已解析 body 的 StackResolveError:
import { StackResolve, StackResolveError } from 'stackresolve'
try {
await sr.getUsage()
} catch (err) {
if (err instanceof StackResolveError) {
console.error(err.status, err.body)
}
}方法
AgentReady:
audit(domain)、findTools(task)、search(query, requirements?)、compare(slugs)、getProfile(slug)、listRegistry(opts?)、getCategories()、getCategory(slug)、getDiscovery(slug)、runDiscovery(slug)、getScoreHistory(slug)、generate(domain, openapiUrl?)、deploy(domain, openapiUrl?)。
CompanyData:
getCompany(domain)、getPricing(domain)、getCompetitors(domain)、research(domain, question?)、compareCompanies(domains)。
Monitors + account(需要 API 密钥):
listMonitors()、addMonitor(slug, opts?)、runMonitorsNow(slug)、getUsage()、getMyProfile()。
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Registry of MCP servers, agent skills and plugins: search, filter, comments, likes, publish.
AI agent registry — search, discover, register, and connect agents via MCP.
Search and get install details on MCP servers, right from your agent -- a unified marketplace index.
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceAI-first MCP server discovery tool that enables agents to search, inspect, and install MCP servers from multiple registries.13AGPL 3.0
- AlicenseAqualityCmaintenanceEnables searching the official MCP Registry for servers, inspecting details, and generating install commands directly from within an agent session.4MIT
- AlicenseNot gradedqualityAmaintenanceA registry of product release notes from across the web, normalized, summarized, and queryable via MCP. Enables agents and developers to search and retrieve the latest releases from hundreds of vendors.24 npm9Apache 2.0

io.github.OnticX/open-mcpofficial
FlicenseAqualityDmaintenanceA registry that enables MCP clients to discover and install MCP servers.1-