Skip to main content
Glama
StackScan MCP Server

StackScan MCP Server

Official

StackScan MCP server

Ask your assistant what a website runs, and who is behind it.

A Model Context Protocol server for the StackScan Tech Lookup API. Point Claude, Cursor, or any other MCP client at it and you can ask things like:

What is example.com built on?

Who's behind vercel.com? Where are they, what industry, what's their LinkedIn?

How many sites run Klaviyo, and in which countries?

Read-only by design. Nothing here writes to any system of yours.


Install

You need a StackScan account. Sign in, open API Tokens in the dashboard, create a token, and copy your workspace UUID from the same page.

Claude Desktop (extension)

Download stackscan.mcpb from the releases page, then drag it onto Settings > Extensions. It asks for your API token and workspace ID and installs the rest itself.

Claude Desktop (manual config)

Settings → Developer → Edit Config, then add:

{
  "mcpServers": {
    "stackscan": {
      "command": "npx",
      "args": ["-y", "@stackscan/mcp-server"],
      "env": {
        "STACKSCAN_API_TOKEN": "your-token",
        "STACKSCAN_TENANT_ID": "your-workspace-uuid"
      }
    }
  }
}

Restart Claude Desktop. The tools appear under the connectors icon.

Claude Code

claude mcp add stackscan \
  --env STACKSCAN_API_TOKEN=your-token \
  --env STACKSCAN_TENANT_ID=your-workspace-uuid \
  -- npx -y @stackscan/mcp-server

Cursor, Windsurf, and others

Same shape: command: npx, args: ["-y", "@stackscan/mcp-server"], and the two environment variables. Check your client's own MCP docs for where its config file lives.


Related MCP server: mcp-gtm-tech-stack-signal-scraper

Tools

Tool

What it does

Cost

check_credits

Remaining balance and this month's allocation

free

lookup_company

The company behind a domain: name, industry, city, country, LinkedIn, estimated revenue band

1 credit

lookup_domain_technologies

Technologies on ONE domain, in full: category and global usage for each (limit, default 50, max 100), plus how many are paid (premium) products and the estimated monthly tech spend

1 credit

lookup_technology

How many sites run a technology, and where they are

1 credit

lookup_companies

The companies behind up to 20 domains, as a compact table

1 credit per domain with data

lookup_domains_technologies

The technologies on up to 20 domains, as a compact table. Optional category filter

1 credit per domain with data

A lookup that finds nothing is not charged. Neither is check_credits.

Breadth vs depth

There are two technology tools and they answer different questions. lookup_domains_technologies is the breadth view: many domains, technology names only, ideal for "which of these run Shopify?". lookup_domain_technologies is the depth view: one domain, every technology with its category and how many sites use it globally. The batch tool reports how many technologies it left out per domain, so the model can offer to drill in.

Why the batch tools stop at 20

The REST endpoints behind them take 100 domains per request, and these tools deliberately do not. A tool result goes straight into the model's context, and a hundred full company payloads is tens of thousands of tokens, which crowds out the conversation you are actually having, and the model then has to re-read all of it to answer anything. Twenty compact rows is a table a model can reason over.

It also refuses rather than truncates. If a batch would cost more than your session cap allows, it charges nothing and tells you how many you can afford. Quietly dropping domains would hand back an answer that looks complete and is not.

If you genuinely need hundreds of domains, that is what the REST endpoint is for.


Configuration

Variable

Required

Default

Notes

STACKSCAN_API_TOKEN

yes

none

Dashboard → API Tokens

STACKSCAN_TENANT_ID

yes

none

Your workspace UUID, same page

STACKSCAN_API_BASE

no

https://api.stackscan.com

Rarely needed

STACKSCAN_SESSION_LOOKUP_CAP

no

25

See below

The session cap is a spend cap, and it is deliberate

StackScan's own limit is a rate limit: requests per minute. That stops a burst. It does nothing to stop a patient agent quietly spending an entire credit balance over an afternoon, which is a failure mode humans clicking buttons do not have.

So this server keeps its own counter: 25 credit-consuming lookups per session by default, after which it refuses and says why. Misses and check_credits never count against it, because they are never charged. Every successful result carries a footer showing lookups remaining and your last known balance, so the model can pace itself instead of discovering the limit by hitting it.

If you mean to go higher, raise it deliberately ("STACKSCAN_SESSION_LOOKUP_CAP": "200") rather than finding out afterwards.


Development

npm install
npm run build

test-stdio.mjs is a minimal JSON-RPC client that drives the server over a real stdio pipe, so you can exercise it without an MCP host:

export STACKSCAN_API_TOKEN=...
export STACKSCAN_TENANT_ID=...
node test-stdio.mjs check_credits lookup_company:stripe.com

Never write to stdout in this server. stdout is the JSON-RPC channel; anything else on it corrupts the protocol. Diagnostics go to stderr.


Notes for anyone reading the source

Three things about the upstream API shaped this code and are easy to get wrong:

A miss is HTTP 200, not 404. The API answers "no data for that domain" with 200 {"success": false, "error": "No data available"}. A client that trusts the status code reads the absent payload and crashes. Every response goes through one place that separates a miss from a failure, so only a real failure is reported as an error.

