Data and APIs
Search, read and call 125+ data APIs: sanctions, barcodes, IP intelligence, companies, holidays
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"catalog": {
"url": "https://dataandapis.com/mcp"
}
}
}遠端端點
https://dataandapis.com/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢search_apis(query, limit)
Find APIs on dataandapis.com by the data they provide (e.g. 'sanctions screening', 'barcode nutrition', 'IP geolocation', 'company by domain', 'public holidays'). Returns up to 10 matches with slug, one-line summary, base URL and docs. Follow with get_api for the endpoints.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What data or capability you are looking for, in plain words."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"default": 10
}
},
"required": [
"query"
]
}🟢get_api(slug)
Full reference for one API: every endpoint with method, path, path and query parameters with example values, request body and an example response, plus the token cost per call. Use the slug from search_apis.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "API slug, e.g. 'sanctions' or 'barcode-lookup'."
}
},
"required": [
"slug"
]
}🟢call_api(slug, path, method, query, body)
Make a live request to a dataandapis.com API with the user's API key (sent as X-Api-Key on this MCP connection). Give the API slug, the endpoint path from get_api (path parameters already filled in, e.g. '/v1/products/3017620422003'), optional query parameters and, for POST, a JSON body. Most calls cost 1 token.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"path": {
"type": "string",
"description": "Endpoint path such as '/v1/screen'. A leading '/v1' is added when missing."
},
"method": {
"type": "string",
"enum": [
"GET",
"POST"
],
"default": "GET"
},
"query": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
},
"description": "Query parameters."
},
"body": {
"description": "JSON body for POST endpoints."
}
},
"required": [
"slug",
"path"
]
}社群
證據