Skip to main content
Glama

BingMCP

BingMCP is a FastMCP server that gives an LLM live access to useful Binghamton University campus data. It supports local stdio clients and Streamable HTTP clients, including Baxter or another MCP-compatible frontend.

The server discovers the existing tools from tools/*/tool.py at startup. No API credentials are required for the public campus data sources.

Current tools

  • get_laundry_availability(building: str) — current washer and dryer state

  • get_bus_locations() — live bus positions and arrival estimates

  • get_dining_status(hall: str) — current resident dining hall hours/status

  • get_dining_menu(hall: str, date?: str) — normalized dining menus

  • get_gym_capacity() — East Gym occupancy and open/closed status

  • get_available_library_rooms(library?: str, category?: str) — currently available study rooms

  • get_bengaged_events(limit?: int, offset?: int, search?: str) — upcoming B-Engaged events

  • test_tool(message: str) — the existing protocol smoke-test tool

Every tool returns a structured result. When an upstream source is unavailable, the tool returns:

{
  "status": "unavailable",
  "reason": "..."
}

Related MCP server: Canvas LMS MCP Server

Bearcat Dining integration

The dining tools use Binghamton’s current Bearcat Dining provider through the official Dine On Campus Binghamton site, not the retired Sodexo integration.

The adapter dynamically resolves the Binghamton site and dining-location IDs, so it is resilient to provider-side ID changes. It reads:

  • public site metadata and dining locations;

  • weekly schedules for current hall hours and open/closed status;

  • meal periods and per-period menu data, including stations, items, portions, calories, dietary filters, nutrients, and allergens.

Supported resident halls and aliases include Hinman, CIW (College-in-the-Woods), C4 (Chenango Champlain), and Appalachian/ACC. get_dining_menu accepts these date formats:

  • YYYY-MM-DD

  • MM-DD-YYYY

  • MM/DD/YYYY

  • YYYY/MM/DD

The public API base URL and site slug can be overridden for testing with BEARCAT_DINING_API_URL and BEARCAT_DINING_SITE_SLUG.

Project layout

BingMCP/
  server.py
  cache.py
  run.sh
  requirements.txt
  test_dining.py
  test_mcp.py
  test_tools.py
  tools/
    bus/tool.py
    dining/tool.py
    events/tool.py
    gym/tool.py
    laundry/tool.py
    library/tool.py
    test_tool/tool.py

Requirements and setup

  • Python 3.10+

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt

Or use the helper script:

./run.sh

Running the server

stdio (default)

python server.py

Use stdio for local MCP clients that launch the server as a subprocess.

Streamable HTTP

python server.py --transport http
# or
./run.sh --transport http

The HTTP server listens on localhost:8000 and exposes MCP at:

http://localhost:8000/mcp

For a frontend, run the backend with --transport http. If tools appear stale or the endpoint returns 404, stop any older process still using port 8000 and start the server again.

Testing

Run the deterministic Bearcat adapter contract tests:

python -m unittest -v test_dining.py

To test the full MCP protocol over HTTP, start the server in one terminal and run this in a second terminal:

python server.py --transport http
python test_mcp.py

test_mcp.py discovers the registered tools and calls each existing endpoint, including the smoke-test tool. test_tools.py is the live upstream smoke test; it calls the external campus APIs and therefore depends on network access and the current operating hours of each service.

Other data sources

  • Laundry: LaundryView

  • Bus: ETA Spot

  • Gym: https://binggym.com/api/gym

  • Library: Binghamton LibCal

  • Events: B-Engaged mobile events endpoint

Each source has its own TTL in cache.py, and the events tool refreshes its upcoming-event snapshot in the background every 15 minutes.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides real-time and scheduled bus data for the Centre Area Transportation Authority (CATA) in State College, PA. Enables users to track live bus positions, get arrival predictions, search stops, view routes, and receive service alerts through natural language queries.
    7
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to real-time Winnipeg Transit data and 311 City Services, enabling AI assistants to plan trips, check bus arrivals, and search for reported city issues. It allows users to interact with city infrastructure data and transit schedules through natural language.
    8
    MIT

View all related MCP servers

Related MCP Connectors

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

  • Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.

  • Live data gateway for AI — 3,300+ tools across 750+ sources, with citations

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/luljaj/BingMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server