[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [CME Group trading hours search](https://spiral.ai/integrations/muse-code/cme-group-trading-hours-search)

# How to Use CME Group trading hours search in Muse Code

Finds CME products and their dated Globex trading events, including holiday schedules. Use it to compare opening and closing times across products when planning a trading week.

|  |  |
| --- | --- |
| Model | CME Group trading hours search |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with CME Group trading hours search in Muse Code

- Use CME Group trading hours search to retrieve E-mini S&P 500 schedules for November 23–29, 2026, and add a session calendar to this project's existing calendar view.
- Use CME Group trading hours search to fetch Gold futures and options schedules for December 21–27, 2026, and build a comparison table in this project.
- Use CME Group trading hours search to retrieve Corn schedules for the next seven days and add separate preopen, open, and close labels to our calendar component.
- Use CME Group trading hours search to fetch WTI Crude Oil schedules for the next 14 days and update this project's maintenance planner with proposed windows outside the returned trading sessions.
- Use CME Group trading hours search to retrieve Three-Month SOFR schedules for next week and generate a dated schedule fixture for our session display tests.

## How to set up CME Group trading hours search in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run CME Group trading hours search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "cmegroup-com/fomc-rate-probabilities/trading_hours_search",
    "input": {
      "from": "<from>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds CME Group trading hours search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## CME Group trading hours search tools and prices

- [CME Group FedWatch and market data · Trading hours search](https://spiral.ai/tools/alexandria/cmegroup-com/fomc-rate-probabilities/trading_hours_search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to |  | — | Last calendar day (inclusive); defaults to `from`. At most 366 days after `from`. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| page | 1 to … | 1 | page |
| sort | most-active, name | most-active | sort |
| query |  | — | Optional product name or Globex code substring, e.g. 'gold', 'fed funds', 'ES'. |
| exchange |  | — | Exchange code: CBOT, CME, COMEX, DME or NYMEX (trading_hours_holidays.exchanges). |
| page_size | 1 to 100 | 20 | page_size |

## What can you do with CME Group trading hours search in Muse Code?

Build a CME session calendar that distinguishes preopen from the start of matching. With the required data-use authorization, a coding agent can turn dated product schedules into application logic and calendar views.

### Prepare a holiday session brief

Compare dated opening and closing events for E-mini S&P 500, Gold, and WTI Crude Oil. Turn the returned schedules into a product-by-product reference for the week.

### Check futures and options schedules together

Search Gold futures and options for the same dates and compare their returned trading events before planning coverage.

### Build a session calendar

Convert returned Corn and Soybean trading events into a calendar that distinguishes preopen, open, and close.

### Review schedule revisions

Compare successive authorized retrievals for Three-Month SOFR and 30-Day Federal Funds. Highlight changes to the same products and dates.

### Plan application maintenance

Use WTI Crude Oil and Gold session schedules to identify possible maintenance windows for a market application, then review the proposed windows before implementation.

### Explain session boundaries

Create a worked example from E-mini S&P 500 trading events that shows when preopen ends and matching begins.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## CME Group trading hours search in other agents

- [Amp](https://spiral.ai/integrations/amp/cme-group-trading-hours-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/cme-group-trading-hours-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/cme-group-trading-hours-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/cme-group-trading-hours-search)
- [Cline](https://spiral.ai/integrations/cline/cme-group-trading-hours-search)
- [Codex](https://spiral.ai/integrations/codex/cme-group-trading-hours-search)
- [Cursor](https://spiral.ai/integrations/cursor/cme-group-trading-hours-search)
- [Devin](https://spiral.ai/integrations/devin/cme-group-trading-hours-search)
- [dots](https://spiral.ai/integrations/dots/cme-group-trading-hours-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/cme-group-trading-hours-search)
- [Gemini](https://spiral.ai/integrations/gemini/cme-group-trading-hours-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/cme-group-trading-hours-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/cme-group-trading-hours-search)
- [goose](https://spiral.ai/integrations/goose/cme-group-trading-hours-search)
- [Grok](https://spiral.ai/integrations/grok/cme-group-trading-hours-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/cme-group-trading-hours-search)
- [Hermes](https://spiral.ai/integrations/hermes/cme-group-trading-hours-search)
- [Instinct](https://spiral.ai/integrations/instinct/cme-group-trading-hours-search)
- [Manus](https://spiral.ai/integrations/manus/cme-group-trading-hours-search)
- [Muse](https://spiral.ai/integrations/muse/cme-group-trading-hours-search)
- [n8n](https://spiral.ai/integrations/n8n/cme-group-trading-hours-search)
- [Notion](https://spiral.ai/integrations/notion/cme-group-trading-hours-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/cme-group-trading-hours-search)
- [opencode](https://spiral.ai/integrations/opencode/cme-group-trading-hours-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/cme-group-trading-hours-search)
- [Raycast](https://spiral.ai/integrations/raycast/cme-group-trading-hours-search)
- [VS Code](https://spiral.ai/integrations/vscode/cme-group-trading-hours-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/cme-group-trading-hours-search)
- [Zapier](https://spiral.ai/integrations/zapier/cme-group-trading-hours-search)

## More Muse Code guides

- [CME FedWatch probability history](https://spiral.ai/integrations/muse-code/cme-fedwatch-probability-history)
- [CME SOFR benchmark rates](https://spiral.ai/integrations/muse-code/cme-sofr-benchmark-rates)
- [CME FedWatch meeting probabilities](https://spiral.ai/integrations/muse-code/cme-fedwatch-meeting-probabilities)
- [CME futures contract specifications](https://spiral.ai/integrations/muse-code/cme-futures-contract-specifications)
- [CFTC legacy futures positions](https://spiral.ai/integrations/muse-code/cftc-legacy-futures-positions)
- [CME futures product search](https://spiral.ai/integrations/muse-code/cme-futures-product-search)

## Questions about CME Group trading hours search in Muse Code

**Can Muse Code use CME Group trading hours search?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run CME Group trading hours search like any built-in tool.

**How much does CME Group trading hours search cost in Muse Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use CME Group trading hours search in Muse Code?**

No. Spiral runs CME Group trading hours search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CME Group trading hours search in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while CME Group trading hours search runs?**

CME Group trading hours search runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Does CME's schedule cover options as well as futures?**

Yes. CME's Globex schedule documentation covers market states for futures and options products traded on Globex.

**What time zone does CME use for trading hours?**

CME publishes trading hours in U.S. Central Time unless otherwise stated. Keep that time zone attached when comparing schedules across locations.

**How far ahead are holiday hours finalized?**

CME says holiday trading hours are usually finalized approximately two weeks before the holiday. A schedule retrieved earlier may still be preliminary.

**Does preopen mean trading has started?**

Preopen allows order entry, modification, and cancellation, but no order matching. Use the open event when identifying the start of matching.

**What does a paused session allow?**

CME defines paused as an interruption of continuous trading. Only order cancellation is allowed, and no order matching occurs.

