Foresight API
Economic, demographic and financial time series, plus Creative Foresight indicators and signals.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"foresight-api": {
"url": "https://api.creativeforesight.io/api/mcp"
}
}
}Remote endpoints
https://api.creativeforesight.io/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (8)
🟢search_indicators(query, source, category, limit)
Search Foresight API economic, demographic, and derived (cf:) indicators. Returns matching indicator codes, descriptions, units, source slugs, and frequencies. Creative Foresight originals use cf:* codes and region filters use FIPS-style region codes where applicable.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Search text for indicator names or descriptions."
},
"source": {
"description": "Optional source slug such as fred, bls, bea, or cf.",
"type": "string",
"minLength": 1
},
"category": {
"description": "Optional indicator category filter.",
"type": "string",
"minLength": 1
},
"limit": {
"default": 20,
"description": "Maximum indicators to return.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_sources
List Foresight API sources and catalog freshness context for economic, demographic, and derived cf:* indicators.
Input Schema
{
"type": "object",
"properties": {}
}🟢list_regions(type)
List supported API regions. County and subnational regions use FIPS-style codes that can be passed to observation tools.
Input Schema
{
"type": "object",
"properties": {
"type": {
"description": "Optional region type filter, such as country, state, or county.",
"type": "string",
"minLength": 1
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_observations(indicator, region, start_date, end_date, as_of, ...)
Return an authenticated time series for an economic, demographic, or derived Creative Foresight cf:* indicator, optionally filtered by FIPS-style region code and date range. Includes unit and attribution metadata from the v1 observations API.
Input Schema
{
"type": "object",
"properties": {
"indicator": {
"type": "string",
"minLength": 1,
"description": "Indicator code, including Creative Foresight originals such as cf:* codes."
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"start_date": {
"description": "Optional inclusive start date as YYYY-MM-DD.",
"type": "string",
"minLength": 1
},
"end_date": {
"description": "Optional inclusive end date as YYYY-MM-DD.",
"type": "string",
"minLength": 1
},
"as_of": {
"description": "Optional YYYY-MM-DD: read the values as published by the end of that day, never a later revision (point-in-time, for backtests without look-ahead).",
"type": "string",
"minLength": 1
},
"limit": {
"default": 100,
"description": "Maximum observations to return.",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"indicator"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_latest(indicator, region, as_of)
Return the latest authenticated value for an economic, demographic, or derived Creative Foresight cf:* indicator, optionally filtered by FIPS-style region code. Use this when an agent needs the current value rather than a full series.
Input Schema
{
"type": "object",
"properties": {
"indicator": {
"type": "string",
"minLength": 1,
"description": "Indicator code, including Creative Foresight originals such as cf:* codes."
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"as_of": {
"description": "Optional YYYY-MM-DD: read the values as published by the end of that day, never a later revision (point-in-time, for backtests without look-ahead).",
"type": "string",
"minLength": 1
}
},
"required": [
"indicator"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_insights(indicator, region, source, window)
Return deterministic computed facts for one indicator plus active signals. Every fact and signal carries a server-rendered, shareable plain-spoken sentence in `text` (null when the indicator lacks curated display metadata). Facts also include humanTemplate, typed params, and salience scores from 0..1. Signals include strength, direction, salience, evidence, and glyph, friendly direction-aware label, plus tone vocabulary for UI chips.
Input Schema
{
"type": "object",
"properties": {
"indicator": {
"type": "string",
"minLength": 1,
"description": "Indicator code, including Creative Foresight originals such as cf:* codes."
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"source": {
"description": "Optional source slug for duplicate provider codes.",
"type": "string",
"minLength": 1
},
"window": {
"default": "all",
"description": "Observation window: all, or an integer followed by d, m, or y, such as 90d, 12m, or 5y.",
"type": "string",
"pattern": "^(all|[1-9]\\d*[dmy])$"
}
},
"required": [
"indicator"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_active_signals(indicators, region, type, strength, limit)
Return active Creative Foresight signal intervals across indicators. Each result carries a server-rendered, shareable plain-spoken sentence in `text`, plus type, strength, direction, interval timestamps, detector evidence, and glyph, friendly direction-aware label, plus tone vocabulary for UI chips. Requires premium creative-foresight API-key access.
Input Schema
{
"type": "object",
"properties": {
"indicators": {
"description": "Optional indicator codes, including Creative Foresight originals such as cf:* codes.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"region": {
"description": "Optional region code. County regions use FIPS codes.",
"type": "string",
"minLength": 1
},
"type": {
"description": "Optional signal type filter.",
"type": "string",
"enum": [
"acceleration",
"extreme",
"trend_break"
]
},
"strength": {
"default": "neutral",
"description": "Minimum signal strength. Defaults to neutral, hiding weak signals.",
"type": "string",
"enum": [
"weak",
"neutral",
"strong"
]
},
"limit": {
"default": 50,
"description": "Maximum active signals to return.",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢ask(question, region, window)
Ask a natural-language question over Foresight data and get a grounded answer with a verifiable citation trace. Every number in the prose traces to an executed tool call listed in citations; resolved names the indicators, regions, and window the question mapped to. Questions with no Foresight coverage return no_coverage and are never charged. Prefer this tool when you do not know the indicator vocabulary; use the typed tools when you do.
Input Schema
{
"type": "object",
"properties": {
"question": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "A natural-language question about economic, demographic, or financial data."
},
"region": {
"description": "Optional FIPS region hint: 5-digit county, 2-digit state, or US.",
"type": "string",
"minLength": 1
},
"window": {
"description": "Optional observation window: all, or an integer followed by d, m, or y, such as 90d, 12m, or 5y.",
"type": "string",
"pattern": "^(all|[1-9]\\d*[dmy])$"
}
},
"required": [
"question"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence