SuperAPI AI Directory

crawlgraph-mcp

Backlink lookups, competitor gap analysis and outreach-target discovery over the public Common Crawl webgraph via CrawlGraph.

Open website

About this tool

Purpose

crawlgraph-mcp is the MCP server for the CrawlGraph backlink intelligence API, with underlying data from the Common Crawl web graph. It enables Claude, Cursor, Cline, and any MCP-compatible client to perform backlink queries and competitor gap analysis.

Main Capabilities

The server provides five MCP tools:

  • backlinks: Backlink queries.
  • backlink_changes: Backlink changes, sharing the same quota counter as backlinks.
  • gap_analysis: Competitor gap analysis.
  • gap_outreach_targets: Outreach target discovery. The outreach tool only identifies research candidates; it does not send messages or create contacts.
  • releases: Release version manifest, does not consume research quota.

Usage

Authentication Configuration

There are two authentication configuration options:

  1. API key (npm / stdio and legacy HTTP): Obtain a key through CrawlGraph's API onboarding flow. The free key flow sends the key via email but does not let you log in to an account. For Claude Desktop / Claude Code, place the corresponding configuration in the client's MCP configuration. Cursor, Windsurf, Cline, and Zed use the same command/environment variable arrangement. Streaming HTTP clients can use https://crawlgraph.com/mcp and carry their own bearer API key. Before relying on specific source features, first confirm the hosted service's tools/list response.

  2. OAuth connector: When the operator enables the reviewed service, use an existing CrawlGraph account to connect to https://crawlgraph.com/mcp/connectors,在原始连接浏览器中登录并批准同意。账户创建不在 within the OAuth flow. The issuer is https://crawlgraph.com,确切资源为 https://crawlgraph.com/mcp/connectors,唯一作用域为 crawlgraph:read. Public clients use authorization code with S256 PKCE, token_endpoint_auth_method=none.

The legacy /mcp also accepts Smithery's ?apiKey=… and base64 JSON ?config=… forms. Credential priority is: header credentials > apiKey > packaged configuration. Prefer using the Authorization header. The connector endpoint rejects API keys, query credentials, and packaged configuration; OAuth tokens are never sent to the public /api/v1 API.

Quota

Both authentication configurations share the account's UTC calendar month counter. Free accounts have 15 backlink calls and 0 gap jobs; accounts with current paid access have 1,000 backlink calls and 50 gap jobs. Paid eligibility follows the backend's current entitlement rules. The release version manifest does not consume research quota. backlink_changes shares the counter with backlinks.

Catalog Tool Input and Cost

  • Catalog listings default to 20 entries, maximum 100 entries.
  • The complete serialized UTF-8 CallToolResult (including structured data, text, and metadata) is limited to 65,536 bytes.
  • Gap tools poll for up to 75 seconds within a 90-second tool budget. Pending results include a job_id and the normalized request. Use that handle and query to resume the same tool; a new valid authorization from the same owner can resume after reconnecting. Polling does not consume gap jobs. After a timeout, cancellation, network loss, or worker expiration, never automatically submit a replacement job: an accepted job may still complete. Cancellation stops further polling. Accepted submissions are still billed; lost or malformed responses are reported as unknown consumption rather than claiming zero consumption.

Outreach Tool

Outreach preserves the backend's ranking by competitor overlap, authority, and domain. Platform filter counts only describe the returned backend sample. Enrichment defaults to 0; explicitly requesting enrich_authority_top=N (0–5) performs up to N additional backlink calls on retained targets. Partial failures preserve completed results, per-item provenance, actual known costs, the latest observed quota, and any unknown consumption.

Legacy Tools

Legacy tools retain their original fields and defaults: backlinks defaults to 1,000 rows in the public API, maxLarge 10,000; outreach uses enrich_top, default 10, max 25, one external link call per enrichment. The legacy gap tool submits and polls within its existing 90-second window, with no catalog job_id input. Check the chosen configuration before estimating quota usage.

Interpreting Results

Common Crawl is a periodic observation, not real-time link monitoring. A named release source cannot prove that a page currently links to the target. A removed referring domain means it was not observed in the new snapshot, not proof of real-time deletion. Unavailable comparison differs from zero change; an unknown total and a source-cap lower bound differ from a completely empty result. Gap sources are saved at execution time and retained across subsequent polls. Older unauthenticated artifacts report legacy_unverified and an empty release identifier. Referring-domain overlap only suggests research candidates, and does not mean the publisher has never heard of you.

Example research prompt:

Find backlink gaps for mine.example against a.example and b.example. If pending, resume the returned job without resubmitting. Report provenance, caps and quota use before proposing any optional authority enrichment.

Applicable Scenarios

  • Provide external link research capabilities for MCP clients such as Claude, Cursor, and Cline.
  • Competitor backlink gap analysis.
  • Discover candidate targets for outreach research.

Limitations

  • Catalog approval and real Claude/OpenAI compatibility verification remain to be completed. No claim is made to have obtained a Verified listing or badge.
  • This checked-out source version is 0.4.0; this does not represent the current npm or hosted version. Verify each distribution version separately using the operator runbook linked in DEPLOY.md.
  • Retrieval of confidential client methods and metadata documents is not supported. Callbacks must be exact HTTPS URLs approved by the operator. OpenAI callbacks must come from the actual portal; this repository does not provide guessed callbacks.
  • Authorization and code exchange require exact original resource values.
  • Refresh rotation has no retry grace period: concurrent reuse revokes the entire family, and a lost token response may requirereconnection.
  • Nodes write limited JSON telemetry to stderr; logs omit parameters, domains, results, job/account/authorization/client/source IDs, caller request IDs, exception text, URLs, headers, configuration, and credentials.
  • OAuth source admission groups IPv6 addresses by /64 only in local bucket keys; mapped IPv4 addresses use the same buckets as their IPv4 forms.
  • The build is also a TypeScript check; no separate lint script is configured. Tests use the installed SDK, local HTTP fixtures, and fake private/public backend replies, require permission to bind loopback sockets, and never need production credentials or live provider access. Node fixtures cannot prove the backend's SQLite transactions, quota isolation, or query pinning; these are covered by separate crawlback backend HTTP tests and the full release gate.