Capability Host Protocol — Public API API

CHP is the governed execution layer of the agentic web. This API exposes a natural-language query endpoint (/ask), the well-known discovery manifests, and the MCP server endpoint. For full tool invocation, connect over MCP at /api/mcp.

Operations 6

GET /ask Natural-language query over CHP knowledge #
POST /ask Natural-language query (POST) #
POST /api/mcp MCP server (Model Context Protocol, streamable HTTP) #
GET /.well-known/agent-card.json A2A agent card (capability manifest) #
GET /.well-known/mcp.json MCP discovery manifest #
GET /.well-known/capabilities.json CHP capability discovery manifest #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/capabilityhostprotocol-com:capability-host-protocol-public-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

capabilityhostprotocol-com-api-openapi.json Raw ↑
{
  "openapi": "3.1.0",
  "info": {
    "title": "Capability Host Protocol — Public API",
    "version": "0.8.0",
    "summary": "Query CHP, discover its capabilities, and connect agents.",
    "description": "CHP is the governed execution layer of the agentic web. This API exposes a natural-language query endpoint (/ask), the well-known discovery manifests, and the MCP server endpoint. For full tool invocation, connect over MCP at /api/mcp.",
    "contact": {
      "name": "Capability Host Protocol",
      "url": "https://capabilityhostprotocol.com"
    },
    "license": {
      "name": "Apache-2.0",
      "identifier": "Apache-2.0"
    }
  },
  "servers": [
    {
      "url": "https://capabilityhostprotocol.com"
    }
  ],
  "paths": {
    "/ask": {
      "get": {
        "operationId": "ask",
        "summary": "Natural-language query over CHP knowledge",
        "description": "Returns the best-matching concept, definition, FAQ, and capabilities for a query. Structured retrieval over real CHP content.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "The question, e.g. \"how does CHP prove what an agent did\"."
          }
        ],
        "responses": {
          "200": {
            "description": "A structured answer.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AskResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "askPost",
        "summary": "Natural-language query (POST)",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "q": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A structured answer.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AskResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "MCP server (Model Context Protocol, streamable HTTP)",
        "description": "JSON-RPC 2.0 over streamable HTTP. Tools: explain, define, how_to_adopt, get_example, faq, list_capabilities, get_capability, list_adapters, search. Resources: chp://glossary, chp://concepts, chp://quickstart, chp://capabilities. Every tool call is wrapped as hash-chained CHP evidence. See /.well-known/mcp.json.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "A JSON-RPC 2.0 request."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A JSON-RPC 2.0 response (application/json or text/event-stream)."
          }
        }
      }
    },
    "/.well-known/agent-card.json": {
      "get": {
        "operationId": "agentCard",
        "summary": "A2A agent card (capability manifest)",
        "responses": {
          "200": {
            "description": "The A2A agent card.",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/.well-known/mcp.json": {
      "get": {
        "operationId": "mcpManifest",
        "summary": "MCP discovery manifest",
        "responses": {
          "200": {
            "description": "MCP endpoint, transport, and tools.",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/.well-known/capabilities.json": {
      "get": {
        "operationId": "capabilities",
        "summary": "CHP capability discovery manifest",
        "responses": {
          "200": {
            "description": "The declared capability surface.",
            "content": {
              "application/json": {}
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AskResponse": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "answer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "concept",
                  "definition",
                  "faq"
                ]
              },
              "title": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "learnMore": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "related": {
            "type": "object"
          },
          "sources": {
            "type": "object"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "example": "invalid_request"
              },
              "message": {
                "type": "string"
              },
              "hint": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}