PeerCortex/.env.example
Rene Fichtmueller f2470f3e56 feat: initial release — AI-powered network intelligence platform
PeerCortex unifies PeeringDB, RIPE Stat, bgproutes.io, RIPE Atlas,
Route Views, IRR, RPKI, and CAIDA into a single AI-queryable MCP Server
for network engineers. Powered by local Ollama.

Core capabilities:
- 34 MCP tools for network intelligence
- 11 data sources unified
- ASPA validation engine (RFC 9582) with leak detection
- Peering partner discovery with AI-ranked matches
- BGP analysis and anomaly detection
- RPKI monitoring and compliance reports
- Latency/traceroute via RIPE Atlas
- Transit analysis and cost comparison
- IX traffic statistics
- AS topology mapping
- ASPA object generator and simulator
- 100% local AI — no cloud dependencies
2026-03-26 07:26:14 +13:00

43 lines
2.4 KiB
Plaintext

# ─────────────────────────────────────────────────────────────
# PeerCortex Configuration
# Copy this file to .env and fill in your values
# ─────────────────────────────────────────────────────────────
# ── Ollama (Local AI) ──────────────────────────────────────
# URL of your Ollama instance
OLLAMA_BASE_URL=http://localhost:11434
# Model to use for AI analysis (recommended: llama3.1, mistral, codellama)
OLLAMA_MODEL=llama3.1
# ── PeeringDB ─────────────────────────────────────────────
# Optional: PeeringDB API key for higher rate limits
# Get one at: https://www.peeringdb.com/apidocs/
PEERINGDB_API_KEY=
# ── RIPE Stat ─────────────────────────────────────────────
# Optional: RIPE Stat data source key
# Register at: https://stat.ripe.net/
RIPE_STAT_SOURCE_APP=peercortex
# ── RPKI ──────────────────────────────────────────────────
# Routinator API endpoint (if running locally)
ROUTINATOR_URL=http://localhost:8323
# RIPE RPKI Validator endpoint
RIPE_RPKI_VALIDATOR_URL=https://rpki-validator.ripe.net/api/v1
# ── Cache ─────────────────────────────────────────────────
# SQLite database path for caching API responses
CACHE_DB_PATH=./peercortex-cache.db
# Cache TTL in seconds (default: 1 hour)
CACHE_TTL_SECONDS=3600
# ── Server ────────────────────────────────────────────────
# MCP Server transport (stdio or sse)
MCP_TRANSPORT=stdio
# Port for SSE transport (only used if MCP_TRANSPORT=sse)
MCP_PORT=3100
# ── Logging ───────────────────────────────────────────────
# Log level: debug, info, warn, error
LOG_LEVEL=info