Cached responses are still charged. The API's response cache shields its database, not your wallet: a repeat lookup inside the cache window costs the same credit. That is why the local balance decrements on every hit instead of trying to guess which calls were free.

Two base URLs are live. The API's home is api.stackscan.com/v1/.... The older app.stackscan.com/api/v1/... paths are still served and are deliberately not redirected, because a redirect would drop the body on POST. If your config still names the old host, this server detects it and keeps using the old path shape, so upgrading will not break you.

Privacy Policy

StackScan's privacy policy is at www.stackscan.com/privacy. What it means for this server specifically:

What is collected. The domains and technology names you look up, sent to api.stackscan.com over HTTPS along with your API token and workspace ID. Nothing else leaves your machine. This server reads no files, opens no ports and keeps no local store; the only state it holds is a lookup counter and a credit balance, both in memory and both gone when the process exits.

How it is used and stored. Lookups are logged against your workspace so credits can be metered and the account can be supported. Results come from StackScan's own crawl data, not from anything you send.

Third parties. Query terms are not sold or shared for advertising. They reach the infrastructure providers StackScan runs on, as set out under "Sharing With Service Providers" in the policy, and nowhere else.

Retention. Covered under "Data Retention" in the policy. Delete your account and the associated lookup history goes with it.

Contact. hello@stackscan.com, or www.stackscan.com/contact.

License

MIT. See LICENSE.

The licence covers this client only, roughly 500 lines that make HTTP requests. The StackScan data it reaches is a paid service and is not covered by it.

Available Tools

6 tools
check_creditsCheck credit balanceA
Read-only

Check the StackScan credit balance. Free - does not consume a credit. Call this before a batch of lookups so you know how many you can afford.

Inputs: no named parameters.

lookup_companiesLook up the companies behind many domainsA
Read-only

Look up the companies behind up to 20 domains in ONE call, returned as a compact table. Prefer this over repeated lookup_company calls whenever you have several domains in hand - it is one request instead of many, and costs the same per resolved domain. Duplicates and www. variants collapse and are charged once. Costs 1 credit per domain that HAS data; misses and malformed domains are free.

Inputs: domains (required).

lookup_companyLook up the company behind a domainA
Read-only

Given a domain, return the company behind it: name, industry, city, country, address and LinkedIn URL. Use this when asked who owns or operates a website, or to enrich a domain into firmographics. Costs 1 credit.

Inputs: domain (required).

lookup_domains_technologiesList technologies across many domainsA
Read-only

Look up the technologies on up to 20 domains in ONE call, returned as a compact table. Prefer this over repeated lookup_domain_technologies calls whenever you have several domains in hand - it is one request instead of many and costs the same per resolved domain. Answers questions like 'which of these run Shopify?'. Pass category to narrow to one kind of technology. For the full detail on ONE domain (every technology with its category and global usage), use lookup_domain_technologies instead. Duplicates and www. variants collapse and are charged once. Costs 1 credit per domain that HAS data; misses and malformed domains are free.

Inputs: domains (required), category, per_domain.

lookup_domain_technologiesList a domain's technology stackA
Read-only

Given a domain, list the technologies detected on it (analytics, hosting, ecommerce platform, frameworks and so on), each with its category and how many sites overall use it. Use this to answer 'what is this site built with?'. Costs 1 credit.

Inputs: domain (required), limit.

lookup_technologySize a technology's adoptionA
Read-only

Given a technology name, return how widely it is used and its top countries by adoption. Use this to size a market or compare platforms, e.g. 'how many sites run Shopify, and where?'. Costs 1 credit.

Inputs: technology (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: credit check, single/multi-company lookup, single/multi-technology lookup, and a standalone technology market lookup. The batch variants are explicitly differentiated from their single counterparts, and descriptions clearly guide when to use each, eliminating ambiguity.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern: check_credits, lookup_company, lookup_domain_technologies, lookup_technology, lookup_companies, lookup_domains_technologies. The plural versions naturally extend the singular ones, and the pattern is uniform across the entire set.

    Tool Count5/5

    Six tools is a well-scoped set for a domain intelligence API. Each tool covers a distinct operation (balance, single/batch company lookup, single/batch tech lookup, tech market lookup) without redundancy or bloat, fitting comfortably within the ideal 3-15 range.

    Completeness4/5

    The surface covers the core read-only lifecycle: single and batch lookups for both companies and technologies, a technology market tool, and a credit checker. Minor gaps exist (e.g., no way to list all technologies or search companies by name), but they are edge cases that agents can work around.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying the BuiltWith API to discover and analyze website technology stacks, including frameworks, analytics tools, CMS platforms, and other technologies used by any domain.
      2
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Provides AI agents with tools to detect Shopify apps, WordPress plugins, DNS/email/SaaS footprint, and estimate SaaS spend for competitive intelligence and vendor research.
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to investigate any website's technology stack, identifying CMS, ecommerce platforms, JavaScript frameworks, analytics, CRM, marketing automation, payments, chat, CDN, and hosting.
      -