JetBrains IDE Index

JetBrains IDE Index

hechtcarmel

Connects AI coding assistants to JetBrains IDE's code indexing and navigation features. Enables AI to find references, jump to definitions, and access code diagnostics across your project.

Supercharge AI coding assistants with rich code intelligence from JetBrains IDEs. IDE Index MCP Server unlocks advanced project-wide indexing, multi-language navigation, and safe refactoring tools for AI agents, enabling deep semantic understanding and smart symbol search across your codebase. Benefit from universal features like reference finding, code diagnostics, and cross-language support—all tested on major JetBrains IDEs. Designed for reliability and seamless workflow integration, this plugin brings the power of modern IDE features directly to AI-assisted development.

96412 views21Remote

What it does

  • Find all references to symbols across projects
  • Navigate to symbol definitions and declarations
  • Access IDE error diagnostics and quick fixes
  • Explore class inheritance hierarchies
  • Trace method and function call chains
  • Search symbols with IDE's semantic understanding

Best for

Developers using AI assistants like Claude or CursorCode refactoring with AI guidanceMulti-language codebases requiring cross-references
Works with 8+ JetBrains IDEsMulti-language support including Java, Python, TypeScriptLeverages existing IDE indexing

About JetBrains IDE Index

JetBrains IDE Index is a community-built MCP server published by hechtcarmel that provides AI assistants with tools and capabilities via the Model Context Protocol. Supercharge your AI code assistant with JetBrains IDE Index. Unlock advanced code intelligence, navigation & refactoring It is categorized under developer tools.

How to install

You can install JetBrains IDE Index in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server supports remote connections over HTTP, so no local installation is required.

License

JetBrains IDE Index is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

IDE Index MCP Server

Build Version Downloads

A JetBrains IDE plugin that exposes an MCP (Model Context Protocol) server, enabling AI coding assistants like Claude, Codex, Cursor, and Windsurf to leverage the IDE's powerful indexing and refactoring capabilities.

Fully tested: IntelliJ IDEA, PyCharm, WebStorm, GoLand, RustRover, Android Studio, PhpStorm May work (untested): RubyMine, CLion, DataGrip

"Buy Me A Coffee"

IDE Index MCP Server provides AI coding assistants with access to the IDE's powerful code intelligence features through the Model Context Protocol (MCP).

Features

Multi-Language Support Advanced tools work across multiple languages based on available plugins:

  • Java & Kotlin - IntelliJ IDEA, Android Studio
  • Python - PyCharm (all editions), IntelliJ with Python plugin
  • JavaScript & TypeScript - WebStorm, IntelliJ Ultimate, PhpStorm
  • Go - GoLand, IntelliJ IDEA Ultimate with Go plugin
  • Rust - RustRover, IntelliJ IDEA Ultimate with Rust plugin, CLion

Universal Tools (All JetBrains IDEs)

  • Find References - Locate all usages of any symbol across the project
  • Go to Definition - Navigate to symbol declarations
  • Code Diagnostics - Access errors, warnings, and quick fixes
  • Index Status - Check if code intelligence is ready

Extended Tools (Language-Aware) These tools activate based on installed language plugins:

  • Type Hierarchy - Explore class inheritance chains
  • Call Hierarchy - Trace method/function call relationships
  • Find Implementations - Discover interface/abstract implementations
  • Symbol Search - Find by name with fuzzy/camelCase matching
  • Find Super Methods - Navigate method override hierarchies

Refactoring Tools

  • Rename Refactoring - Safe renaming with automatic related element renaming (getters/setters, overriding methods) - works across ALL languages, fully headless
  • Safe Delete - Remove code with usage checking (Java/Kotlin only)

Why Use This Plugin?

Unlike simple text-based code analysis, this plugin gives AI assistants access to:

  • True semantic understanding through the IDE's AST and index
  • Cross-project reference resolution that works across files and modules
  • Multi-language support - automatically detects and uses language-specific handlers
  • Safe refactoring operations with automatic reference updates and undo support

Perfect for AI-assisted development workflows where accuracy and safety matter.

Table of Contents

Installation

Using the IDE built-in plugin system

Settings/Preferences > Plugins > Marketplace > Search for "IDE Index MCP Server" > Install

Using JetBrains Marketplace

Go to JetBrains Marketplace and install it by clicking the Install to ... button.

Manual Installation

Download the latest release and install it manually: Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Quick Start

  1. Install the plugin and restart your JetBrains IDE
  2. Open a project - the MCP server starts automatically with IDE-specific defaults:
    • IntelliJ IDEA: intellij-index on port 29170
    • PyCharm: pycharm-index on port 29172
    • WebStorm: webstorm-index on port 29173
    • Other IDEs: See IDE-Specific Defaults
  3. Configure your AI assistant using the "Install on Coding Agents" button (easiest) or manually
  4. Use the tool window (bottom panel: "Index MCP Server") to copy configuration or monitor commands
  5. Change port (optional): Click "Change port, disable tools" in the toolbar or go to Settings > Tools > Index MCP Server

Using the "Install on Coding Agents" Button

The easiest way to configure your AI assistant:

  1. Open the "Index MCP Server" tool window (bottom panel)
  2. Click the prominent "Install on Coding Agents" button on the right side of the toolbar
  3. A popup appears with two sections:
    • Install Now - For Claude Code CLI and Codex CLI: Runs the installation command automatically
    • Copy Configuration - For other clients: Copies the JSON config to your clipboard
  4. For "Copy Configuration" clients, paste the config into the appropriate config file

