# AI Scanner (npm · ai-scanner-mcp)

Scan codebases for LLM/AI SDK usage, exposed API tokens, and hardcoded secrets.

- Trust score: 64/100 (medium)
- Change this week: +46
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `ai-scanner-mcp`: 64/100 (this document), [markdown](https://verifymcp.io/servers/aakashbhardwaj27-ai-scanner/ai-scanner-mcp.md), [page](https://verifymcp.io/servers/aakashbhardwaj27-ai-scanner/ai-scanner-mcp)

## Channel facts

- Registry: `npm`
- Package: `ai-scanner-mcp`
- Version: `1.0.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 19/100
  - Repository check failed: the declared repository URL redirects; it must resolve directly.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 134 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 77/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 343 tokens (~114/item across 3 items; 3 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add aakashbhardwaj27-ai-scanner -- npx -y ai-scanner-mcp
```

### Codex

```bash
codex mcp add aakashbhardwaj27-ai-scanner -- npx -y ai-scanner-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "aakashbhardwaj27-ai-scanner": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "ai-scanner-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add aakashbhardwaj27-ai-scanner --command npx --arg -y --arg ai-scanner-mcp
```

### Hermes

```yaml
mcp_servers:
  aakashbhardwaj27-ai-scanner:
    command: "npx"
    args: ["-y", "ai-scanner-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "aakashbhardwaj27-ai-scanner": {
      "command": "npx",
      "args": [
        "-y",
        "ai-scanner-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 64, +40)

- [security regression] Provenance: fail → unverified
- [security regression] Install scripts: pass → unverified
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional regression] License: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Maintenance: pass → unverified
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Schema quality: unverified → excellent
- [functional] Licence: MIT

### 2026-08-01 (score 24, +8)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] License: unverified → pass
- [functional] Licence: MIT

### 2026-07-31 (score 16, −24)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-28 (score 40, +22)

- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: unverified
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: pass
- [functional] First check of Tool coverage: 100

### 2026-07-27 (score 18)

First indexed and scored.

## MCP tools (3)

### `scan_directory` (~166 tokens)

Scan a directory for LLM SDK usage, AI frameworks, exposed API tokens, and hardcoded secrets. Returns all findings grouped by type (token, secret, sdk, framework, endpoint, model) with file locations and severity levels.

Input parameters:

- `ai_only` (boolean): If true, only scan for AI-specific patterns (skip generic secrets like Stripe, GitHub tokens, etc.)
- `directory` (string, required): Absolute or relative path to the directory to scan
- `include_endpoints` (boolean): If true, detect LLM API endpoint URLs
- `include_models` (boolean): If true, detect model name references (gpt-4, claude, etc.)
- `scan_env` (boolean): If true, include .env files in the scan (skipped by default)

### `check_secrets` (~107 tokens)

Security check — scan a directory for exposed API tokens and hardcoded secrets only. Returns pass/fail with a list of any exposed credentials found. Use this before committing code or in CI pipelines.

Input parameters:

- `ai_only` (boolean): If true, only check for AI-specific tokens (skip Stripe, GitHub, etc.)
- `directory` (string, required): Absolute or relative path to the directory to scan
- `scan_env` (boolean): If true, include .env files in the scan

### `ai_inventory` (~70 tokens)

Get an inventory of all AI/LLM technologies used in a codebase — which SDKs are imported, which frameworks are integrated, which models are referenced, and which provider APIs are called. No secret detection, just awareness.

Input parameters:

- `directory` (string, required): Absolute or relative path to the directory to scan

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/aakashbhardwaj27-ai-scanner/ai-scanner-mcp#diagnostics

## Score history

- 2026-08-03: 64
- 2026-08-02: 64
- 2026-08-01: 24
- 2026-07-31: 16
- 2026-07-30: 40
- 2026-07-28: 40
- 2026-07-27: 18

## Links

- npm package: https://www.npmjs.com/package/ai-scanner-mcp
- Socket report: https://socket.dev/npm/package/ai-scanner-mcp
- Changelog RSS feed: https://verifymcp.io/servers/aakashbhardwaj27-ai-scanner/ai-scanner-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/aakashbhardwaj27-ai-scanner/ai-scanner-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/aakashbhardwaj27-ai-scanner/ai-scanner-mcp
