contextweaver — Claude Code MCP server: what it does, how to install
contextweaver snapshots the tools available to an agent and shows what changed between API versions.
Apache-2.0 ★ 9 updated 2026-10-19
claude mcp add contextweaver -- uvx contextweaverWhat contextweaver does
Reads an OpenAPI document, an MCP server's tools/list response, or a native catalog, normalizes the capability list, and produces a deterministic snapshot. The diff command compares two snapshots and separates tool additions and removals from edits to existing ones — a required-parameter change is flagged separately from a description update.
Runs locally via uvx, needs no API keys, and does not invoke the tools themselves. The verify command checks snapshot structure, identifier uniqueness, and canonical digests. A potential breaking-change flag appears when required, type, or enum fields shift, but the server does not perform full JSON Schema compatibility analysis.
What it helps with
- compare API versions and see which tools were added or removed
- check whether required parameters of an existing tool have changed
- snapshot an agent's capability surface before deployment
- produce a deterministic snapshot from an OpenAPI file without calling a model
Example prompts for the agent
- Save a snapshot from
openapi.yamltocapabilities.json - Compare
capabilities.jsonandcapabilities-candidate.json - Verify the structure of
capabilities.json
How to install contextweaver
Platform CLI
claude mcp add contextweaver -- uvx contextweaveruvx runs the command named after the package; if the README names another one, use uvx --from contextweaver <command>
Platform CLI
codex mcp add contextweaver -- uvx contextweaveruvx runs the command named after the package; if the README names another one, use uvx --from contextweaver <command>
Config file
{
"mcpServers": {
"contextweaver": {
"command": "uvx",
"args": [
"contextweaver"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from contextweaver <command>
Config file
{
"servers": {
"contextweaver": {
"type": "stdio",
"command": "uvx",
"args": [
"contextweaver"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from contextweaver <command>
Platform CLI
gemini mcp add contextweaver uvx contextweaveruvx runs the command named after the package; if the README names another one, use uvx --from contextweaver <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about contextweaver
How to install contextweaver in Claude Code?
Run claude mcp add contextweaver -- uvx contextweaver.
What does contextweaver do?
Creates a deterministic snapshot of tools from an OpenAPI specification or MCP server response, compares snapshots, and shows which capabilities have changed.
Does contextweaver require an API key?
No, the server runs locally and does not require a connection to a model or external services.