Securitytrails MCP server

Connect Securitytrails to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Securitytrails MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the get ip details tool in Securitytrails
  • Use the search ips tool in Securitytrails
  • Use the get dns history tool in Securitytrails
  • Use the get domain info tool in Securitytrails
  • Use the get associated domains tool in Securitytrails
  • Use the get whois tool in Securitytrails

Supported Tools

get_ip_details

Get IP Details

Retrieve comprehensive details for an IP address including WHOIS information, neighboring IPs, and user agents observed in the last 30 days. Specify which data to include using the boolean flags.

search_ips

Search IPs

Search for IP addresses using a DSL query. Filter by IP ranges, PTR patterns, open ports, and more. Optionally retrieve statistics (reverse DNS patterns, open ports, total results) instead of records.

get_dns_history

Get DNS History

Retrieve historical DNS records for a domain by record type. Tracks DNS changes over time, useful for uncovering original IPs behind proxying services like Cloudflare, tracking infrastructure changes, and security investigations.

get_domain_info

Get Domain Info

Retrieve current DNS records and metadata for a domain. Returns A, AAAA, MX, NS, SOA, and TXT records along with hosting provider information and record statistics (e.g., how many other hostnames share the same IP).

get_associated_domains

Get Associated Domains

Find domains related to a given domain, generally those owned by the same company or registrant. Uses WHOIS data (including historical records when current WHOIS is protected) to identify related domains.

get_whois

Get WHOIS

Retrieve current WHOIS registration data for a domain, including registrant contact information, registrar, creation/expiration dates, and name servers. WHOIS data is updated daily.

search_domains

Search Domains

Search and filter domains using a powerful DSL (SQL-like query language) or structured filters. Searchable fields include IPv4/IPv6 address, nameserver, WHOIS email/organization/name, SOA email, TLD, apex domain, keyword, and more. Use the **query** parameter for DSL syntax like `whois_email = '[email protected]'`, or use **filter** for simple key-value matching. Optionally retrieve statistics instead of records by setting **statsOnly**.

get_whois_history

Get WHOIS History

Retrieve historical WHOIS records for a domain. Shows how ownership, registration details, and contact information have changed over time. Historical WHOIS data can help uncover protected registration details.

discover_subdomains

Discover Subdomains

Enumerate subdomains for a given domain. Useful for attack surface mapping, reconnaissance, and discovering hidden or forgotten infrastructure.

get_ssl_certificates

Get SSL Certificates

Retrieve current and historical SSL/TLS certificate information for a domain. Includes certificate transparency data, certificate details, and issuance history.

get_domain_tags

Get Domain Tags

Retrieve categorized metadata tags for a domain. Tags provide classification and categorical information about the domain's purpose, technology, and characteristics.

get_account_usage

Get Account Usage

Retrieve API usage for the account associated with the current API key.

Connect Securitytrails to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Securitytrails in Metorial. In your Metorial portal, enable the Securitytrails MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Securitytrails tools.

Run Securitytrails through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Securitytrails and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Securitytrails tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Securitytrails

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Sentry

Track, manage, and resolve application errors and performance issues. List, query, and bulk-update issues and error events with filters like status, assignment, and tags. Create and manage releases, associate commits, and upload source maps. Configure issue alert rules and metric alert rules with notification actions. Set up cron monitors to detect missed or failed scheduled jobs. Build custom dashboards with configurable widgets. Run ad-hoc Discover queries across errors and transactions for performance analysis. Manage organizations, teams, projects, and members. Provision users via SCIM. Access session replay data.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Technical notes for Securitytrails

Query current and historical DNS, WHOIS, IP, and domain intelligence data. Look up domain details including DNS records, hosting providers, and subdomains. Retrieve current and historical WHOIS registration data. Search for domains and IPs using a powerful DSL query interface. Discover associated domains, explore IP neighbors, fetch IP WHOIS and user agent data, and access SSL certificate information. All operations are read-only data queries.

Frequently asked questions

Common questions about connecting Securitytrails to AI agents with Metorial.

  1. How many tools does the Securitytrails MCP server have?
    The Securitytrails MCP server exposes 13 tools, including Get IP Details, Search IPs, Get DNS History. Each one is governed and traced through Metorial.
  2. Securitytrails exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Securitytrails MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Securitytrails and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Securitytrails MCP server yourself or use the hosted gateway.

Connect Securitytrails to production AI agents

See how Metorial gives your team governed access to Securitytrails, with tracing and security controls built in.