Connect to TrustedAPIs MCP

MCP Endpoint

https://trustedapis.com/mcp

HTTP transport for Model Context Protocol

Authentication

No authentication required

Public read access with rate limiting

Available Tools

verify_api

Quick Check

Quick trust check for an agent about to call a third-party API.

Input Parameters

slug string required* API slug (preferred)
name string required* API name (if slug unknown)
category string optional Disambiguation hint

*Either slug or name is required

Example Request

{
  "method": "verify_api",
  "params": {
    "slug": "stripe"
  }
}

Example Response

{
  "found": true,
  "slug": "stripe",
  "name": "Stripe",
  "kind": "api",
  "status": "listed",
  "overall_score": 86.2,
  "rubric_version": "v1",
  "scored_at": "2026-09-18T00:00:00Z",
  "security_flags": [],
  "open_incidents": [],
  "recommendation": "prefer",
  "notes": "Prefer official SDK; keys never in query string.",
  "docs_url": "https://docs.stripe.com"
}

get_api_score

Full Breakdown

Get complete dimension breakdown and scoring details.

Input Parameters

slug string required API slug

Example Request

{
  "method": "get_api_score",
  "params": {
    "slug": "stripe"
  }
}

list_category

Browse

List APIs in a specific category, sorted by trust score.

Input Parameters

category string required Category name
limit number optional Max results (default: 20, max: 100)
offset number optional Pagination offset

Example Request

{
  "method": "list_category",
  "params": {
    "category": "payments",
    "limit": 10
  }
}

report_incident

Report

Report a security incident or issue. Does not automatically affect scores.

Input Parameters

slug string required API slug
title string required Incident title
summary string required Incident description
source_url string optional Source URL
severity_guess string optional Severity estimate

Example Request

{
  "method": "report_incident",
  "params": {
    "slug": "example-api",
    "title": "Service outage",
    "summary": "API returning 500 errors for 2 hours",
    "severity_guess": "high"
  }
}

Integration Examples

Claude Desktop Configuration

Add to your Claude Desktop MCP settings:

{
  "mcpServers": {
    "trustedapis": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://trustedapis.com/mcp"
      ]
    }
  }
}

Cursor Configuration

Add to your Cursor MCP configuration:

{
  "mcp": {
    "servers": {
      "trustedapis": {
        "url": "https://trustedapis.com/mcp"
      }
    }
  }
}

Custom Agent Integration

Direct HTTP integration for custom agents:

import requests

def verify_api(slug):
    response = requests.post(
        "https://trustedapis.com/mcp",
        json={
            "method": "verify_api",
            "params": {"slug": slug}
        }
    )
    return response.json()

# Check before calling an API
result = verify_api("stripe")
if result["recommendation"] == "prefer":
    # Safe to proceed with API call
    pass

Rate Limits & Usage

Public Access

  • 100 requests per minute per IP
  • 1000 requests per hour per IP
  • No authentication required
  • Read-only access

Best Practices

  • Cache results when possible
  • Use slug instead of name for lookups
  • Implement exponential backoff
  • Respect rate limit headers

Start Building with MCP

Integrate TrustedAPIs verification into your agent workflows today.