How to Use with
your IDE
AI Tools in Obsidian supports Gemini CLI, Claude Code, VS Code with Claude Code Extension and Antigravity with Claude Code Extension.
Getting Started
Supported IDE Environments
- Gemini CLI – https://geminicli.com/
- Claude Code – https://code.claude.com/docs/en/overview
- VS Code with Claude Code Extension – https://code.visualstudio.com/
- Antigravity with Claude Code Extension – https://code.visualstudio.com/
Installing Claude Code
- Refer to the Claude Code documentation for installation.
All you need to do is EITHER
Set three environment variables (Linux and WSL), recommend adding to your profile to be persistent.
export ANTHROPIC_BASE_URL="https://chat.obsidianaitools.com"
export ANTHROPIC_AUTH_TOKEN="<your api key>"
export API_TIMEOUT_MS="3000000"Or save settings in a config file (recommended for Windows)
- File located at
- %userprofile%\.claude\settings.json (Windows)
- ~/.claude/settings.json (Linux)
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "<your API key>",
"ANTHROPIC_BASE_URL": "https://chat.obsidianaitools.com",
"API_TIMEOUT_MS": "3000000"
}
}Run claude.exe.
Claude Code Extension for VS Code and Antigravity
- Install Claude Code as shown earlier.
- Install Claude Code Extension for VS Code
Gemini-CLI
Get started with Gemini CLI
This guide will help you install, configure, and start using the Gemini CLI to enhance your workflow right from your terminal. Gemini CLI brings the power of advanced language models directly to your command line interface. As an AI-powered assistant, Gemini CLI can help you with a variety of tasks, from understanding and generating code to reviewing and editing documents.
Install
The standard method to install and run Gemini CLI uses npm:
npm install -g @google/gemini-cli
Configure
Set the following environment variables.
GEMINI_MODEL="MiniMax-M2.1"
GOOGLE_GEMINI_BASE_URL="https://chat.obsidianaitools.com"
GEMINI_API_KEY="replace with your api key"
Once Gemini CLI is installed, run Gemini CLI from your command line:
gemini
- When asked “How would you like to authenticate for this project?” select Use Gemini API Key as shown below.
- Select API Key. That is it, you are now using gemini-cli with this service.
- Select API Key. That is it, you are now using gemini-cli with this service.
Troubleshooting:
Claude: Check you do not already have a config file, if so edit\replace as per above;
- ~/.claude/settings.json (Linux)
- %userprofile%\.claude\settings.json (Windows)
gemini-cli: If you have used gemini before, you may backup and remove the ~/.gemini/ folder to start fresh.
That’s It.
This article was updated on January 23, 2026
If you have any questions or queries about your service please email Tim at [email protected] who can clarify any technical questions about the API service.
AI Vault Inspector for Obsidian (Full Demo)
Today I’m showing you my Vault Inspector Agent I built for my Obsidian vault
o defend against maintenance chaos. Let me show you how it works.
I prompt Claude Code: ‘Run a full inspection on my Cards folder.’
The agent scans 284 files and generates a comprehensive health report.
Here’s what it found: 174 files missing critical metadata, 244 files with
broken emoji tags, 70+ files in the wrong location.
Claude gives me a prioritized breakdown—Critical issues in red, Warnings in yellow,
Suggestions in green—with time estimates for each fix.
Let me show you my Vault Inspector running in real-time…
You must have a valid subscription. If you haven’t signed up yet please click the button below otherwise you’re ready to level up your Obsidian experience.