Skip to main content

Vinemap — a local-first, graph-based context engine for AI coding agents

Project description

Vinemap — Local Code Graph & MCP Context for AI Coding Agents

PyPI Python License

Vinemap builds a local code graph of your repository and delivers token-budgeted context packs to AI coding agents — Claude Code, Cursor, Codex CLI, Gemini CLI, Copilot, and any MCP client.

Stop wasting tokens on blind exploration. Vinemap ranks the right files before your agent's first tool call.

Install

pip install vinemap

Python 3.9+. Zero runtime dependencies.

Quick start

vinemap index .                              # build code graph → .vinemap/
vinemap query "where is auth handled"        # ranked search
vinemap pack  "how do sessions work" --budget 6000
vinemap mcp .                                # MCP server (stdio)
vinemap connect cursor                       # auto-configure Cursor

MCP integration

{
  "mcpServers": {
    "vinemap": {
      "command": "vinemap",
      "args": ["mcp", "/path/to/project"]
    }
  }
}

Tools: graph_retrieve · graph_read · graph_neighbors · graph_stats

Why Vinemap?

  • Graph-native context — files, symbols, imports, call edges (not just text chunks)
  • Token-budgeted packs<codebase_context> blocks sized to your budget
  • Session memory — remembers touched files and decisions across turns
  • 100% local — nothing leaves your machine
  • MCP-native — works with Cursor, Claude Code, Codex, Gemini, and more

Supported languages

Python (AST), TypeScript, JavaScript, Go, Rust, Java, C/C++, C#, Ruby, PHP, Kotlin, Swift.

Links

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vinemap-0.1.1.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vinemap-0.1.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file vinemap-0.1.1.tar.gz.

File metadata

  • Download URL: vinemap-0.1.1.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for vinemap-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d0cfd9b026946d56d4a8379aaeaca086674fcc939c08c9a71b2bb23447a53ceb
MD5 6cb0e6e4af8dcb9633f16731926dfa86
BLAKE2b-256 ad0482f1fe6433f568094744b18ba760abec90df42e5de3160e44393c11a50ff

See more details on using hashes here.

File details

Details for the file vinemap-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vinemap-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for vinemap-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59dd0659e9873908ae2ad96f242792683c7673cbedca2de473a67012e710f17e
MD5 e3d90452ae06c5582d6b984329d2e774
BLAKE2b-256 153ec2286d2abd846eb672a4415f167498763cbabd29d5d93d82602dd1973ed8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page