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.tech, 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_51H3aKLkdsjfhDKJSH38djfhksd")
→ "key=[STRIPE_LIVE_SECRET_KEY_REDACTED]"

What It Detects

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

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.0.tar.gz (3.4 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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: classifinder_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for classifinder_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53f138955352a4d0ab8583a57b71731fe98cf92b2b4b55a95eb70ab250be7f0c
MD5 1c940f9aa19e1ee5f0e6552e082d4e38
BLAKE2b-256 2b810351a3a2239ffb81010aeb3913329e29fb71f27e250caa9bf4ce1fc99e14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for classifinder_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19caec14d6583b27f7e6a6c49a96f172458f8a149f01b3f445e1d63e5c306047
MD5 efb020655b44a78ac178d16fd1fdaef7
BLAKE2b-256 c0753c5cda1b470961f0d1c2b46989aa2b87c4b4b3da57cb16120c53277bde5e

See more details on using hashes here.

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