jazz_agent
Jazz Agent
一个单用户工具:读取纽约爵士俱乐部的演出排期,理清谁在演出,并为每个俱乐部按周生成一个 Spotify 播放列表,音乐无需人工请求便会送达。它会永久保存它曾经浮现出的每一条记录,并把这个记录日志通过 MCP 交到 Claude,以便你能够向 Claude 提问、以及边听边记录你喜欢的作品。
两个半分结构,刻意分开设计:
日常批量流水线:通过 cron 定时抓取、匹配并对齐播放列表。
始终运行的 MCP 服务器:回答有关日志的问题并记录反馈。
为什么这样的方式构建
三个发现主导了这一设计,而三者全都与直接做法相反:
Spotify 从根本上剔除了你原本要用的端点。 2024 年 11 月后的 API 改动对所有新注册的应用移除了
related-artists、recommendations、audio-features与audio-analysis。现在既没有声学数据,也没有艺人相似度数据。艺人之间的关联来自 MusicBrainz,乃至每个爵士俱乐部自身的演出信息;所谓"风格",不外乎的是类型标签和你自己记录的爱好。CSS 选择器无法面对 6 个不再维护的网站。
...提取不再依赖页面结构,而是直接对页面文本交给 LLM 进行;因此新增一个俱乐部,只需在数据表里添加一行,某个演出场地改版也不会破坏任何东西。以周为单位,而不是以夜为单位。 每个俱乐部在每一周的预订周期(周二到周一)里只有一个播放列表,因此住场演出横跨数晚、同一组艺人附上两份歌单、以及歌单在演唱一段时间后过期之类的整类问题都消失了。日常运行得以变成一个幂等的收敛循环,不再是一次性的事件。
Related MCP server: Spotify MCP Server
文档
文档 | 用途 |
技术规格说明书。每个 issue 都会引用它的某一部分。 | |
ADR。记录每个选择为什么、否决了什么以及根据。 | |
Schema、索引,以及对口"口味图谱"有价值的查询。 | |
粘贴到 Claude Project 里。聊天机器人的运行时契约。 | |
将一台刚刚跳过的云 VPS 转换成能够运行本项目的电脑。从这里开始。 | |
申请 Spotify 与 Google OAuth 凭据,然后运行服务器。 | |
完整的部署参考、备份,以及故障排查 playbook —— 如何从头重建宿主机。 | |
对实现本项目的 agent 所要求的约定与不变量。 | |
原始 PRD,原文照录。部分内容已取代;详见 ADR。 |
PRD 刻意保持未编辑,作为最初的设计意图记录。当架构与其偏离时,对应 ADR 会明确说明,并写明它所取代的 PRD 的哪个部分。
状态
所有 v1 里程碑内的 issue 都已实现并测试。真正投入生产之前还剩两件事,都需要人来完成:申请一组真实的 Google OAuth 客户端和一个真实的 Spotify 开发者应用(见 docs/RUNBOOK.md 第 4–5 节),以及部署到真实的 VPS。构建过程以 v1 里程碑下的 issue 跟踪,每个 issue 都有明确的验收标准和显式的 Blocked by 链接 —— 需要了解完成的内容和背后的理由,可以查看已关闭的 issues。
技术栈
Python 3.12 + uv,Postgres 17(tsvector、pg_trgm、pgvector),httpx 并可选地针对每个俱乐部使用 Playwright,提取与仲裁使用 Anthropic Claude Haiku,FastMCP 搭配 Google 委派的 OAuth,部署基于小规格 Linux VPS 的 Docker Compose。
许可证
MIT.
This server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude to Spotify for music discovery, playlist creation, and collection analysis through natural language. Enables searching songs, analyzing music diversity, creating playlists, and getting recommendations using Spotify's API.
- FlicenseAqualityDmaintenanceIntegrates Spotify with Claude to enable voice-controlled music playback, playlist management, and personalized recommendations through conversational AI. It provides comprehensive tools for searching tracks, managing liked songs, and analyzing listening habits.151
- AlicenseNot gradedqualityDmaintenanceEnables querying local meeting notes, calendar events, email metadata, and daily digests from Imprint's database via natural language through Claude Desktop and other MCP clients.15MIT
- AlicenseAqualityAmaintenanceConnects Claude to your CellarTracker wine cellar, enabling natural language queries for inventory, drinking recommendations, purchase history, and tasting notes.11795MIT
Related MCP Connectors
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Talk to your live-events CRM (campaigns, analytics, paid ads, segments) in Claude and ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Brian-Egan/jazz_agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server