Skip to the events
Evanston Calendar
Evanston Calendar

Sign in

We'll email you a link. No password, and new here is fine: the link makes your account.

Developer docs: MCP server

MCP server

Give an AI assistant everything happening in Evanston: search listings, open one, see a whole day, plan a day out for a family.

What MCP is #

The Model Context Protocol is an open standard for connecting AI assistants to tools and data. An assistant that speaks MCP (Claude, Cursor, VS Code and many others) reads the list of tools a server offers, decides when one helps with what you asked, and calls it. Our server's tools answer from the same handlers as the API, so an assistant sees exactly what this site shows, with a link to each listing.

Endpoint and auth #

URLhttps://evanstoncalendar.com/mcp
TransportStreamable HTTP, stateless (no sessions), JSON responses. POST only; one JSON-RPC message per request.
AuthYour API key in Authorization: Bearer evc_… (or X-API-Key).
Server nameevanston-calendar

Set up your client #

Each setup reads your key from EVANSTON_CALENDAR_KEY or asks you to paste it in place of YOUR_KEY. Restart the client after changing its configuration.

Claude Code #

Terminal

claude mcp add --transport http evanston-calendar https://evanstoncalendar.com/mcp \
  --header "Authorization: Bearer $EVANSTON_CALENDAR_KEY"

Check it with claude mcp list, or /mcp inside a session. Add --scope user to have it in every project.

Claude Desktop #

Claude Desktop starts local servers from claude_desktop_config.json (Settings, Developer, Edit Config). Reach this remote server through the mcp-remote bridge, which needs Node.js:

claude_desktop_config.json

{
  "mcpServers": {
    "evanston-calendar": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://evanstoncalendar.com/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer YOUR_KEY"
      }
    }
  }
}

Adding it as a custom connector in claude.ai or Claude Desktop's Connectors settings needs OAuth sign-in, which this server does not offer yet.

Cursor #

~/.cursor/mcp.json (or .cursor/mcp.json in a project)

{
  "mcpServers": {
    "evanston-calendar": {
      "url": "https://evanstoncalendar.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

VS Code #

.vscode/mcp.json

{
  "servers": {
    "evanston-calendar": {
      "type": "http",
      "url": "https://evanstoncalendar.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

Codex #

~/.codex/config.toml

[mcp_servers.evanston-calendar]
url = "https://evanstoncalendar.com/mcp"
bearer_token_env_var = "EVANSTON_CALENDAR_KEY"

Other clients #

Any client that supports Streamable HTTP and custom headers works: give it the URL and the Authorization header. To try the server by hand:

List the tools

curl -s https://evanstoncalendar.com/mcp \
  -H "Authorization: Bearer $EVANSTON_CALENDAR_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Tools #

5 tools, all read-only. Every tool answers with text (for any client) and structuredContent (the same JSON as the matching API endpoint). A bad argument comes back as a tool error naming it.

search_events #

Search events in Evanston. Find listings in Evanston by day or range and filters: audience, age, category, free, price and words. Use one of date, from/to (92 days at most) or when. Returns events with time, place, audience, price and a link.

ArgumentTypeDescription
date string
YYYY-MM-DD
YYYY-MM-DD, Evanston time
from string
YYYY-MM-DD
YYYY-MM-DD, Evanston time
to string
YYYY-MM-DD
YYYY-MM-DD, Evanston time
when string
Allowed: today, tonight, weekend, week
q string
2 to 100 characters
Words to match in titles, places and organizers
audience array of string
Allowed: babies, toddlers, kids, tweens, teens, adults, seniors, families, all_ages
age integer
0 to 120
A person's age: listings that suit it
category array of string Categories such as music, arts, nature, sports, fitness, family, talks, food_drink
free boolean
max_price number
at least 0
group string
Allowed: events, classes, drop_ins, ongoing
limit integer
1 to 50

Call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_events",
    "arguments": {
      "when": "weekend",
      "audience": [
        "kids"
      ],
      "free": true,
      "limit": 20
    }
  }
}

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "(the same JSON as structuredContent, as text)"
      }
    ],
    "structuredContent": {
      "window": {
        "from": "2026-11-06",
        "to": "2026-11-08",
        "from_time": "2026-11-06T17:00"
      },
      "total": 3,
      "total_window": 181,
      "counts": {
        "groups": {
          "events": 2,
          "drop_ins": 1
        }
      },
      "limit": 20,
      "offset": 0,
      "events": [
        {
          "id": "d69e15ff-0800-4ad1-a94f-ae995603a1cb",
          "title": "Family Fun Night at the Y",
          "start": "2026-11-06T17:30",
          "end": "2026-11-06T19:30",
          "when_kind": "timed",
          "where_kind": "venue",
          "all_day": false,
          "group": "events",
          "event_type": "event",
          "venue": "McGaw YMCA 1000 Grove Street",
          "address": "1000 Grove St, Evanston, IL",
          "url": null,
          "categories": [
            "family"
          ],
          "audience": [
            "families"
          ],
          "age_min": null,
          "age_max": null,
          "is_free": true,
          "price_min": 0,
          "status": "confirmed",
          "visibility": "public",
          "flags": [
            "address_from_place"
          ],
          "source_ids": [
            "mcgaw-ymca-events-calendar"
          ],
          "start_date": "2026-11-06",
          "end_date": "2026-11-06",
          "drop_in_ok": false,
          "changed": null,
          "geo": {
            "lat": 42.045531,
            "lon": -87.685098,
            "exact": true
          },
          "path": "/events/family-fun-night-at-the-y-d69e15ff-0800-4ad1-a94f-ae995603a1cb",
          "link": "https://evanstoncalendar.com/events/family-fun-night-at-the-y-d69e15ff-0800-4ad1-a94f-ae995603a1cb"
        }
      ]
    }
  }
}

