certindex-mcp
This server provides MCP tools to query the CertIndex Certificate Transparency (CT) log index, enabling search and retrieval of TLS/SSL certificate metadata, domain certificate history, subdomain enumeration, and expiration tracking.
search_certificates: Search the CT index by domain, Common Name (CN), SAN, issuer, validity (expired/unexpired), and wildcard status, with pagination support.get_certificate: Fetch full details for a single certificate by its SHA-256 fingerprint, with optional enrichment data (RDAP, DNS, ASN/hosting context).get_domain_certificates: List all certificates ever issued for an exact domain, with options to filter to valid-only certs and include enrichment data.get_subdomains: Enumerate unique subdomains of a given domain observed in CT logs, with pagination support.get_latest_cert: Retrieve the most recently issued certificate for a domain, with optional enrichment data.get_expiring_certs: Find certificates for a domain expiring within a specified number of days (default: 30).
These tools support use cases such as certificate issuance tracking, domain security analysis, subdomain discovery, and certificate lifecycle management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@certindex-mcpList all TLS certificates for example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
certindex-mcp
An MCP (Model Context Protocol) server that exposes CertIndex's Certificate Transparency search tools to any MCP-compatible client (Claude Desktop, the MCP Inspector, Continue, etc.).
CertIndex indexes the full public CT corpus (~5 M certificates, growing ~100 k/day). This server wraps the public CertIndex REST API so an LLM can ask questions like:
"List every TLS certificate ever issued for
example.com.""What subdomains has Let's Encrypt seen for
mycompany.io?""Show me certs expiring in the next 30 days for
api.mycompany.io.""Pull the full PEM and CT log metadata for SHA-256
<fingerprint>."
Why this repo exists
The CertIndex monorepo bundles an MCP server (mounted at
https://api.ctindex.io/mcp) that talks directly to the production
Postgres index. This standalone package is a thin client-side
shim: it speaks MCP to your editor / agent and forwards every tool
call to the hosted CertIndex REST API over HTTPS. Two consequences:
You don't need a copy of the index — sign up for a free API key at https://ctindex.io and you're done.
The package has a tiny dependency footprint (
mcp,httpx,pydantic) — easy to audit, easy to vendor, no DB drivers.
Related MCP server: Certificate Search MCP Server
Install
pip install certindex-mcpOr with uvx for one-shot use:
uvx certindex-mcpTo install the latest development version from source instead:
pip install git+https://github.com/certindex/certindex-mcpQuickstart — Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"certindex": {
"command": "uvx",
"args": ["certindex-mcp"],
"env": {
"CERTINDEX_API_KEY": "ctx_live_..."
}
}
}
}Restart Claude Desktop. The six CertIndex tools (search_certificates,
get_certificate, get_domain_certificates, get_subdomains,
get_latest_cert, get_expiring_certs) appear in the tool tray.
Quickstart — MCP Inspector
export CERTINDEX_API_KEY=ctx_live_...
npx @modelcontextprotocol/inspector uvx certindex-mcpConfiguration
Env var | Default | Description |
| (required) | Your CertIndex API key. Mint one at https://ctindex.io/app/keys |
|
| Override for self-hosted deployments / staging |
|
| Per-request HTTP timeout (seconds) |
Security
Input validation, rate-limit handling, and our supply-chain posture are documented in SECURITY.md. Please report vulnerabilities to security@ctindex.io rather than filing public issues.
Development
git clone https://github.com/certindex/certindex-mcp
cd certindex-mcp
pip install -e ".[dev]"
pytestCI runs on Python 3.11 / 3.12 / 3.13.
License
MIT © CertIndex contributors.
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/certindex/certindex-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server