Библиотека / ИИ-агенты и ассистенты
ИИ-агенты и ассистенты
Track macro regime shifts with FRED MCP, OpenAI, and Slack alerts
On a schedule, it runs an AI agent with OpenAI / ChatGPT using Data Table, Slack.
Что делает
## Watch the backdrop change, not the headline Unemployment at 4.1% is not information. Unemployment at 4.1% after three straight monthly rises, against a twelve-month low of 3.7%, is. Every macro series publishes its level everywhere and its shape nowhere, so the only way to know the backdrop moved is to have written down what it was. ### How it works The data comes from a FRED MCP server, called over plain HTTP. n8n's MCP Client Tool is an agent sub-node, so the usual route is to hand an agent the tool and hope it calls. Streamable HTTP is JSON-RPC over POST, so the two calls per series are made directly and in parallel. There are two calls because the observations call answers native whatever the frequency actually is. get_series_info carries the real one, and it decides how many rows back a quarter is - three rows back on a daily series is three days. Add The Derived Signals computes the three that are not series at all: the 10-year minus 2-year spread, the Sahm rule, and the policy rate net of inflation. Each needs two series held at once. Save This Week's Reading hangs beside the IF, and runs on quiet weeks too - otherwise the next comparison silently spans two of them. ### Setup 1. Get a free key at fredaccount.stlouisfed.org/apikeys. 2. Run the server: FRED_API_KEY=... npx -y fred-economic-mcp@1.1.0 --http --host 0.0.0.0 --port 8933. 3. Point mcp_url in Settings at it: http://host.docker.internal:8933/mcp from n8n in Docker, http://127.0.0.1:8933/mcp otherwise. 4. Create a Data Table named macro_watch with the columns series_id, seen_on, value and regime. 5. An OpenAI credential and a Slack credential. Put your series in Settings and describe your business in business_context.
Шаги
- Every Monday Morning
- Or Run It Now
- Settings
- Ask What The Server Offers
- Check The Tools Are There
- Read Last Week's Reading
- Pick The Indicators
- Ask What The Series Is
- Ask For The History
- Read The Series Description
- Read The History
- Wait For Both Calls
- Score Each Indicator
- Add The Derived Signals
Всего шагов: 23.
Похожие автоматизации
Оповещения и уведомленияDetect India VIX regime shifts with GPT-4.1, Google Sheets, and Slack alertsШагов: 16Оповещения и уведомленияTrack central bank sentiment shifts with OpenAI, Google Sheets, and SlackШагов: 13ИИ-агенты и ассистентыMonitor competitor price shifts with Apify, Postgres, OpenAI, and SlackШагов: 12Отчёты, аналитика и дашбордыDetect competitor SEO strategy shifts with Claude and WhatsApp alertsШагов: 28