Skip to main content
Glama

stackresolve

StackResolve API 用の公式 TypeScript/Node SDK です。

StackResolve は AI エージェントのための Web インテリジェンスです:タスクに適したソフトウェアの検索、比較、監査;エージェント対応ツールと MCP サーバーのスコア付きレジストリ;構造化された企業調査。3つのサーフェス、1つの API: REST、ホスト型 MCP サーバー、そしてこの CLI/SDK。レジストリの読み取りは無料で、キーは不要です。

MCP サーバー

ホスト型サーバーはインストール不要です。ハンドシェイクとレジストリの読み取り(search_toolsget_profilecompare_productslist_registry)はキーなしで動作します。従量制ツール(resolvehow_toauditresearch_companyget_companyget_pricing)には、https://stackresolve.dev/developers から取得した無料キーを x-api-key ヘッダーとして送信する必要があります。

Claude Code:

claude mcp add --transport http stackresolve https://mcp.stackresolve.dev/mcp

Cursor (~/.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: MCPfinder

CLI

npm i -g stackresolve
stackresolve find "scrape javascript-heavy sites from claude code"
stackresolve audit stripe.com
stackresolve company vercel.com
stackresolve --help

SDK

インストール

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 + アカウント (API キーが必要): listMonitors(), addMonitor(slug, opts?), runMonitorNow(slug), getUsage(), getMyProfile().

ライセンス

MIT

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/autorevai/stackresolve'

If you have feedback or need assistance with the MCP directory API, please join our Discord server