get_event #

Get one event. One listing by its id (from search_events or get_day): full details, every source that lists it, and its other dates.

ArgumentTypeDescription
id
required
string The event's id

Call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_event",
    "arguments": {
      "id": "bbffe24f-eeb0-4c77-aedc-53502f8571ff"
    }
  }
}

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "(the same JSON as structuredContent, as text)"
      }
    ],
    "structuredContent": {
      "id": "bbffe24f-eeb0-4c77-aedc-53502f8571ff",
      "title": "IMAGINE U: Grace and the Butterfly Effect",
      "start": "2026-11-06T09:20",
      "end": "2026-11-06T10:25",
      "when_kind": "timed",
      "where_kind": "venue",
      "all_day": false,
      "group": "events",
      "event_type": "event",
      "venue": "Ethel M. Barber Theater",
      "address": "30 Arts Circle Drive",
      "url": "https://wirtz.northwestern.edu/grace-and-the-butterfly-effect/",
      "categories": [
        "music",
        "theater"
      ],
      "audience": [
        "kids",
        "families"
      ],
      "age_min": null,
      "age_max": null,
      "is_free": false,
      "price_min": 12,
      "status": "confirmed",
      "visibility": "public",
      "flags": [],
      "source_ids": [
        "evanston-roundtable-cityspark"
      ],
      "start_date": "2026-11-06",
      "end_date": "2026-11-06",
      "drop_in_ok": false,
      "changed": null,
      "geo": {
        "lat": 42.052144,
        "lon": -87.672627,
        "exact": false
      },
      "description": "A new musical for young audiences about Grace discovering monarch butterfly eggs and raising them, blending curiosity and care. Ages 5 and up.",
      "recurrence": null,
      "skip_dates": [],
      "closed_dates": [],
      "image": null,
      "listed_since": "2026-11-01T05:50:45.807Z",
      "place_address": {
        "street": "30 Arts Circle Drive",
        "zip": null
      },
      "place_page": null,
      "neighborhood": null,
      "description_format": null,
      "path": "/events/imagine-u-grace-and-the-butterfly-effect-bbffe24f-eeb0-4c77-aedc-53502f8571ff",
      "organizer": null,
      "venue_org": null,
      "changes": [],
      "sources": [
        {
          "source_id": "evanston-roundtable-cityspark",
          "name": "Evanston RoundTable calendar (CitySpark)",
          "url": "https://evanstonroundtable.com/",
          "organization": null
        }
      ],
      "other_times": [
        {
          "id": "74322cc7-6c3b-4513-a595-c9a36d51dc2b",
          "title": "IMAGINE U: Grace and the Butterfly Effect",
          "start": "2026-11-07T11:00",
          "end": "2026-11-07T12:05",
          "when_kind": "timed",
          "where_kind": "venue",
          "all_day": false,
          "group": "events",
          "event_type": "event",
          "venue": "Ethel M. Barber Theater",
          "address": "30 Arts Circle Drive",
          "url": "https://wirtz.northwestern.edu/grace-and-the-butterfly-effect/",
          "categories": [
            "music",
            "theater"
          ],
          "audience": [
            "kids",
            "families"
          ],
          "age_min": null,
          "age_max": null,
          "is_free": false,
          "price_min": 12,
          "status": "confirmed",
          "visibility": "public",
          "flags": [],
          "source_ids": [
            "evanston-roundtable-cityspark"
          ],
          "start_date": "2026-11-07",
          "end_date": "2026-11-07",
          "drop_in_ok": false,
          "changed": null,
          "geo": {
            "lat": 42.052144,
            "lon": -87.672627,
            "exact": false
          },
          "is_series": false,
          "next_session": null,
          "path": "/events/imagine-u-grace-and-the-butterfly-effect-74322cc7-6c3b-4513-a595-c9a36d51dc2b",
          "link": "https://evanstoncalendar.com/events/imagine-u-grace-and-the-butterfly-effect-74322cc7-6c3b-4513-a595-c9a36d51dc2b"
        }
      ],
      "link": "https://evanstoncalendar.com/events/imagine-u-grace-and-the-butterfly-effect-bbffe24f-eeb0-4c77-aedc-53502f8571ff"
    }
  }
}

