searchcode.aiweb source intelligence

The public web, searchable.

Search the source code of the public web.

HTML, JavaScript, and CSS. Search with regex, inspect the matches, and find the sites behind them. Free to use.

Services

Seven ways to query the web's source.

Every query below is available through the console, the REST API, and where marked, the MCP server. Plan availability comes from the same contract the API enforces.

  • Search raw source code

    Free

    Find snippets, script URLs, API hosts, and identifiers across HTML, JS, and CSS.

    e.g. Find every site loading js.stripe.com/v3

    MCP · CLI · REST

  • Find technology adoption

    Free

    List the ranked domains detected using a framework, service, or platform.

    e.g. Which sites use React or Google Tag Manager?

    MCP · CLI · REST

  • Count a web signal

    Free

    Measure how many sites use a technology, request host, or public identifier.

    e.g. How many sites request google-analytics.com?

    MCP · CLI · REST

  • Inspect a domain

    Pro+

    Read its detected stack, page footprint, rank, country, and infrastructure.

    e.g. What technology stack does example.com use?

    MCP · CLI · REST

  • Connect related domains

    Pro+

    Find domains sharing the same analytics, advertising, or tracker identifier.

    e.g. Which domains share this Google Analytics property?

    REST

  • Browse the web index

    Free

    Explore ranked domains and narrow the corpus with technology and TLD metadata.

    e.g. Browse top .gov domains detected with analytics tooling

    REST

  • Query shop catalogs

    Enterprise+

    Browse captured storefronts and product records from the licensed catalog.

    e.g. Find captured Shopify stores and their products

    REST

Built for developers

REST API, MCP server, one API key.

Every result the console shows is available under https://searchcode.ai/api/v1 with an X-API-Key header. Point an AI assistant at the MCP server and it can search source code, map technology adoption, and count signals on its own.

  • MCP

    Live

    AI assistants

  • CLI

    Coming soon

    Terminal workflows

  • REST API

    Live

    Any stack

MCP client configuration
{
  "mcpServers": {
    "searchcode": {
      "command": "npx",
      "args": ["-y", "--package=searchcode-client", "searchcode-mcp"],
      "env": {
        "SEARCHCODE_API_KEY": "YOUR_API_KEY",
        "SEARCHCODE_API_URL": "https://searchcode.ai"
      }
    }
  }
}
REST
curl --get "https://searchcode.ai/api/v1/search" \
  --header "X-API-Key: YOUR_API_KEY" \
  --data-urlencode "q=stripe.com/v3" \
  --data "limit=20"

How to create an API key

  1. Create a free account at https://searchcode.ai/ (200 search credits, no card required).
  2. Open the dashboard and choose "API access" in the navigation.
  3. Enter a label that says where the key will live (for example "mcp-laptop") and click "Create key".
  4. Copy the key immediately: its full value is shown exactly once.
  5. Send it as the X-API-Key header on every /api/v1 request, or set SEARCHCODE_API_KEY for the MCP server and CLI.
  6. Revoke a key from the same page when it is no longer needed. Keys authorize only the customer API and carry no operator privileges.

Free tier

200 search credits, REST and MCP access, no card required.

Use cases

Research, discovery, and due diligence.

  • Technology research

    Measure adoption of a framework, script, or vendor across ranked domains.

  • Discovery & prospecting

    Build lists of sites that run a specific stack, payment provider, or analytics tool.

  • Due diligence

    Verify what a domain actually ships: stack, trackers, infrastructure, and rank.

  • Competitive analysis

    Track which technologies competitors adopt and which domains they connect to.

  • Security reconnaissance

    Find script hosts, API endpoints, and identifiers exposed in public source.

Plans

Start free. Grow into the full index.

Five tiers, one API. Each tier unlocks more query types, credits, and throughput; shop catalogs and bulk export are licensed separately on Enterprise.

  • Free

    200 included search credits, REST + MCP, no card.

    Unlocks Search raw source code, Find technology adoption, Count a web signal, Browse the web index

  • Solo

    Regex source search and higher monthly credits.

  • Pro

    Adds domain profiles and the owner graph.

    Unlocks Inspect a domain, Connect related domains

  • Scale

    Higher throughput and bulk limits for teams.

  • Enterprise

    Shop catalog, bulk export, and custom terms.

    Unlocks Query shop catalogs