stackresolve
Official TypeScript/Node SDK for the StackResolve API.
StackResolve helps agents discover, evaluate, select, install, and use software
(AgentReady), and compresses web research into structured company data calls
(CompanyData). This SDK is a thin, typed wrapper over the live REST API.
One line for your coding agent
That mints an API key if you have none, registers the hosted MCP server for every coding
agent on the machine (Claude Code, Cursor, Codex, Windsurf, VS Code), writes the
StackResolve skill to ~/.claude/skills/stackresolve/SKILL.md, and verifies the key
against the API. It is safe to re-run, and it backs up every file it changes.
MCP server
The hosted server needs no install. The handshake and the registry reads (search_tools,
get_profile, compare_products, list_registry) work without a key. Metered tools
(resolve, how_to, audit, research_company, get_company, get_pricing) need a free
key from https://stackresolve.dev/developers, sent as the x-api-key header.
Claude Code:
Cursor (~/.cursor/mcp.json):
Codex (~/.codex/config.toml):
Tools: 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.
CLI
Install
Requires Node 18+ (uses the built-in global fetch). No runtime dependencies.
Quickstart
Authentication
Get an API key at stackresolve.dev. Pass it to the
constructor, or set the STACKRESOLVE_API_KEY environment variable:
The key is sent as the x-api-key header on every request. Public endpoints
(audit, search, profiles, company data, ...) work without a key, subject to an
anonymous rate limit. Gated endpoints (monitors, usage, discovery runs) need one.
You can point the client at a different host with baseUrl or the
STACKRESOLVE_BASE_URL environment variable:
Errors
Any non-2xx response throws a StackResolveError carrying the HTTP status and
the parsed body:
Methods
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 key required):
listMonitors(), addMonitor(slug, opts?), runMonitorNow(slug),
getUsage(), getMyProfile().
Other languages and frameworks
Python SDK:
LangChain tools, so an agent can pick software and research companies without a
search-and-scrape loop:
REST directly: https://api.stackresolve.dev, OpenAPI at /openapi.json, llms.txt at
/llms.txt.
License
MIT