Kunkafa
Market forecasts with their own track record, inside Claude, ChatGPT and other MCP apps.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"kunkafa": {
"url": "https://kunkafa.com/mcp"
}
}
}원격 엔드포인트
https://kunkafa.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (9)
🟢list_markets(cursor, limit)
Markets this account can read, each with the durations that have forecasts now, and what it follows. Page with page.nextCursor.
입력 스키마
{
"type": "object",
"properties": {
"cursor": {
"description": "page.nextCursor from the previous reply, to read the next page; omit for the first page",
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[A-Za-z0-9_-]+$"
},
"limit": {
"description": "Items per page, 1 to 50; default 50",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationMarket"
},
"maxItems": 50
},
"following": {
"$ref": "#/$defs/IntegrationFollowing"
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"page": {
"$ref": "#/$defs/IntegrationPage"
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
}
},
"required": [
"data",
"following",
"usage",
"notices",
"page",
"dataUse"
],
"additionalProperties": false,
"$defs": {
"IntegrationFollowing": {
"type": "object",
"additionalProperties": false,
"required": [
"followed",
"followLimit",
"canFollowMore",
"readsEveryMarket",
"message",
"followInApp",
"otherMarkets",
"otherMarketsTotal"
],
"properties": {
"followed": {
"type": "integer",
"minimum": 0,
"description": "Markets on the account's following list, as the app counts them."
},
"followLimit": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "The plan's Following count; null when the account reads every market."
},
"canFollowMore": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "How many more markets can be followed; null when the account reads every market."
},
"readsEveryMarket": {
"type": "boolean"
},
"message": {
"type": "string",
"description": "Plain explanation for the user, including for accounts that read every market."
},
"followInApp": {
"type": "string",
"format": "uri",
"description": "Where the user follows markets in the Kunkafa app."
},
"otherMarkets": {
"type": "array",
"maxItems": 100,
"description": "Catalogue markets the account does not follow, by English name, sorted by name; at most 100 (otherMarketsTotal gives the full count). Any market can still be followed by its slug.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"name"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"name": {
"type": "string",
"minLength": 1
}
}
}
},
"otherMarketsTotal": {
"type": "integer",
"minimum": 0,
"description": "How many catalogue markets the account does not follow."
},
"canFollow": {
"type": "boolean",
"description": "Whether this connection may follow and unfollow markets."
},
"howToAllowFollowing": {
"type": "string",
"minLength": 1,
"description": "Present when canFollow is false."
}
},
"description": "What the account follows and can still follow. Following decides which markets can be read; it happens in the Kunkafa app."
},
"IntegrationMarket": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"name",
"url",
"durations"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"name": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://kunkafa\\.com/markets/[a-z0-9-]+/$"
},
"durations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 40,
"description": "Durations that have forecasts now, shortest first; use these labels in get_outlooks. Empty, with note, when the market has none at the moment."
},
"note": {
"type": "string",
"minLength": 1,
"description": "Present only when the market has no forecasts at the moment."
}
}
},
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationPage": {
"type": "object",
"additionalProperties": false,
"required": [
"total",
"returned",
"nextCursor"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"returned": {
"type": "integer",
"minimum": 0,
"maximum": 50
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[A-Za-z0-9_-]+$"
},
{
"type": "null"
}
]
}
},
"description": "Follow nextCursor until null. Cursors are invalidated by relevant access or market-list changes; restart without a cursor."
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🟢get_outlooks(market, durations, minDuration, maxDuration, maxDurationExclusive, ...)
Current forecasts for one market; one market per call by design, so data is not pulled in bulk. Choose durations (exact or a range) and optionally direction, confidence or target filters. At most 6 durations and 72 forecasts per call; calls can run in parallel.
입력 스키마
{
"type": "object",
"properties": {
"market": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Market slug from list_markets, for example bitcoin"
},
"durations": {
"description": "Exact duration labels from list_markets, for example [\"1 hour\", \"6 hours\"]",
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
}
},
"minDuration": {
"description": "Shortest duration to include, for example \"1 hour\"",
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
},
"maxDuration": {
"description": "Longest duration to include, for example \"1 day\"",
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
},
"maxDurationExclusive": {
"description": "true for \"less than maxDuration\"; default includes maxDuration",
"type": "boolean"
},
"direction": {
"description": "Default both",
"type": "string",
"enum": [
"up",
"down",
"both"
]
},
"minProbabilityPercent": {
"description": "Only forecasts whose probability (Kunkafa's confidence) is at least this",
"type": "number",
"minimum": 0,
"maximum": 100
},
"maxProbabilityPercent": {
"description": "Only forecasts whose probability is at most this",
"type": "number",
"minimum": 0,
"maximum": 100
},
"minTargetPercent": {
"description": "Only targets at least this far from the reference price, in percent",
"type": "number",
"minimum": 0,
"maximum": 10000
},
"maxTargetPercent": {
"description": "Only targets at most this far from the reference price, in percent",
"type": "number",
"minimum": 0,
"maximum": 10000
}
},
"required": [
"market"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"$ref": "#/$defs/IntegrationOutlookSelection"
},
"fieldGuide": {
"$ref": "#/$defs/IntegrationOutlookFieldGuide"
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
}
},
"required": [
"data",
"fieldGuide",
"usage",
"notices",
"dataUse"
],
"additionalProperties": false,
"description": "One market's selected forecasts. Each distinct selection is one disclosure against the allowance; repeating the same selection on unchanged data is not charged again.",
"$defs": {
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationOutlookFieldGuide": {
"type": "object",
"additionalProperties": false,
"required": [
"probabilityPercent",
"movePercent",
"referencePrice",
"sourceAt",
"forecastAt",
"label",
"counts",
"interpretation",
"more"
],
"properties": {
"probabilityPercent": {
"type": "string"
},
"movePercent": {
"type": "string"
},
"referencePrice": {
"type": "string"
},
"sourceAt": {
"type": "string"
},
"forecastAt": {
"type": "string"
},
"counts": {
"type": "string"
},
"interpretation": {
"type": "string"
},
"more": {
"type": "string"
},
"label": {
"type": "string"
},
"withoutForecasts": {
"type": "string",
"minLength": 1
}
}
},
"IntegrationOutlookSelection": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"name",
"url",
"sourceAt",
"selection",
"availableDurations",
"forecasts",
"counts"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"name": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://kunkafa\\.com/markets/[a-z0-9-]+/$"
},
"sourceAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"selection": {
"type": "object",
"additionalProperties": false,
"required": [
"durations",
"direction",
"minProbabilityPercent",
"maxProbabilityPercent",
"minTargetPercent",
"maxTargetPercent"
],
"properties": {
"durations": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 6
},
"direction": {
"enum": [
"up",
"down",
"both"
]
},
"minProbabilityPercent": {
"type": "number"
},
"maxProbabilityPercent": {
"type": "number"
},
"minTargetPercent": {
"type": "number"
},
"maxTargetPercent": {
"type": [
"number",
"null"
]
}
}
},
"availableDurations": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"description": "Durations of this market that have forecasts now; a duration with none is left out."
},
"forecasts": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationSelectedSource"
}
},
"counts": {
"type": "object",
"additionalProperties": false,
"required": [
"forecasts",
"withoutProbability"
],
"properties": {
"forecasts": {
"type": "integer",
"minimum": 0,
"maximum": 72
},
"withoutProbability": {
"type": "integer",
"minimum": 0
}
}
},
"withoutForecasts": {
"type": "array",
"minItems": 1,
"maxItems": 40,
"description": "Asked-for durations with no forecasts: none_now (none at the moment) or no_match (none match the filters). Left out when every duration has forecasts.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"duration",
"reason"
],
"properties": {
"duration": {
"type": "string",
"minLength": 1
},
"reason": {
"enum": [
"none_now",
"no_match"
]
}
}
}
}
},
"description": "The requested selection of one market's current forecasts. Historical performance and selected past results are read with their own operations."
},
"IntegrationSelectedOutput": {
"type": "object",
"additionalProperties": false,
"required": [
"direction",
"movePercent",
"probabilityPercent"
],
"properties": {
"direction": {
"enum": [
"up",
"down"
]
},
"movePercent": {
"type": "number"
},
"probabilityPercent": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"description": "One target-touch forecast. probabilityPercent is Kunkafa's confidence; outputs without one are counted in counts.withoutProbability, not listed."
},
"IntegrationSelectedSource": {
"type": "object",
"additionalProperties": false,
"required": [
"duration",
"sourceAt",
"referencePrice",
"outputs",
"label"
],
"properties": {
"duration": {
"type": "string",
"minLength": 1
},
"sourceAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"forecastAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"referencePrice": {
"type": "number",
"exclusiveMinimum": 0
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationSelectedOutput"
},
"maxItems": 72,
"minItems": 1
},
"label": {
"type": "string",
"pattern": "^[A-Z]$",
"description": "Names the source within its duration (A, B, C…): forecasts made together. Sources are read side by side, never merged."
}
},
"description": "A source group within the selection; several can share a duration. Only groups with forecasts are listed; forecastAt is left out when unknown."
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🟢get_performance(market, probabilityPercent)
How often past forecasts touched their target, by confidence level and period. Pass probabilityPercent for the matching row (headline).
입력 스키마
{
"type": "object",
"properties": {
"market": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Market slug from list_markets, for example bitcoin"
},
"probabilityPercent": {
"description": "A forecast's confidence; the headline shows past results at the nearest published level at or below it",
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"market"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"allOf": [
{
"$ref": "#/$defs/IntegrationPerformance"
},
{
"required": [
"url"
]
}
]
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
},
"fieldGuide": {
"type": "object",
"additionalProperties": false,
"required": [
"periods",
"probabilityThresholdPercent",
"targetsReachedPercent",
"sampleCount",
"latestReport"
],
"properties": {
"periods": {
"type": "string"
},
"probabilityThresholdPercent": {
"type": "string"
},
"targetsReachedPercent": {
"type": "string"
},
"sampleCount": {
"type": "string"
},
"latestReport": {
"type": "string"
}
},
"description": "Plain meanings of the returned fields."
},
"headline": {
"$ref": "#/$defs/IntegrationPerformanceHeadline"
}
},
"required": [
"data",
"usage",
"notices",
"dataUse",
"fieldGuide",
"headline"
],
"additionalProperties": false,
"$defs": {
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationPerformance": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"sourceAt",
"defaultProbabilityThresholdPercent",
"periods"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"sourceAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"defaultProbabilityThresholdPercent": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"periods": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"points"
],
"properties": {
"period": {
"enum": [
"d1",
"d7",
"d30",
"all_time"
]
},
"points": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationPerformancePoint"
}
}
}
},
"minItems": 4,
"maxItems": 4
},
"latestReport": {
"$ref": "#/$defs/IntegrationReportEvidence"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://kunkafa\\.com/markets/[a-z0-9-]+/$",
"description": "The market's page on kunkafa.com."
}
},
"description": "Market-wide historical evidence at each published classifier probability threshold and reporting period. Sample counts and missing rates are preserved; this is not evidence matched to each current output."
},
"IntegrationPerformanceHeadline": {
"type": "object",
"additionalProperties": false,
"required": [
"probabilityThresholdPercent",
"basis",
"periods"
],
"description": "The row to read first: past results at one published confidence level for each reporting period. basis is default (the market's default level) or requested (the nearest level at or below probabilityPercent).",
"properties": {
"probabilityThresholdPercent": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"basis": {
"enum": [
"default",
"requested"
]
},
"periods": {
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"sampleCount",
"targetsReachedPercent",
"status"
],
"properties": {
"period": {
"enum": [
"d1",
"d7",
"d30",
"all_time"
]
},
"sampleCount": {
"type": "integer",
"minimum": 0
},
"targetsReachedPercent": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 100
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"available",
"insufficient"
]
}
}
}
}
}
},
"IntegrationPerformancePoint": {
"type": "object",
"additionalProperties": false,
"required": [
"probabilityThresholdPercent",
"sampleCount",
"targetsReachedPercent",
"status"
],
"properties": {
"probabilityThresholdPercent": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"sampleCount": {
"type": "integer",
"minimum": 0
},
"targetsReachedPercent": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 100
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"available",
"insufficient"
]
}
},
"description": "Published classifier probability threshold and observed target-touch rate. Rates are null for fewer than 100 examples or missing evidence; classifier probability is separate from historical success."
},
"IntegrationReportBreakdown": {
"type": "object",
"additionalProperties": false,
"description": "The market's latest full published report: every settled forecast placed in one of eight bands by how far price travelled toward its target within the duration, as a percent of the distance to the target (100 is the target itself; 300 is three times that distance, not a price change). All eight bands are always present.",
"required": [
"market",
"edition",
"window",
"generatedAt",
"reportUrl",
"bands",
"floors"
],
"properties": {
"market": {
"type": "string"
},
"edition": {
"const": "full"
},
"window": {
"type": "object",
"additionalProperties": false,
"required": [
"from",
"to"
],
"properties": {
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
}
},
"generatedAt": {
"type": "string"
},
"reportUrl": {
"type": "string",
"pattern": "^https://kunkafa\\.com/reports/"
},
"bands": {
"type": "array",
"minItems": 8,
"maxItems": 8,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"key",
"fromPct",
"toPct"
],
"properties": {
"key": {
"type": "string"
},
"fromPct": {
"type": "number"
},
"toPct": {
"type": [
"number",
"null"
]
}
}
}
},
"floors": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"minimumProbabilityPercent",
"settledForecasts",
"bandsPercent",
"up",
"down"
],
"properties": {
"minimumProbabilityPercent": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"settledForecasts": {
"type": "integer",
"minimum": 0
},
"bandsPercent": {
"type": "array",
"minItems": 8,
"maxItems": 8,
"items": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"description": "Share of the settled forecasts in each band, in the order of bands; sums to 100."
},
"up": {
"$ref": "#/$defs/IntegrationReportShares"
},
"down": {
"$ref": "#/$defs/IntegrationReportShares"
}
}
}
}
}
},
"IntegrationReportEvidence": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"status",
"data"
],
"properties": {
"status": {
"const": "available"
},
"data": {
"$ref": "#/$defs/IntegrationReportBreakdown"
}
}
},
{
"type": "object",
"additionalProperties": false,
"required": [
"status",
"data"
],
"properties": {
"status": {
"const": "unavailable"
},
"data": {
"type": "null"
}
}
}
]
},
"IntegrationReportShares": {
"type": "object",
"additionalProperties": false,
"required": [
"settledForecasts",
"bandsPercent"
],
"properties": {
"settledForecasts": {
"type": "integer",
"minimum": 0
},
"bandsPercent": {
"type": "array",
"minItems": 8,
"maxItems": 8,
"items": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"description": "Share of the settled forecasts in each band, in the order of bands; sums to 100."
}
}
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🟢get_results(market, durations)
Recent example forecasts with their outcomes; not a full record.
입력 스키마
{
"type": "object",
"properties": {
"market": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Market slug from list_markets, for example bitcoin"
},
"durations": {
"description": "Only these duration labels, for example [\"1 hour\", \"1 day\"]; default every duration",
"minItems": 1,
"maxItems": 6,
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 24,
"pattern": "^\\d{1,5}\\s*[A-Za-z]{1,8}$"
}
}
},
"required": [
"market"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"allOf": [
{
"$ref": "#/$defs/IntegrationResults"
},
{
"required": [
"url"
]
}
]
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
},
"fieldGuide": {
"type": "object",
"additionalProperties": false,
"required": [
"results",
"probabilityPercent",
"movePercent",
"outcome",
"mfePercent",
"targetProgressPercent"
],
"properties": {
"results": {
"type": "string"
},
"probabilityPercent": {
"type": "string"
},
"movePercent": {
"type": "string"
},
"outcome": {
"type": "string"
},
"mfePercent": {
"type": "string"
},
"targetProgressPercent": {
"type": "string"
}
},
"description": "Plain meanings of the returned fields."
}
},
"required": [
"data",
"usage",
"notices",
"dataUse",
"fieldGuide"
],
"additionalProperties": false,
"$defs": {
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationResult": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"direction",
"predictionAt",
"closedAt",
"probabilityPercent",
"movePercent",
"outcome",
"durationLabel",
"mfePercent",
"targetProgressPercent"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-f0-9]{24}$"
},
"direction": {
"enum": [
"up",
"down"
]
},
"predictionAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"closedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"probabilityPercent": {
"type": "number",
"maximum": 100,
"minimum": 80,
"description": "Rounded to two decimal places. Eligibility uses original confidence strictly above 80%; a qualifying value just above 80% can display as 80% after rounding."
},
"movePercent": {
"type": "number"
},
"outcome": {
"enum": [
"reached",
"not-reached"
]
},
"mfePercent": {
"type": [
"number",
"null"
],
"minimum": 0,
"description": "Recorded furthest favorable price movement in percentage points."
},
"targetProgressPercent": {
"type": [
"number",
"null"
],
"minimum": 0,
"description": "Favorable move as a percentage of target distance; can exceed 100. Missing is null."
},
"durationLabel": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "object",
"additionalProperties": false,
"required": [
"en",
"ar"
],
"properties": {
"en": {
"type": "string"
},
"ar": {
"type": "string"
}
}
}
],
"description": "English label in API and MCP replies; the app hand-off file keeps both languages."
}
},
"description": "A selected completed result; confidence is the value recorded at prediction time, separate from aggregate performance."
},
"IntegrationResults": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"sourceAt",
"results"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"sourceAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"results": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationResult"
}
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://kunkafa\\.com/markets/[a-z0-9-]+/$",
"description": "The market's page on kunkafa.com."
}
},
"description": "Latest eligible completed result for every distinct original duration, across both directions, newest closure first. Previous 90 days; original duration strictly longer than 24 hours and recorded confidence strictly above 80%. Reached and missed targets both qualify. Selected results are not an aggregate success rate or full archive."
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🟢get_usage(cursor, limit)
Remaining allowances, what one get_outlooks call returns, and this connection's permissions, canFollow and expiry. Uses no allowance.
입력 스키마
{
"type": "object",
"properties": {
"cursor": {
"description": "page.nextCursor from the previous reply, to read the next page; omit for the first page",
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[A-Za-z0-9_-]+$"
},
"limit": {
"description": "Items per page, 1 to 50; default 50",
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": false,
"required": [
"permittedMarkets",
"outlookLimits",
"connection"
],
"properties": {
"permittedMarkets": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"maxItems": 50
},
"outlookLimits": {
"type": "object",
"additionalProperties": false,
"required": [
"marketsPerCall",
"maxDurations",
"maxForecasts"
],
"properties": {
"marketsPerCall": {
"const": 1
},
"maxDurations": {
"const": 6
},
"maxForecasts": {
"const": 72
}
},
"description": "What one get_outlooks call can return."
},
"connection": {
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"permissions",
"expiresAt",
"canFollow"
],
"properties": {
"kind": {
"enum": [
"oauth",
"personal_token"
]
},
"permissions": {
"type": "array",
"items": {
"enum": [
"markets:read",
"outlooks:read",
"performance:read",
"results:read",
"usage:read",
"following:write"
]
},
"minItems": 1,
"maxItems": 6,
"uniqueItems": true
},
"expiresAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"staysConnectedWhileUsed": {
"const": true
},
"idleDays": {
"const": 90
},
"canFollow": {
"type": "boolean",
"description": "Whether this connection may follow and unfollow markets (the following:write permission)."
},
"howToAllowFollowing": {
"type": "string",
"description": "Present only when canFollow is false: how the user allows following for this connection."
}
},
"description": "This connection's permissions and expiry. An MCP (OAuth) connection stays connected while used: it expires after idleDays without use, at most one year after it was approved. A reconnect from the same app replaces it without using another connection."
}
}
},
"following": {
"$ref": "#/$defs/IntegrationFollowing"
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"page": {
"$ref": "#/$defs/IntegrationPage"
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
}
},
"required": [
"data",
"following",
"usage",
"notices",
"page",
"dataUse"
],
"additionalProperties": false,
"$defs": {
"IntegrationFollowing": {
"type": "object",
"additionalProperties": false,
"required": [
"followed",
"followLimit",
"canFollowMore",
"readsEveryMarket",
"message",
"followInApp",
"otherMarkets",
"otherMarketsTotal"
],
"properties": {
"followed": {
"type": "integer",
"minimum": 0,
"description": "Markets on the account's following list, as the app counts them."
},
"followLimit": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "The plan's Following count; null when the account reads every market."
},
"canFollowMore": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "How many more markets can be followed; null when the account reads every market."
},
"readsEveryMarket": {
"type": "boolean"
},
"message": {
"type": "string",
"description": "Plain explanation for the user, including for accounts that read every market."
},
"followInApp": {
"type": "string",
"format": "uri",
"description": "Where the user follows markets in the Kunkafa app."
},
"otherMarkets": {
"type": "array",
"maxItems": 100,
"description": "Catalogue markets the account does not follow, by English name, sorted by name; at most 100 (otherMarketsTotal gives the full count). Any market can still be followed by its slug.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"name"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"name": {
"type": "string",
"minLength": 1
}
}
}
},
"otherMarketsTotal": {
"type": "integer",
"minimum": 0,
"description": "How many catalogue markets the account does not follow."
},
"canFollow": {
"type": "boolean",
"description": "Whether this connection may follow and unfollow markets."
},
"howToAllowFollowing": {
"type": "string",
"minLength": 1,
"description": "Present when canFollow is false."
}
},
"description": "What the account follows and can still follow. Following decides which markets can be read; it happens in the Kunkafa app."
},
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationPage": {
"type": "object",
"additionalProperties": false,
"required": [
"total",
"returned",
"nextCursor"
],
"properties": {
"total": {
"type": "integer",
"minimum": 0
},
"returned": {
"type": "integer",
"minimum": 0,
"maximum": 50
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[A-Za-z0-9_-]+$"
},
{
"type": "null"
}
]
}
},
"description": "Follow nextCursor until null. Cursors are invalidated by relevant access or market-list changes; restart without a cursor."
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🔴follow_market(market, confirmReplacement)
Follow a market for this account. Check canFollow in get_usage first. Replacing a followed market is allowed once every 30 days: ask the user, then call with confirmReplacement true.
입력 스키마
{
"type": "object",
"properties": {
"market": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Market slug from list_markets, for example bitcoin"
},
"confirmReplacement": {
"description": "Set true only after the user agreed to replace a market they already follow",
"type": "boolean"
}
},
"required": [
"market"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"$ref": "#/$defs/IntegrationFollowingChange"
},
"following": {
"$ref": "#/$defs/IntegrationFollowing"
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
}
},
"required": [
"data",
"following",
"usage",
"notices",
"dataUse"
],
"additionalProperties": false,
"description": "The change and the account's following after it. The Kunkafa app shows the same list immediately.",
"$defs": {
"IntegrationFollowing": {
"type": "object",
"additionalProperties": false,
"required": [
"followed",
"followLimit",
"canFollowMore",
"readsEveryMarket",
"message",
"followInApp",
"otherMarkets",
"otherMarketsTotal"
],
"properties": {
"followed": {
"type": "integer",
"minimum": 0,
"description": "Markets on the account's following list, as the app counts them."
},
"followLimit": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "The plan's Following count; null when the account reads every market."
},
"canFollowMore": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "How many more markets can be followed; null when the account reads every market."
},
"readsEveryMarket": {
"type": "boolean"
},
"message": {
"type": "string",
"description": "Plain explanation for the user, including for accounts that read every market."
},
"followInApp": {
"type": "string",
"format": "uri",
"description": "Where the user follows markets in the Kunkafa app."
},
"otherMarkets": {
"type": "array",
"maxItems": 100,
"description": "Catalogue markets the account does not follow, by English name, sorted by name; at most 100 (otherMarketsTotal gives the full count). Any market can still be followed by its slug.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"name"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"name": {
"type": "string",
"minLength": 1
}
}
}
},
"otherMarketsTotal": {
"type": "integer",
"minimum": 0,
"description": "How many catalogue markets the account does not follow."
},
"canFollow": {
"type": "boolean",
"description": "Whether this connection may follow and unfollow markets."
},
"howToAllowFollowing": {
"type": "string",
"minLength": 1,
"description": "Present when canFollow is false."
}
},
"description": "What the account follows and can still follow. Following decides which markets can be read; it happens in the Kunkafa app."
},
"IntegrationFollowingChange": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"action",
"nextChangeAllowedAt"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"action": {
"enum": [
"followed",
"unfollowed",
"unchanged"
]
},
"nextChangeAllowedAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
],
"description": "When a followed market may next be replaced; null while no replacement window runs."
}
}
},
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🔴unfollow_market(market)
Stop following a market; its data stops being readable. Check canFollow in get_usage first.
입력 스키마
{
"type": "object",
"properties": {
"market": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Market slug from list_markets, for example bitcoin"
}
},
"required": [
"market"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"data": {
"$ref": "#/$defs/IntegrationFollowingChange"
},
"following": {
"$ref": "#/$defs/IntegrationFollowing"
},
"usage": {
"$ref": "#/$defs/IntegrationUsage"
},
"notices": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationNotice"
},
"maxItems": 3
},
"dataUse": {
"type": "string",
"description": "Use restriction on every reply: data collection is prohibited; the data may not be collected, saved, stored, exported or compiled, or used to train, retrain, fine-tune or distil any model."
}
},
"required": [
"data",
"following",
"usage",
"notices",
"dataUse"
],
"additionalProperties": false,
"description": "The change and the account's following after it. The Kunkafa app shows the same list immediately.",
"$defs": {
"IntegrationFollowing": {
"type": "object",
"additionalProperties": false,
"required": [
"followed",
"followLimit",
"canFollowMore",
"readsEveryMarket",
"message",
"followInApp",
"otherMarkets",
"otherMarketsTotal"
],
"properties": {
"followed": {
"type": "integer",
"minimum": 0,
"description": "Markets on the account's following list, as the app counts them."
},
"followLimit": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "The plan's Following count; null when the account reads every market."
},
"canFollowMore": {
"type": [
"integer",
"null"
],
"minimum": 0,
"description": "How many more markets can be followed; null when the account reads every market."
},
"readsEveryMarket": {
"type": "boolean"
},
"message": {
"type": "string",
"description": "Plain explanation for the user, including for accounts that read every market."
},
"followInApp": {
"type": "string",
"format": "uri",
"description": "Where the user follows markets in the Kunkafa app."
},
"otherMarkets": {
"type": "array",
"maxItems": 100,
"description": "Catalogue markets the account does not follow, by English name, sorted by name; at most 100 (otherMarketsTotal gives the full count). Any market can still be followed by its slug.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"name"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"name": {
"type": "string",
"minLength": 1
}
}
}
},
"otherMarketsTotal": {
"type": "integer",
"minimum": 0,
"description": "How many catalogue markets the account does not follow."
},
"canFollow": {
"type": "boolean",
"description": "Whether this connection may follow and unfollow markets."
},
"howToAllowFollowing": {
"type": "string",
"minLength": 1,
"description": "Present when canFollow is false."
}
},
"description": "What the account follows and can still follow. Following decides which markets can be read; it happens in the Kunkafa app."
},
"IntegrationFollowingChange": {
"type": "object",
"additionalProperties": false,
"required": [
"market",
"action",
"nextChangeAllowedAt"
],
"properties": {
"market": {
"$ref": "#/$defs/IntegrationMarketSlug"
},
"action": {
"enum": [
"followed",
"unfollowed",
"unchanged"
]
},
"nextChangeAllowedAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
],
"description": "When a followed market may next be replaced; null while no replacement window runs."
}
}
},
"IntegrationMarketSlug": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"description": "Published English-name market slug returned by authorized discovery."
},
"IntegrationNotice": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"period",
"kind",
"message",
"used",
"limit",
"remaining",
"nextCapacityAt"
],
"properties": {
"id": {
"type": "string"
},
"period": {
"enum": [
"day",
"week",
"month"
]
},
"kind": {
"enum": [
"approaching_limit",
"limit_reached"
]
},
"message": {
"type": "string"
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"IntegrationTimestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 UTC timestamp supplied by Kunkafa."
},
"IntegrationUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"calculatedAt",
"tier",
"requests",
"concurrency",
"windows"
],
"properties": {
"calculatedAt": {
"$ref": "#/$defs/IntegrationTimestamp"
},
"tier": {
"enum": [
"free",
"starter",
"core",
"pro",
"publisher"
]
},
"requests": {
"type": "object",
"additionalProperties": false,
"required": [
"perMinute",
"burst",
"remaining",
"nextRequestAt"
],
"properties": {
"perMinute": {
"type": "integer",
"minimum": 0
},
"burst": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
},
"description": "Steady request rate with bounded burst capacity; metadata and repeated summaries still count toward request protection."
},
"concurrency": {
"type": "object",
"additionalProperties": false,
"required": [
"limit",
"remaining",
"nextRequestAt"
],
"description": "Private requests that can run at the same time. Requests from one connection run side by side up to this limit (the plan burst); a request from another connection waits until they finish.",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"remaining": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"nextRequestAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
}
}
},
"windows": {
"type": "array",
"items": {
"$ref": "#/$defs/IntegrationWindowUsage"
},
"minItems": 3,
"maxItems": 3
},
"adjustment": {
"type": "object",
"additionalProperties": false,
"required": [
"expiresAt"
],
"properties": {
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"description": "An owner-approved account allowance increase. A null expiration is permanent until changed. Usage is never reset; market access and credential eligibility still follow the current plan."
}
}
},
"IntegrationWindowUsage": {
"type": "object",
"additionalProperties": false,
"required": [
"period",
"used",
"limit",
"remaining",
"nextCapacityAt",
"notice",
"noticeId"
],
"properties": {
"period": {
"enum": [
"day",
"week",
"month"
]
},
"used": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 0
},
"remaining": {
"type": "integer",
"minimum": 0
},
"nextCapacityAt": {
"anyOf": [
{
"$ref": "#/$defs/IntegrationTimestamp"
},
{
"type": "null"
}
]
},
"notice": {
"enum": [
"approaching_limit",
"limit_reached",
null
]
},
"noticeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"description": "Rolling 24-hour, 7-day or 30-day allowance, not a midnight reset. Used can exceed the current limit after a downgrade; remaining is never negative."
}
}
}🟢get_glossary
What every Kunkafa term and number means and how to read them. Call once before explaining results. No sign-in needed.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"glossary": {
"type": "object",
"additionalProperties": false,
"required": [
"title",
"terms"
],
"properties": {
"title": {
"type": "string"
},
"terms": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"term",
"meaning"
],
"properties": {
"term": {
"type": "string"
},
"fields": {
"type": "string",
"description": "Reply fields the term explains."
},
"meaning": {
"type": "string"
}
}
}
}
}
}
},
"required": [
"glossary"
],
"additionalProperties": false,
"description": "What every term in Kunkafa replies means and how to read them. Public, static, English."
}🟢get_account_links
Links to create an account, sign in and manage connections.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"mcp": {
"const": "https://kunkafa.com/mcp"
},
"links": {
"type": "object",
"required": [
"signup",
"signin",
"manage",
"documentation"
],
"additionalProperties": false,
"properties": {
"signup": {
"type": "string",
"pattern": "^https://kunkafa\\.com/"
},
"signin": {
"type": "string",
"pattern": "^https://kunkafa\\.com/"
},
"manage": {
"type": "string",
"pattern": "^https://kunkafa\\.com/"
},
"documentation": {
"type": "string",
"pattern": "^https://kunkafa\\.com/"
}
}
},
"browserConfirmationRequired": {
"const": true
},
"disclosureUnits": {
"const": 0
},
"mcpAvailability": {
"enum": [
"coming_soon",
"available"
],
"description": "Public availability follows release controls."
},
"availabilityMessage": {
"type": "string"
}
},
"required": [
"mcp",
"links",
"browserConfirmationRequired",
"disclosureUnits",
"mcpAvailability",
"availabilityMessage"
],
"additionalProperties": false,
"description": "MCP get_account_links result: official links to create an account, sign in, manage connections and read the documentation, with a pointer to kunkafa.com."
}커뮤니티
증거