Prerequisites
- Python 3.10 or higher
- A Nogic account at nogic.dev
Step 1: Install the CLI
Step 2: Get Your API Key
- Go to nogic.dev and sign in
- Navigate to Settings → API Keys
- Click Create API Key
- Copy the key (starts with
sk_)
Step 3: Login
Step 4: Initialize Your Project
Navigate to your codebase and initialize:.nogic/config.json and syncs your code to Nogic.
Step 5: Verify It Works
Step 6: Connect Your AI Agent
Add Nogic to your AI agent’s MCP config:- Claude Code
- Cursor
Create
.mcp.json in your project root:YOUR_API_KEY with your actual key.
Step 7: Test It
In your AI agent, try:“Use nogic to list all files in this project”Or:
“Use nogic to find functions similar to user authentication”