Exa MCP for web search and web crawling!
This report presents the forensic synthetic code analysis of exa-labs/exa-mcp-server, a TypeScript project with 4,717 GitHub stars. SynthScan v2.0 examined 28,492 lines of code across 76 source files, recording 46 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 3.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 46 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | npm.readme.md | 25 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 45 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 57 | claude mcp add --transport stdio --env EXA_API_KEY=your_api_key exa -- npx -y exa-mcp-server | CODE |
| HIGH | npm.readme.md | 75 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 87 | codex mcp add --env EXA_API_KEY=your_api_key exa -- npx -y exa-mcp-server | CODE |
| HIGH | npm.readme.md | 103 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 124 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 145 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 165 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 185 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | npm.readme.md | 205 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | README.md | 304 | "EXA_API_KEY": "your_api_key" | CODE |
| HIGH | llm_mcp_docs.txt | 4068 | "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/toolRegistry.ts | 134 | export function requiresUserProvidedApiKey(toolId: ToolId): boolean { | CODE |
| LOW | src/tools/validation.ts | 25 | export function lenientOptionalPositiveNumber() { | CODE |
| LOW | src/tools/agentCreateRun.ts | 21 | export function registerAgentCreateRunTool(server: McpServer, config?: AgentToolConfig): void { | CODE |
| LOW | src/tools/agentWaitForRun.ts | 43 | export function registerAgentWaitForRunTool(server: McpServer, config?: AgentToolConfig): void { | CODE |
| LOW | src/tools/agentCancelRun.ts | 9 | export function registerAgentCancelRunTool(server: McpServer, config?: AgentToolConfig): void { | CODE |
| LOW | src/tools/linkedInSearch.ts | 11 | export function registerLinkedInSearchTool(server: McpServer, config?: { exaApiKey?: string; userProvidedApiKey?: boolea | CODE |
| LOW | src/tools/webSearchAdvanced.ts | 11 | export function registerWebSearchAdvancedTool(server: McpServer, config?: { exaApiKey?: string; userProvidedApiKey?: boo | CODE |
| LOW | src/tools/companyResearch.ts | 11 | export function registerCompanyResearchTool(server: McpServer, config?: { exaApiKey?: string; userProvidedApiKey?: boole | CODE |
| LOW | src/tools/deepResearchStart.ts | 10 | export function registerDeepResearchStartTool(server: McpServer, config?: { exaApiKey?: string; userProvidedApiKey?: boo | CODE |
| LOW | src/tools/deepResearchCheck.ts | 15 | export function registerDeepResearchCheckTool(server: McpServer, config?: { exaApiKey?: string; userProvidedApiKey?: boo | CODE |
| LOW | src/tools/agentGetRunOutput.ts | 10 | export function registerAgentGetRunOutputTool(server: McpServer, config?: AgentToolConfig): void { | CODE |
| LOW | src/utils/exaResponseSanitizer.ts | 286 | export function sanitizeDeepSearchStructuredResponse(response: ExaDeepSearchResponse | unknown): Record<string, unknown> | CODE |
| LOW | src/utils/mcpClientMetadata.ts | 78 | export function extractInitializeClientInfo(body: string | undefined): McpClientInfo | undefined { | CODE |
| LOW | src/utils/mcpClientMetadata.ts | 99 | export function sanitizeMcpClientMetadata(metadata: unknown): McpClientMetadata | undefined { | CODE |
| LOW | src/utils/mcpClientMetadata.ts | 137 | export function serializeMcpClientMetadata(value: unknown): string | undefined { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | llm_mcp_docs.txt | 247 | [Amazon Q CLI](https://github.com/aws/amazon-q-developer-cli) is an open-source, agentic coding assistant for terminals. | CODE |
| MEDIUM | llm_mcp_docs.txt | 288 | [BeeAI Framework](https://i-am-bee.github.io/beeai-framework) is an open-source framework for building, deploying, and s | CODE |
| MEDIUM | llm_mcp_docs.txt | 819 | [VS Code](https://code.visualstudio.com/) integrates MCP with GitHub Copilot through [agent mode](https://code.visualstu | CODE |
| MEDIUM | llm_mcp_docs.txt | 831 | [Warp](https://www.warp.dev/) is the intelligent terminal with AI and your dev team's knowledge built-in. With natural l | CODE |
| MEDIUM | llm_mcp_docs.txt | 855 | [Windsurf Editor](https://codeium.com/windsurf) is an agentic IDE that combines AI assistance with developer workflows. | CODE |
| MEDIUM | llm_mcp_docs.txt | 888 | [Zencoder](https://zecoder.ai) is a coding agent that's available as an extension for VS Code and JetBrains family of ID | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | llm_mcp_docs.txt | 2671 | except Exception as error: | CODE |
| LOW | llm_mcp_docs.txt | 3309 | except Exception as exc: | CODE |
| LOW⚡ | llm_mcp_docs.txt | 3375 | except Exception as exc: | CODE |
| LOW⚡ | llm_mcp_docs.txt | 3384 | except Exception as exc: | CODE |
| LOW⚡ | llm_mcp_docs.txt | 3391 | except Exception as exc: | CODE |
| LOW | llm_mcp_docs.txt | 4578 | except Exception as e: | CODE |
| LOW | llm_mcp_docs.txt | 6121 | except Exception: | CODE |
| MEDIUM | llm_mcp_docs.txt | 3370 | def message_handler(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills/search/SKILL.md | 24 | ## Step 1: Assess the Query | COMMENT |
| LOW | skills/search/SKILL.md | 65 | ## Step 2: Dispatch Subagents | COMMENT |
| LOW | skills/search/SKILL.md | 142 | ## Step 3: Compile Results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | api/mcp.ts | 580 | async function handleRequest(request: Request, options?: { forceOAuth?: boolean }): Promise<Response> { | CODE |