CanonicAI — cited Answers corpus
Read-only hosted MCP over CanonicAI's cited Answers corpus on canonicai.com.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"canonicai-answers": {
"url": "https://canonicai.com/api/mcp"
}
}
}遠端端點
https://canonicai.com/api/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢list_answers(limit, offset)
List published CanonicAI answer summaries from the static Answers corpus. Returns slug, id, question, canonical URLs, and citation counts.
輸入結構描述
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 0,
"description": "Maximum summaries to return."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Number of summaries to skip."
}
},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"answers": {
"type": "array",
"items": {
"type": "object",
"required": [
"slug",
"id",
"question",
"url",
"jsonUrl",
"citationCount"
],
"properties": {
"slug": {
"type": "string"
},
"id": {
"type": "string"
},
"question": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"jsonUrl": {
"type": "string",
"format": "uri"
},
"citationCount": {
"type": "integer"
}
}
}
}
},
"required": [
"count",
"answers"
]
}🟢get_answer(slug)
Return one Answer contract v0 record with citations for a known slug. Never fabricates content for unknown slugs.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Answer slug from answers/index.json."
}
},
"required": [
"slug"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"question": {
"type": "string"
},
"shortAnswer": {
"type": "string"
},
"answer": {
"type": "string"
},
"home": {
"type": "string"
},
"citations": {
"type": "array",
"items": {
"type": "object"
}
},
"url": {
"type": "string",
"format": "uri"
},
"code": {
"type": "string",
"enum": [
"not_found"
]
},
"message": {
"type": "string"
}
},
"required": [
"id",
"slug",
"question",
"answer",
"citations",
"url"
]
}🟢search_answers(q, limit)
Search CanonicAI answers by simple deterministic token scoring over question, shortAnswer, and answer fields.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query."
},
"limit": {
"type": "integer",
"minimum": 0,
"description": "Maximum matches to return."
}
},
"required": [
"q"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"count": {
"type": "integer"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"score",
"slug",
"id",
"question",
"url",
"jsonUrl",
"citationCount"
],
"properties": {
"score": {
"type": "integer"
},
"slug": {
"type": "string"
},
"id": {
"type": "string"
},
"question": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"jsonUrl": {
"type": "string",
"format": "uri"
},
"citationCount": {
"type": "integer"
},
"shortAnswer": {
"type": "string"
}
}
}
}
},
"required": [
"query",
"count",
"matches"
]
}🟢list_canons(limit, offset)
List published CanonicAI domain canons from the static canon bundle. Returns slug, action statement, construct/source counts, and canonical URLs.
輸入結構描述
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 0,
"description": "Maximum summaries to return."
},
"offset": {
"type": "integer",
"minimum": 0,
"description": "Number of summaries to skip."
}
},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"canons": {
"type": "array",
"items": {
"type": "object",
"required": [
"slug",
"action_statement",
"n_constructs",
"n_source_works",
"url",
"jsonUrl"
],
"properties": {
"slug": {
"type": "string"
},
"action_statement": {
"type": "string"
},
"n_constructs": {
"type": "integer"
},
"n_source_works": {
"type": "integer"
},
"url": {
"type": "string",
"format": "uri"
},
"jsonUrl": {
"type": "string",
"format": "uri"
},
"date_modified": {
"type": "string"
}
}
}
}
},
"required": [
"count",
"canons"
]
}🟢get_canon(slug)
Return one canon-v1 record (constructs, relationships, open divergences, provenance, source works) for a known slug. Never fabricates content for unknown slugs; returns close-match slugs instead.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Canon slug from canons/index.json."
}
},
"required": [
"slug"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"action_statement": {
"type": "string"
},
"constructs": {
"type": "array",
"items": {
"type": "object"
}
},
"relationships": {
"type": "array",
"items": {
"type": "object"
}
},
"open_divergences": {
"type": "array",
"items": {
"type": "object"
}
},
"coverage": {
"type": "object"
},
"provenance": {
"type": "object"
},
"source_works": {
"type": "array",
"items": {
"type": "object"
}
},
"guide_url": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"code": {
"type": "string",
"enum": [
"not_found"
]
},
"message": {
"type": "string"
},
"closeMatches": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"slug",
"constructs",
"url"
]
}🟢search_constructs(q, canon, limit)
Search construct names and definitions across all canons (or one canon) by deterministic token scoring.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query."
},
"canon": {
"type": "string",
"description": "Restrict to one canon slug."
},
"limit": {
"type": "integer",
"minimum": 0,
"description": "Maximum matches to return."
}
},
"required": [
"q"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"count": {
"type": "integer"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"score",
"canon",
"name",
"definition",
"url"
],
"properties": {
"score": {
"type": "integer"
},
"canon": {
"type": "string"
},
"name": {
"type": "string"
},
"definition": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
},
"required": [
"query",
"count",
"matches"
]
}社群
證據