v1.0 · Free · No Auth Required

Agent Discovery API

The standard endpoint for AI agent frameworks to discover and query MCP tools. Compatible with Agent Zero, AutoGPT, LangChain, CrewAI, and any MCP-aware framework.

Base URL: https://mcphubz.com/api

Endpoints

GET/api/discover

Query the full MCP server registry. The primary endpoint for agent framework integration.

Parameters
categorystringFilter by category: database, tools, communication, integration, api, security, analytics, automation, data, productivity
searchstringFull-text search across name, description, and tags
minScorenumberMinimum health score (0-100). Use 80+ for production-grade servers.
limitnumberResults per page. Max 100. Default 20.
offsetnumberPagination offset. Default 0.
sortstringSort by: qualityScore (default), stars, downloads
formatstringResponse format: json (default) or mcp (MCP-native tool schema)
Example: GET /api/discover?category=database&minScore=80&format=mcp
GET/api/health

Get the health score and breakdown for a specific MCP server.

Parameters
serverstringServer slug (e.g. github-mcp-server)
githubUrlstringFull GitHub URL of the server
Example: GET /api/health?server=github-mcp-server
GET/api/servers

Full server listing with pagination and filtering. Powers the MCPHubz directory.

Parameters
categorystringFilter by category
searchstringSearch query
sortstringSort field
limitnumberResults per page
offsetnumberPagination offset
Example: GET /api/servers?category=database&sort=stars&limit=10

Integration Examples

Python (Agent Zero)
import requests

# Discover all high-quality MCP servers
response = requests.get(
    "https://mcphubz.com/api/discover",
    params={
        "minScore": 80,
        "format": "mcp",
        "limit": 50
    }
)

tools = response.json()["tools"]
for tool in tools:
    print(f"{tool['name']}: {tool['description']}")
    print(f"  Install: {tool['installation']}")
    print(f"  Score: {tool['quality_score']}/100")
TypeScript (LangChain / CrewAI)
const response = await fetch(
  'https://mcphubz.com/api/discover?format=mcp&minScore=80',
  { headers: { 'Accept': 'application/json' } }
);

const { tools } = await response.json();

// Use with any MCP-compatible framework
const mcpTools = tools.map(tool => ({
  name: tool.name,
  description: tool.description,
  source: tool.source,
  install: tool.installation,
}));
cURL
# Get top database MCP servers
curl "https://mcphubz.com/api/discover?category=database&minScore=80&format=mcp"

# Get health score for a specific server
curl "https://mcphubz.com/api/health?server=github-mcp-server"

# Search for automation tools
curl "https://mcphubz.com/api/discover?search=automation&sort=stars"

Rate Limits & Authentication

Unauthenticated
100 req/hour
No API key needed
Authenticated
1,000 req/hour
Coming soon
Enterprise
Unlimited
Contact us
CORS
All origins
Access-Control-Allow-Origin: *