get_day #

Everything on one day. Every listing on a date in Evanston, split into morning, afternoon, evening and no set time, with counts by kind (events, classes, drop-ins, ongoing).

ArgumentTypeDescription
date
required
string
YYYY-MM-DD
YYYY-MM-DD, Evanston time

Call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_day",
    "arguments": {
      "date": "2026-11-07"
    }
  }
}

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "(the same JSON as structuredContent, as text)"
      }
    ],
    "structuredContent": {
      "date": "2026-11-07",
      "total": 88,
      "groups": {
        "ongoing": 3,
        "events": 49,
        "classes": 30,
        "drop_ins": 6
      },
      "sections": {
        "morning": [
          {
            "id": "6efbda3d-ae16-45cd-8c1f-22a4893fde5f",
            "title": "Christmas Giveaway Gift Wrapping",
            "start": "2026-11-02T00:00",
            "end": "2026-12-12T00:00",
            "when_kind": "timed",
            "where_kind": "venue",
            "all_day": false,
            "group": "ongoing",
            "event_type": "event",
            "venue": "Second Baptist Church",
            "address": "1717 Benson Ave, Evanston, IL 60201",
            "url": null,
            "categories": [
              "holiday"
            ],
            "audience": [],
            "age_min": null,
            "age_max": null,
            "is_free": null,
            "price_min": null,
            "status": "confirmed",
            "visibility": "public",
            "flags": [],
            "source_ids": [
              "second-baptist-church-calendar"
            ],
            "start_date": "2026-11-02",
            "end_date": "2026-12-12",
            "drop_in_ok": false,
            "changed": null,
            "geo": {
              "lat": 42.04915,
              "lon": -87.683289,
              "exact": true
            },
            "path": "/events/christmas-giveaway-gift-wrapping-6efbda3d-ae16-45cd-8c1f-22a4893fde5f",
            "link": "https://evanstoncalendar.com/events/christmas-giveaway-gift-wrapping-6efbda3d-ae16-45cd-8c1f-22a4893fde5f"
          }
        ],
        "afternoon": [
          {
            "id": "c100a3d0-8772-47e9-af7a-e41560a6d28e",
            "title": "Cocktail Class - Fall Cocktails",
            "start": "2026-11-07T12:00",
            "end": null,
            "when_kind": "timed",
            "where_kind": "venue",
            "all_day": false,
            "group": "classes",
            "event_type": "class_session",
            "venue": "SPACE",
            "address": "1245 Chicago Avenue",
            "url": null,
            "categories": [
              "food_drink"
            ],
            "audience": [
              "adults"
            ],
            "age_min": null,
            "age_max": null,
            "is_free": null,
            "price_min": null,
            "status": "confirmed",
            "visibility": "public",
            "flags": [],
            "source_ids": [
              "evanston-roundtable-cityspark"
            ],
            "start_date": "2026-11-07",
            "end_date": "2026-11-07",
            "drop_in_ok": false,
            "changed": null,
            "geo": {
              "lat": 42.040886,
              "lon": -87.680104,
              "exact": false
            },
            "path": "/events/cocktail-class-fall-cocktails-c100a3d0-8772-47e9-af7a-e41560a6d28e",
            "link": "https://evanstoncalendar.com/events/cocktail-class-fall-cocktails-c100a3d0-8772-47e9-af7a-e41560a6d28e"
          }
        ],
        "evening": [
          {
            "id": "747f6cc4-36cd-4043-b7ee-459f55edb9c7",
            "title": "Casseroles for a Crowd",
            "start": "2026-11-07T18:00",
            "end": "2026-11-07T22:00",
            "when_kind": "timed",
            "where_kind": "venue",
            "all_day": false,
            "group": "events",
            "event_type": "event",
            "venue": "Begins at 831 Ingleside Place (appetizers) and ends at 2719 Payne Street (d",
            "address": null,
            "url": null,
            "categories": [
              "faith"
            ],
            "audience": [
              "adults"
            ],
            "age_min": null,
            "age_max": null,
            "is_free": null,
            "price_min": null,
            "status": "confirmed",
            "visibility": "public",
            "flags": [],
            "source_ids": [
              "northminster-presbyterian-church-calendar"
            ],
            "start_date": "2026-11-07",
            "end_date": "2026-11-07",
            "drop_in_ok": false,
            "changed": null,
            "geo": {
              "lat": 42.067177,
              "lon": -87.682382,
              "exact": true
            },
            "path": "/events/casseroles-for-a-crowd-747f6cc4-36cd-4043-b7ee-459f55edb9c7",
            "link": "https://evanstoncalendar.com/events/casseroles-for-a-crowd-747f6cc4-36cd-4043-b7ee-459f55edb9c7"
          }
        ],
        "no_time": [
          {
            "id": "08001d1e-2271-4901-88b4-bdd60a9fe279",
            "title": "11/4 Northwestern University Women's Soccer vs Big Ten Tournament",
            "start": "2026-11-07",
            "end": null,
            "when_kind": "time_tba",
            "where_kind": "location_tba",
            "all_day": true,
            "group": "events",
            "event_type": "event",
            "venue": null,
            "address": null,
            "url": "https://admin.nusports.com/calendar.aspx?game_id=22764&sport_id=15",
            "categories": [
              "sports"
            ],
            "audience": [],
            "age_min": null,
            "age_max": null,
            "is_free": null,
            "price_min": null,
            "status": "confirmed",
            "visibility": "public",
            "flags": [],
            "source_ids": [
              "evanston-roundtable-cityspark"
            ],
            "start_date": "2026-11-07",
            "end_date": "2026-11-07",
            "drop_in_ok": false,
            "changed": null,
            "geo": null,
            "path": "/events/11-4-northwestern-university-women-s-soccer-vs-big-ten-tournament-08001d1e-2271-4901-88b4-bdd60a9fe279",
            "link": "https://evanstoncalendar.com/events/11-4-northwestern-university-women-s-soccer-vs-big-ten-tournament-08001d1e-2271-4901-88b4-bdd60a9fe279"
          }
        ]
      }
    }
  }
}

