|
| 1 | +# Upstream MCP — Agent Instructions |
| 2 | + |
| 3 | +## Ecosystem Context |
| 4 | + |
| 5 | +This repo is part of the **Upstream Intelligence** family of repos. Before working here, read the |
| 6 | +workspace graph for cross-repo relationships: |
| 7 | + |
| 8 | +- `/Users/kevinrichards/workspace-graph/WORKSPACE_CONTEXT.md` — low-token entrypoint |
| 9 | +- `/Users/kevinrichards/workspace-graph/REPO_INDEX.json` — machine-readable repo index |
| 10 | + |
| 11 | +### Sister repos |
| 12 | + |
| 13 | +| Repo | Role | |
| 14 | +|---|---| |
| 15 | +| `upstream-v2` | Production healthcare AI SaaS (Django + React + Cloud Run + Vercel) | |
| 16 | +| `upstream-data` | Public payer policy data API and CMS ingestion pipeline | |
| 17 | +| `upstream-mcp` | **This repo** — Model Context Protocol server for Upstream data access | |
| 18 | +| `upstream-skills` | Claude Code skills for Upstream workflows | |
| 19 | +| `upstream-community` | Community docs and contributor resources | |
| 20 | +| `awesome-payer-risk` | Curated payer risk resources (public) | |
| 21 | +| `upstream-intelligence-github` | GitHub org profile (.github) | |
| 22 | +| `upstream-intelligence-dotgithub` | Default org-level GitHub config | |
| 23 | + |
| 24 | +### Production system |
| 25 | + |
| 26 | +`upstream-v2` is the live production system. This MCP server exposes Upstream data and payer |
| 27 | +policy intelligence to AI agents. Changes to tool schemas or API contracts may affect any agent |
| 28 | +or integration consuming the MCP server — check consumers before shipping breaking changes. |
| 29 | + |
| 30 | +## Code Graph |
| 31 | + |
| 32 | +This repo uses `code-review-graph` for structural code context. Before exploring code with raw |
| 33 | +file scans, use the graph MCP tools (`semantic_search_nodes`, `query_graph`, `detect_changes`). |
| 34 | +If the graph is stale or empty, refresh it: |
| 35 | + |
| 36 | +```bash |
| 37 | +code-review-graph build --repo . |
| 38 | +``` |
| 39 | + |
| 40 | +The graph database is local-only under `.code-review-graph/` and must not be committed. |
0 commit comments