Skip to main content

MCP server for ClassiFinder — secret scanning tools for AI agents

Project description

ClassiFinder MCP Server

An MCP server that gives AI agents the ability to scan text for leaked secrets and redact them before they reach an LLM.

Installation

pip install classifinder-mcp

Setup

Get a free API key at classifinder.ai, then add to your agent config:

Claude Code

{
  "mcpServers": {
    "classifinder": {
      "command": "classifinder-mcp",
      "env": {
        "CLASSIFINDER_API_KEY": "ss_live_your_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "classifinder": {
      "command": "classifinder-mcp",
      "env": {
        "CLASSIFINDER_API_KEY": "ss_live_your_key_here"
      }
    }
  }
}

Tools

classifinder_scan

Scan text for leaked secrets and credentials. Returns findings with type, severity, confidence, and remediation guidance.

Agent: "Check this config for secrets"
→ classifinder_scan(text="AWS_ACCESS_KEY_ID=AKIAJGKJHSKLDJFH3284")
→ Found 1 secret: aws_access_key (critical, confidence 0.95)

classifinder_redact

Replace all detected secrets with safe placeholders. Returns clean text safe to forward to any LLM.

Agent: "Clean this before sending to the model"
→ classifinder_redact(text="key=sk_live_EXAMPLE_KEY_HERE")
→ "key=[STRIPE_LIVE_SECRET_KEY_REDACTED]"

What It Detects

106 secret types including AWS keys, Stripe keys, GitHub tokens, OpenAI/Anthropic/Cohere API keys, database connection strings, private keys, credit card numbers, and more.

See Also

For CLI scanning instead of MCP, see cfsniff — a command-line tool that scans files, shell history, and configs for secrets (pipx install cfsniff).

Disclaimer

ClassiFinder is a detection aid, not a guarantee. No scanner catches 100% of secrets in 100% of formats. See our Terms of Service for full details.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

classifinder_mcp-0.1.2.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

classifinder_mcp-0.1.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file classifinder_mcp-0.1.2.tar.gz.

File metadata

  • Download URL: classifinder_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for classifinder_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7041bb475be45d53819d36eb3230297127e0e540094ceedd1bdee5ba5ce412e2
MD5 bab13a0e7d934e5c8558012b87f2d610
BLAKE2b-256 ed651350c2c6109561b4c645d80ea9fe417fe8a6e969910d92fda22ac21663b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for classifinder_mcp-0.1.2.tar.gz:

Publisher: release.yml on ClassiFinder/classifinder-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file classifinder_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for classifinder_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81e581af2dd3a22960b1e913e566b582b949303d4f0ec13b79465a163041e392
MD5 a7c147807f9501b59f85987ebba14f80
BLAKE2b-256 ee8c91c86d5cc4b74b5789764e5a3e43bce515dcfdd2d21d871ddcc5ffc8b8a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for classifinder_mcp-0.1.2-py3-none-any.whl:

Publisher: release.yml on ClassiFinder/classifinder-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page