plan_day #

Plan a day out. A day plan for a household: up to four time slots, each with a pick and alternates, leaving travel time between places. Give the kids' ages and interests to fit them.

ArgumentTypeDescription
date
required
string
YYYY-MM-DD
YYYY-MM-DD, Evanston time
kids array of integer
up to 8 items
Children's ages
adults integer
0 to 10
from string
HH:MM
Start time, HH:MM (default 09:00)
to string
HH:MM
End time, HH:MM (default 21:00)
interests array of string Interests such as story-time, live-music, nature-walks
max_price number
at least 0

Call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "plan_day",
    "arguments": {
      "date": "2026-11-07",
      "kids": [
        5,
        8
      ],
      "interests": [
        "arts"
      ]
    }
  }
}

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "(the same JSON as structuredContent, as text)"
      }
    ],
    "structuredContent": {
      "date": "2026-11-07",
      "window": {
        "from": "09:00",
        "to": "21:00"
      },
      "household": {
        "members": [
          {
            "id": "adult1",
            "role": "adult",
            "age": null,
            "interests": [
              "arts"
            ]
          }
        ],
        "independent_age": 12
      },
      "buffer_minutes": 20,
      "considered": 54,
      "slots": [
        {
          "starts": "2026-11-07T11:00",
          "ends": "2026-11-07T13:00",
          "together": true,
          "lanes": [
            {
              "members": [
                "adult1",
                "adult2",
                "child1",
                "child2"
              ],
              "kind": "together",
              "event": {
                "id": "63a61db5-b583-4553-a9a4-78e51f62fba5",
                "title": "IMAGINE U: Grace and the Butterfly Effect",
                "start": "2026-11-07T11:00",
                "end": "2026-11-07T13:00",
                "when_kind": "timed",
                "where_kind": "venue",
                "all_day": false,
                "group": "events",
                "event_type": "event",
                "venue": "Wirtz Center: Ethel M. Barber Theater",
                "address": "30 Arts Circle Drive, Evanston IL 60208",
                "url": "https://planitpurple.northwestern.edu/event/643427",
                "categories": [
                  "arts",
                  "music",
                  "theater"
                ],
                "audience": [
                  "families"
                ],
                "age_min": null,
                "age_max": null,
                "is_free": false,
                "price_min": 2,
                "status": "confirmed",
                "visibility": "public",
                "flags": [],
                "source_ids": [
                  "evanston-roundtable-cityspark",
                  "northwestern-planit-purple-xml-30-days"
                ],
                "start_date": "2026-11-07",
                "end_date": "2026-11-07",
                "drop_in_ok": false,
                "changed": null,
                "geo": {
                  "lat": 42.052144,
                  "lon": -87.672627,
                  "exact": false
                },
                "path": "/events/imagine-u-grace-and-the-butterfly-effect-63a61db5-b583-4553-a9a4-78e51f62fba5",
                "link": "https://evanstoncalendar.com/events/imagine-u-grace-and-the-butterfly-effect-63a61db5-b583-4553-a9a4-78e51f62fba5"
              },
              "starts": "2026-11-07T11:00",
              "ends": "2026-11-07T13:00"
            }
          ],
          "alternates": [
            {
              "id": "5c566a81-4167-4ee0-abf7-b8037e7fe99e",
              "title": "Sketch at Sketchbook",
              "start": "2026-11-07T13:00",
              "end": "2026-11-07T14:30",
              "when_kind": "timed",
              "where_kind": "venue",
              "all_day": false,
              "group": "drop_ins",
              "event_type": "drop_in",
              "venue": "Sketchbook Evanston",
              "address": "821 Chicago Ave, Evanston, IL",
              "url": null,
              "categories": [
                "arts",
                "music"
              ],
              "audience": [
                "families"
              ],
              "age_min": null,
              "age_max": null,
              "is_free": true,
              "price_min": 0,
              "status": "confirmed",
              "visibility": "public",
              "flags": [],
              "source_ids": [
                "main-dempster-mile-community-calendar"
              ],
              "start_date": "2026-11-07",
              "end_date": "2026-11-07",
              "drop_in_ok": false,
              "changed": null,
              "geo": {
                "lat": 42.032969,
                "lon": -87.678987,
                "exact": false
              },
              "path": "/events/sketch-at-sketchbook-5c566a81-4167-4ee0-abf7-b8037e7fe99e",
              "link": "https://evanstoncalendar.com/events/sketch-at-sketchbook-5c566a81-4167-4ee0-abf7-b8037e7fe99e"
            }
          ]
        }
      ]
    }
  }
}

