@vrin/cli
v1.3.3
Published
CLI for VRIN knowledge base — query, insert, and manage enterprise knowledge graphs from the terminal
Maintainers
Readme
@vrin/cli
CLI for VRIN — query and manage your knowledge base from the terminal.
This is a lightweight Node.js wrapper around the VRIN Python CLI. It requires Python 3.8+ with the vrin package installed.
Install
# Install the npm wrapper
npm install -g @vrin/cli
# Install the Python backend (required)
pip install vrin
# Set your API key
export VRIN_API_KEY="vrin_your_key"Or use without installing globally:
npx @vrin/cli query "What is ACME's revenue?" --jsonUsage
# Query your knowledge base
vrin query "What is ACME's Q4 revenue?" --json
# Stream results
vrin query "Summarize our financials" --stream
# Insert knowledge
vrin insert "ACME reported $50M in Q4" --title "ACME Financials" --json
# Upload a file
vrin upload ./report.pdf --json
# Check service health
vrin health --json
# See all commands
vrin --describeWhy CLI over MCP?
MCP servers inject 55K-100K+ tokens of tool schemas into every AI conversation. The CLI costs ~500 tokens only when invoked. For AI coding assistants like Claude Code, this means faster sessions and more room for actual work.
License
MIT
