home / mcp / deepview mcp server

DeepView MCP Server

DeepView MCP is a Model Context Protocol server that enables IDEs like Cursor and Windsurf to analyze large codebases using Gemini 2.5 Pro's extensive context window.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ai-1st-deepview-mcp": {
      "command": "/path/to/deepview-mcp",
      "args": [],
      "env": {
        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
      }
    }
  }
}

DeepView MCP lets you load an entire codebase and query it from your IDE using Gemini’s large context window. It connects with MCP-compatible editors to help you analyze big projects efficiently, making code exploration, context-aware questions, and targeted searches faster.

How to use

You interact with DeepView MCP through an MCP client in your IDE. Once the server is configured, you can load your codebase file (optional) and start asking questions about the codebase. You can specify a particular Gemini model, or let the system use the default model. The server runs locally, and you provide the GEMINI API key to authorize requests.

Typical workflow in your IDE:

  • Configure a new MCP server in your IDE with the following settings (path and key are placeholders you will replace with your own values).
  • Optionally point to a codebase file that contains your entire project for faster context.

Then you can ask questions about the codebase using the included tool. For example, you can query how a particular module works, locate related functions, or summarize responsibilities across files.

Example server configurations you may enter into your IDE’s MCP settings are shown below. These blocks explicitly set the server command, arguments, and required environment variable.

{
  "mcpServers": {
    "deepview": {
      "command": "/path/to/deepview-mcp",
      "args": [],
      "env": {
        "GEMINI_API_KEY": "your_gemini_api_key"
      }
    }
  }
}

How to load a codebase file and query

You can provide the codebase file path when starting the server or supply it when you issue a query. If you want to reuse the same codebase across sessions, configure the codebase path in the MCP client so you don’t have to re-enter it each time.

Available model options let you tailor the Gemini model to your needs. You can select a specific model variant via the command line option --model when starting the server.

In the IDE, you can reload the MCP server configuration after making changes to ensure the new settings are active.

Available tools

deepview

Query the codebase to ask questions, get summaries, and locate relationships between parts of the codebase.