things_to_do #

Things-to-do pages. The site's pages of things to do in Evanston by interest (music, classes, outdoors, story time and more), each with a link that lists what is coming up.

No arguments.

Call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "things_to_do",
    "arguments": {}
  }
}

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "(the same JSON as structuredContent, as text)"
      }
    ],
    "structuredContent": {
      "pages": [
        {
          "slug": "arts",
          "label": "Arts",
          "link": "https://evanstoncalendar.com/things-to-do/arts"
        }
      ]
    }
  }
}

Limits #

  • One message per request. JSON-RPC batches are refused (400, code -32600): each tool call counts once against your limit.
  • The same plan and daily limit as the API: 1,000 requests a day on API Starter ($29/month), 10,000 requests a day on API Growth ($69/month), per account, every MCP request counting as one (initialize and tools/list included). X-RateLimit-Remaining is on every answer.
  • 20 requests a minute per connection, since tools include day plans.
  • No sessions and no server-sent stream: GET and DELETE answer 405.

Troubleshooting #

What you seeWhat to do
401 "An API key is required"The client is not sending the header. Check its spelling (Authorization: Bearer evc_…, one space after Bearer) and that the environment variable is set where the client runs.
401 "not valid or was revoked"Make a new key on API keys.
429The daily limit is used up (resets at midnight in Evanston), or too many requests a minute. Retry-After says how long to wait.
405 "Use POST"The client tried the older SSE transport or a GET stream. Choose the HTTP (Streamable HTTP) transport.
406 Not AcceptableSend Accept: application/json, text/event-stream.
400 "Batches are not accepted"Send one JSON-RPC message per request.
A tool answers "Invalid argument"The message names the argument and the rule; see the tool's table above.
claude.ai asks for OAuthCustom connectors there need OAuth, not offered yet. Use Claude Code or the Claude Desktop config above.