Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Fed Speech MCPfind recent speeches by Powell about inflation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Fed Speech MCP
An MCP (Model Context Protocol) server that retrieves, parses, and analyzes speeches and testimonies from major Federal Reserve officers.
Features
π‘ RSS Feed Discovery - Automatically discovers new speeches from Fed RSS feeds
π Index Page Scanning - Backfill capability by scanning yearly index pages
π Smart Parsing - Extracts metadata, speaker info, and clean text from Fed HTML pages
π Feature Extraction - Detects topics (inflation, rates, labor market, etc.)
βοΈ Importance Scoring - Rule-based scoring for market relevance
πΎ JSON Storage - Persistent storage with deduplication
π MCP Interface - Full MCP compatibility for AI assistants
Covered Content
Speakers
Chair of the Federal Reserve
Vice Chair of the Federal Reserve
Federal Reserve Governors
Content Types
Speeches
Congressional Testimony
Prepared Remarks
Installation
Prerequisites
Python 3.10 or higher
uv package manager
Install uv (if you don't have it):
Install the Project
That's it! The virtual environment is created and all dependencies are installed.
π Quick Start: Test Locally in 5 Minutes
Want to see the MCP tools in action before connecting to an AI? Follow these steps:
Step 1: Install
Step 2: Fetch Speeches from Fed Website
You'll see output like:
Step 3: Explore the Data
View latest speeches:
Output:
Search by keyword:
Filter by speaker:
Get full speech content:
View statistics:
Step 4: Run All Tests
This runs a complete test suite: refresh β stats β latest β search β filter β get.
Available Test Commands
Command | Description | Example |
| Fetch new speeches |
|
| Show latest speeches |
|
| Search by keyword |
|
| Filter by speaker |
|
| Filter by doc type |
|
| Get full speech |
|
| Show statistics | (no options) |
| Run all tests | (no options) |
Using with AI Assistants
Platform Compatibility Overview
Platform | MCP Support | Setup Method |
Claude Desktop | β Native | Direct MCP integration |
Cursor IDE | β Native | Direct MCP integration |
ChatGPT | β οΈ Via API | HTTP API wrapper + Custom GPT |
Google Gemini | β οΈ Via API | HTTP API wrapper + Google AI Studio |
Other AI Tools | β οΈ Via API | HTTP API wrapper |
Step-by-Step: Claude Desktop
Claude Desktop has native MCP support. This is the easiest setup.
Step 1: Install the Package
Step 2: Locate Claude Desktop Config
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Step 3: Add MCP Server Configuration
Edit claude_desktop_config.json:
Note: Replace
/path/to/fed-speech-mcpwith your actual installation path.
Step 4: Restart Claude Desktop
Close and reopen Claude Desktop. You should see the Fed Speech tools available.
Step 5: Start Using
Ask Claude things like:
"Refresh the Fed speeches and show me the latest ones"
"What did Chair Powell say about inflation recently?"
"Show me all testimony from 2024"
Step-by-Step: Cursor IDE
Cursor IDE also supports MCP natively.
Step 1: Install the Package
Step 2: Open Cursor Settings
Open Cursor IDE
Go to Settings (β+, on macOS, Ctrl+, on Windows)
Search for "MCP" or navigate to Features β MCP Servers
Step 3: Add MCP Server
Click "Add MCP Server" and configure:
Step 4: Enable and Use
Toggle the server on. You can now use Fed Speech tools in Cursor's AI chat.
Step-by-Step: ChatGPT (Custom GPT)
ChatGPT doesn't support MCP natively, but you can use the HTTP API wrapper.
Step 1: Install the Package
Step 2: Start the HTTP API Server
The server runs at http://localhost:8000 by default.
Step 3: Expose to Internet (Required for ChatGPT)
Use a tunneling service like ngrok:
Copy the public URL (e.g., https://abc123.ngrok.io).
Step 4: Create a Custom GPT
Go to ChatGPT
Click your profile β My GPTs β Create a GPT
In the Configure tab:
Name: "Fed Speech Analyst"
Description: "Analyzes Federal Reserve speeches and testimonies"
Instructions:
You are a Federal Reserve speech analyst. Use the available actions to: 1. Fetch latest speeches with get_latest_speeches 2. Search speeches by speaker, type, or keywords 3. Analyze speech content for market-relevant insights Always refresh speeches first if the user asks about recent content.
Click Create new action and import the OpenAPI schema:
Step 5: Save and Use
Save your Custom GPT. Now you can ask it questions about Fed speeches!
Step-by-Step: Google Gemini
Google Gemini can use the HTTP API via Google AI Studio or API.
Step 1: Start the HTTP API Server
Step 2: Expose to Internet
Step 3: Use with Google AI Studio
Go to Google AI Studio
Create a new prompt or chat
In your system instructions, include:
Step 4: Use Function Calling (Advanced)
For programmatic use with Gemini API:
HTTP API Reference
When using the HTTP API wrapper, these endpoints are available:
Endpoint | Method | Description |
| GET | Get latest speeches |
| GET | Search by keyword |
| GET | Get specific speech |
| GET | Filter by speaker |
| GET | Filter by doc type |
| POST | Fetch new speeches |
| GET | Get statistics |
Query Parameters
limit- Max results (default: 10, max: 50)since_date- ISO 8601 date filterstart_date/end_date- Date rangename- Speaker name (partial match)role- "Chair", "Vice Chair", or "Governor"doc_type- "speech", "testimony", or "prepared_remarks"query- Search keywords
Running the MCP Server Directly
For native MCP clients:
Available Tools
get_latest_speeches
Get the latest Federal Reserve speeches, sorted by publication date.
Parameters:
limit(optional): Maximum number of speeches (default: 10, max: 50)since_date(optional): Only return speeches after this date (ISO 8601)
get_speeches_by_speaker
Filter speeches by speaker name and/or role.
Parameters:
name(optional): Speaker name (partial match, e.g., "Powell")role(optional): "Chair", "Vice Chair", or "Governor"start_date(optional): Start date filterend_date(optional): End date filter
get_speeches_by_type
Get speeches by document type.
Parameters:
doc_type(required): "speech", "testimony", or "prepared_remarks"start_date(optional): Start date filterend_date(optional): End date filter
get_speech
Get full content and metadata for a specific speech.
Parameters:
doc_id(required): The unique document identifier
refresh_speeches
Fetch new speeches from the Federal Reserve website.
Parameters:
include_index(optional): Also scan index pages (slower but thorough)years(optional): Years to scan for index pages
search_speeches
Search speeches by keyword.
Parameters:
query(required): Search querylimit(optional): Maximum results (default: 10)
get_speech_stats
Get statistics about stored speeches.
Output Format
Each speech document contains:
Importance Scoring
The importance score is calculated using these rules:
Factor | Adjustment |
Chair or Vice Chair speaker | Base: High |
Governor speaker | Base: Medium |
Testimony | +1 tier |
Contains Q&A | +1 tier |
Discusses rates + (inflation or labor market) | +1 tier |
Word count < 300 | -1 tier |
Topic Detection
Topics are detected by keyword matching:
Inflation: inflation, prices, CPI, PCE, price stability
Labor Market: employment, unemployment, wages, jobs
Rates: interest rate, fed funds, hike, cut, monetary policy
Balance Sheet: QE, QT, runoff, asset purchases
Growth: GDP, demand, recession, economic activity
Financial Stability: banking, liquidity, stress, systemic risk
Environment Variables
Variable | Description | Default |
| Data storage directory |
|
| HTTP request timeout (seconds) |
|
| Max retry attempts |
|
| HTTP API server port |
|
Data Storage
Development
Running Unit Tests
Running Local Integration Tests
Project Structure
License
MIT
Acknowledgments
Data sourced from the Federal Reserve Board.