Client Configuration

Claude Code (CLI)

Use the "Install on Coding Agents" button in the tool window, or run this command (adjust name and port for your IDE):

# IntelliJ IDEA
claude mcp add --transport http intellij-index http://127.0.0.1:29170/index-mcp/sse --scope user

# PyCharm
claude mcp add --transport http pycharm-index http://127.0.0.1:29172/index-mcp/sse --scope user

# WebStorm
claude mcp add --transport http webstorm-index http://127.0.0.1:29173/index-mcp/sse --scope user

Options:

  • --scope user - Adds globally for all projects
  • --scope project - Adds to current project only

To remove: claude mcp remove <server-name> (e.g., claude mcp remove intellij-index)

Codex CLI

Use the "Install on Coding Agents" button in the tool window, or run this command (adjust name and port for your IDE):

# IntelliJ IDEA
codex mcp add --transport sse intellij-index http://127.0.0.1:29170/index-mcp/sse

# PyCharm
codex mcp add --transport sse pycharm-index http://127.0.0.1:29172/index-mcp/sse

# WebStorm
codex mcp add --transport sse webstorm-index http://127.0.0.1:29173/index-mcp/sse

To remove: codex mcp remove <server-name> (e.g., codex mcp remove intellij-index)

Cursor

Add to .cursor/mcp.json in your project root or ~/.cursor/mcp.json globally (adjust name and port for your IDE):

{
  "mcpServers": {
    "intellij-index": {
      "url": "http://127.0.0.1:29170/index-mcp/sse"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json (adjust name and port for your IDE):

{
  "mcpServers": {
    "intellij-index": {
      "serverUrl": "http://127.0.0.1:29170/index-mcp/sse"
    }
  }
}

VS Code (Generic MCP)

{
  "mcp.servers": {
    "intellij-index": {
      "transport": "sse",
      "url": "http://127.0.0.1:29170/index-mcp/sse"
    }
  }
}

Note: Replace the server name and port with your IDE's defaults. See IDE-Specific Defaults below.

IDE-Specific Defaults

Each JetBrains IDE has a unique default port and server name to allow running multiple IDEs simultaneously without conflicts:

IDEServer NameDefault Port
IntelliJ IDEAintellij-index29170
Android Studioandroid-studio-index29171
PyCharmpycharm-index29172
WebStormwebstorm-index29173
GoLandgoland-index29174
PhpStormphpstorm-index29175
RubyMinerubymine-index29176
CLionclion-index29177
RustRoverrustrover-index29178
DataGripdatagrip-index29179
Aquaaqua-index29180
DataSpelldataspell-index29181
Riderrider-index29182

Tip: Use the "Install on Coding Agents" button in the tool window - it automatically uses the correct server name and port for your IDE.

Available Tools

The plugin provides MCP tools organized by availability:

Universal Tools

These tools work in all supported JetBrains IDEs.

ToolDescription
ide_find_referencesFind all references to a symbol across the entire project
ide_find_definitionFind the definition/declaration location of a symbol
ide_diagnosticsAnalyze a file for problems (errors, warnings) and available intentions
ide_index_statusCheck if the IDE is in dumb mode or smart mode

Extended Tools (Language-Aware)

These tools activate based on available language plugins:

ToolDescriptionLanguages
ide_type_hierarchyGet the complete type hierarchy (supertypes and subtypes)Java, Kotlin, Python, JS/TS, Go, Rust
ide_call_hierarchyAnalyze method call relationships (callers or callees)Java, Kotlin, Python, JS/TS, Go, Rust
ide_find_implementationsFind all implementations of an interface or abstract methodJava, Kotlin, Python, JS/TS, Go, Rust
ide_find_symbolSearch for symbols (classes, methods, fields) by name with fuzzy/camelCase matchingJava, Kotlin, Python, JS/TS, Go, Rust
ide_find_super_methodsFind the full inheritance hierarchy of methods that a method overrides/implementsJava, Kotlin, Python, JS/TS, Go, Rust

Refactoring Tools

ToolDescriptionLanguages
ide_refactor_renameRename a symbol and update all referencesAll languages
ide_refactor_safe_deleteSafely delete an element, checking for usages firstJava/Kotlin only

Note: Refactoring tools modify source files. All changes support undo via Ctrl/Cm


README truncated. View full README on GitHub.

Alternatives

Related Skills

Browse all skills
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

2
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

0
mcp-developer

Use when building MCP servers or clients that connect AI systems with external tools and data sources. Invoke for MCP protocol compliance, TypeScript/Python SDKs, resource providers, tool functions.

0
crewai-developer

Comprehensive CrewAI framework guide for building collaborative AI agent teams and structured workflows. Use when developing multi-agent systems with CrewAI, creating autonomous AI crews, orchestrating flows, implementing agents with roles and tools, or building production-ready AI automation. Essential for developers building intelligent agent systems, task automation, and complex AI workflows.

0
azure-identity-rust

Azure Identity SDK for Rust authentication. Use for DeveloperToolsCredential, ManagedIdentityCredential, ClientSecretCredential, and token-based authentication. Triggers: "azure-identity", "DeveloperToolsCredential", "authentication rust", "managed identity rust", "credential rust".

0
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

0