Environment Variables

January 12, 2026 ยท View on GitHub

All configuration variables for IntellyWeave CLI.

Overview

IntellyWeave CLI uses environment variables for configuration. Store them in a .env file in your project root.

Weaviate Configuration

IntellyWeave CLI (Direct)

For direct CLI operations (not needed for MCP):

VariableDescriptionExample
WEAVIATE_IS_LOCALUse local Weaviate instanceTrue
LOCAL_WEAVIATE_PORTHTTP port for local instance8080
LOCAL_WEAVIATE_GRPC_PORTgRPC port for local instance50051
WEAVIATE_URLWeaviate instance URLhttp://localhost:8080

Weaviate MCP Server

Configuration for the mcp-weaviate server. These can be set in:

  • mcp-weaviate/.env file, OR
  • intellyweave.config.json env section
VariableRequiredDescriptionExample
WEAVIATE_CONNECTION_TYPEโœ…Connection modelocal or cloud
Local Mode
WEAVIATE_HOSTIf localWeaviate hostlocalhost
WEAVIATE_PORTIf localHTTP port8080
WEAVIATE_GRPC_PORTIf localgRPC port50051
Cloud Mode
WEAVIATE_CLUSTER_URLIf cloudWCS cluster URLhttps://cluster.weaviate.network
WEAVIATE_API_KEYIf cloudWCS API keyyour-api-key
Timeouts
WEAVIATE_TIMEOUT_INITOptionalInit timeout (seconds)30
WEAVIATE_TIMEOUT_QUERYOptionalQuery timeout (seconds)60
WEAVIATE_TIMEOUT_INSERTOptionalInsert timeout (seconds)120

See the Weaviate MCP Setup Guide for detailed configuration.

Embeddings

VariableDescriptionExample
VOYAGEAI_API_KEYVoyageAI API key for embeddingspa-...

AI Agent

Required for natural language queries in the interactive shell.

VariableDescriptionExample
ANTHROPIC_API_KEYAnthropic API keysk-ant-...
AI_MODELClaude model selectionclaude-haiku-4-5

Available Models

ModelDescriptionUse Case
claude-opus-4Most capableComplex analysis
claude-sonnet-4-5Balanced speed/qualityGeneral use
claude-sonnet-4Medium reasoningModerate tasks
claude-haiku-4-5Fastest/cheapestQuick queries (default)

Development Options

VariableDescriptionExample
MCP_STRICTEnable strict MCP schema validation1
NO_COLORDisable colored output1
NO_GLYPHSDisable glyphs/emojis in output1

Example .env File

# ============================================
# WEAVIATE CONFIGURATION
# ============================================
# Choose ONE of the following connection modes:

# Option 1: Local Weaviate Instance (Docker)
WEAVIATE_URL=http://localhost:8080
# WEAVIATE_API_KEY=           # Optional: if authentication is enabled

# Option 2: Weaviate Cloud (WCD)
# WCD_URL=https://your-cluster.weaviate.network
# WCD_API_KEY=your-wcd-api-key

# ============================================
# EMBEDDINGS (Optional)
# ============================================
# VoyageAI for vector embeddings
# VOYAGEAI_API_KEY=pa-...

# ============================================
# AI AGENT (Optional)
# ============================================
# Required for natural language queries in the shell
ANTHROPIC_API_KEY=sk-ant-...

# Claude model selection (default: claude-haiku-4-5)
AI_MODEL=claude-haiku-4-5

# ============================================
# DEVELOPMENT OPTIONS (Optional)
# ============================================
# Enable strict MCP schema validation
# MCP_STRICT=1

# Disable colored output
# NO_COLOR=1

# Disable glyphs/emojis in output
# NO_GLYPHS=1

Verification

Verify your configuration:

intellyweave config show

See Also