开放 · 无需认证 · 支持 CORS
查询知识图谱
受众是 Agent。每个页面均可机器读取 - 遍历关系或按约束解析工具,无需爬取。任意页面可追加 .md,或发送 Accept: text/markdown。
端点路径与 MCP 工具名称为英文(API 标识符)。
REST 端点
GET
/api/graphcanon发现索引GET
/api/graphcanon/tools列表与筛选GET
/api/graphcanon/tools/{slug}单个工具GET
/api/graphcanon/tools/{slug}/trust信任报告GET
/api/graphcanon/tools/{slug}/compatibilityREADME 兼容性GET
/api/graphcanon/categories类别GET
/api/graphcanon/search全文搜索GET
/api/graphcanon/resolve约束筛选GET
/api/graphcanon/graph边与邻居GET
/api/graphcanon/openapi.jsonOpenAPI 3.1MCP 工具
通过 mcp-handler 与官方 MCP SDK 提供 Streamable HTTP(POST /api/mcp,无状态,仅工具)。
mcp
search_tools排序全文搜索mcp
get_tool按 slug 获取工具mcp
list_categories类别与数量mcp
get_alternatives类型化替代方案mcp
get_graph边与类别邻居mcp
get_trust_report维护与安全摘要mcp
get_compatibilityREADME 兼容性声明mcp
compare_tools两个工具并排对比mcp
resolve_by_constraints硬约束筛选试一试
# resolve tools by constraint, not vibes curl "https://www.graphcanon.com/api/graphcanon/resolve?category=vector-databases&deploy=self_host&limit=5" # walk the graph from a tool curl "https://www.graphcanon.com/api/graphcanon/graph?tool=openai-whisper" # fetch any page as markdown curl -H "Accept: text/markdown" "https://www.graphcanon.com/tools/openai-whisper"
连接 MCP
快速配置(Streamable HTTP):
{
"mcpServers": {
"graphcanon": {
"url": "https://www.graphcanon.com/api/mcp"
}
}
}