procurement-graph
Exposes a dependency graph of strategic sourcing artifacts and analyses as an MCP server, enabling navigation of phases, analyses, deliverables, and graph traversal for impact analysis and build order.
README
procurement-graph
A dependency graph of strategic sourcing artifacts and analyses, exposed as an MCP server.
This is an open specification I publish through Canonical Agency. It generalizes patterns from procurement and spend-intelligence engagements at two enterprises under NDA.
What it models
The strategic sourcing process is usually drawn as a linear set of phases. I find that framing brittle. Phases describe when work happens; they do not describe what depends on what. The same spend cube feeds the diagnostic, the category strategy, and the ongoing performance dashboard. The same supplier scorecard depends on baseline metrics captured during onboarding. Treating these as a graph (nodes plus edges) makes it possible to ask the questions that actually matter on an engagement:
- What deliverables are blocked by missing inputs?
- If raw spend changes, what gets invalidated?
- Given my entity-profile data, which analyses can I run today?
- What is the build order to produce a category strategy?
Phases (0 through 6) remain in the spec as a navigational frame. They are not the structural spine.
Phase model
Seven phases, zero through six, anchoring the program from opening diagnostic through ongoing performance management.
Phase 0 Opportunity Assessment & Business Case
Phase 1 Spend Analysis & Category Segmentation
Phase 2 Supply Market Research
Phase 3 Strategy Development
Phase 4 Sourcing Execution (RFx + Negotiation)
Phase 5 Implementation & Supplier Transition
Phase 6 Performance Management & Benefits Tracking
Layer model
Every node lives in one of five layers. Layers describe what kind of work a node is, independent of which phase it belongs to.
Layer 1 Truth and facts (raw data, supplier master, contracts)
Layer 2 Analytical assets (spend cube, should-cost, risk scores)
Layer 3 Decision artifacts (category strategy, negotiation strategy)
Layer 4 Execution artifacts (RFx packages, contracts, transition plans)
Layer 5 Proof and control (benefits tracking, scorecards, compliance)
Tools (v0.4)
Navigation and catalog:
| Tool | Purpose |
|---|---|
list_phases() |
Seven phases with one-line purpose |
get_phase(number) |
Full phase spec (purpose, included activities, layer focus) |
list_analyses(primary_phase?, layer?, feasibility?) |
Layer 2 analyses, filterable by feasibility with PO-line data |
get_analysis(slug) |
Full analysis spec (firms, inputs, method, outputs, watch-outs) |
list_deliverables(primary_phase?, layer?) |
Layer 3-5 deliverables |
get_deliverable(slug) |
Full deliverable spec (purpose, audience, components, dependencies) |
list_horizontal_artifacts() |
Cross-phase artifacts (governance, RAID, benefits tracker) |
get_engagement_context() |
Shared fictional engagement (TechnoFlex PSA resin) that anchors all examples |
list_artifact_examples() |
Filled-in artifact examples, each tied to a parent node slug |
get_artifact_example(slug) |
Fetch a filled-in TechnoFlex example for a given parent node slug |
Graph traversal:
| Tool | Purpose |
|---|---|
get_dependencies(slug) |
Direct upstream nodes for a given node |
get_dependents(slug) |
Direct downstream nodes for a given node |
what_breaks_if(slug) |
Transitive closure of downstream nodes (impact analysis) |
build_order(target_slug) |
Topological sort of every upstream node plus the target |
feasible_now() |
Nodes flagged HIGH feasibility against PO-line + entity-profile data |
data_gap_analysis() |
Nodes blocked by MISSING inputs, ranked by transitive impact |
Install (local / editable)
cd /Users/fbaig/Projects/procurement-graph
uv sync
uv run procurement-graph
Validate the content corpus
procurement-graph validate runs the integrity checks the test suite enforces (edge consistency, acyclicity, example linkage, phase continuity) as a standalone CLI. Useful for content editors to verify their work before committing.
uv run procurement-graph validate
Claude Desktop config
{
"mcpServers": {
"procurement-graph": {
"command": "uv",
"args": [
"--directory",
"/Users/fbaig/Projects/procurement-graph",
"run",
"procurement-graph"
]
}
}
}
Repository layout
content/
├── phases/ seven phase descriptions
├── analyses/ Layer 2 analyses from the procurement analytics catalog
├── deliverables/ Layer 3-5 deliverables from the phase-by-phase taxonomy
├── horizontal/ cross-phase artifacts (governance, RAID, benefits tracker)
├── engagement/ shared fictional engagement (TechnoFlex PSA resin)
└── examples/ 15 filled-in artifact examples anchored to the TechnoFlex engagement
src/procurement_graph/
├── __main__.py entrypoint dispatching to MCP server or validate CLI
├── server.py FastMCP app and tool registrations (16 tools)
├── loaders.py cached file readers
├── parsing.py YAML frontmatter and markdown body parsing
├── models.py pydantic node, phase, and example models
├── graph.py dependency-graph traversal (BFS, topo sort, feasibility)
└── validate.py standalone content-integrity checks
The methodology content lives in content/ as markdown with YAML frontmatter, so the source of truth is editable without touching the server code.
License
Apache-2.0.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。