Access public Ohio State University campus data from services like bus, dining, events, buildings, parking, and more via osu content APIs in JSON format.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install ohio-state-api或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install ohio-state-api⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/ohio-state-api/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: ohio-state-api description: Get public data from The Ohio State University Content APIs (content.osu.edu) across campus services (bus, buildings, dining, events, academic calendar, libraries, rec sports, parking, directory, student orgs, athletics, food trucks, BuckID merchants). Use when you need OSU campus data, want to build an OSU data feature, or need a repeatable way to fetch/inspect OSU API JSON. compatibility: Requires outbound internet access to content.osu.edu. Optional: Node.js + npm for the bundled MCP server. ---
Use the bundled fetch helper to pull JSON from OSU Content APIs.
- node ohio-state-api/scripts/osu-fetch.mjs https://content.osu.edu/v2/api/v1/dining/locations
- node ohio-state-api/scripts/osu-fetch.mjs --service dining --path /locations
Note: --path can be passed with or without a leading / (both work).
If the response is large, add --extract (e.g. --extract data) to print only a subtree.
If you just want raw JSON and have curl available, reference ohio-state-api/references/OSU_API.md:
- curl -sS -H 'accept: application/json' 'https://content.osu.edu/v2/api/v1/dining/locations'
- curl -sS -H 'accept: application/json' 'https://content.osu.edu/v2/classes/search?q=cse&p=1'
Optional: pipe to jq for readability:
curl -sS -H 'accept: application/json' 'https://content.osu.edu/v2/api/v1/dining/locations' | jq .This skill bundles the original MCP server under ohio-state-api/mcp-server/.
Build it:
cd ohio-state-api/mcp-server && npm install && npm run buildThen configure your MCP client to run:
node["/ABSOLUTE/PATH/TO/ohio-state-api/mcp-server/build/index.js"]After it’s running, use tools like:
get_bus_routes, get_bus_vehiclesget_buildings, search_buildings, get_building_detailsget_dining_locations, get_dining_menuget_campus_events, get_events_by_date_rangesearch_classesget_parking_availability(See ohio-state-api/mcp-server/README.md and the tool definitions in ohio-state-api/mcp-server/src/ for the full list.)
- the query window (absolute dates/times), and - the retrieval timestamp.
These are used by the bundled MCP server and work with osu-fetch.mjs:
https://content.osu.edu/v3/athleticshttps://content.osu.edu/v2/bushttps://content.osu.edu/v2/apihttps://content.osu.edu/v2/calendarhttps://content.osu.edu/v2/classeshttps://content.osu.edu/v2/api/v1/dininghttps://content.osu.eduhttps://content.osu.edu/v2https://content.osu.edu/v2/foodtruckhttps://content.osu.edu/v2/libraryhttps://content.osu.edu/v2https://content.osu.edu/v2/parking/garageshttps://content.osu.edu/v3https://content.osu.edu/v2/student-org - curl -sS -H 'accept: application/json' 'https://content.osu.edu/v2/api/v1/dining/locations'
- curl -sS -H 'accept: application/json' 'https://content.osu.edu/v2/parking/garages/availability'
jq): - curl -sS -H 'accept: application/json' 'https://content.osu.edu/v2/api/buildings' | jq -r '.data.buildings[] | select((.name // \"\") | test(\"union\";\"i\")) | \"\\(.buildingNumber)\\t\\(.name)\"'
ohio-state-api/references/OSU_API.md安装 Ohio State API 后,可以对 AI 说这些话来触发它
Help me get started with Ohio State API
Explains what Ohio State API does, walks through the setup, and runs a quick demo based on your current project
Use Ohio State API to access public Ohio State University campus data from services like ...
Invokes Ohio State API with the right parameters and returns the result directly in the conversation
What can I do with Ohio State API in my developer & devops workflow?
Lists the top use cases for Ohio State API, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/ohio-state-api/ 目录(个人级,所有项目可用),或 .claude/skills/ohio-state-api/(项目级)。重启 AI 客户端后,用 /ohio-state-api 主动调用,或让 AI 根据上下文自动发现并使用。
Ohio State API 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Ohio State API 可免费安装使用。请查阅仓库了解许可证信息。
Access public Ohio State University campus data from services like bus, dining, events, buildings, parking, and more via osu content APIs in JSON format.
Ohio State API 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Ohio State API
Identifies repetitive steps in your workflow and sets up Ohio State API to handle them automatically