Skip to main content

Overview

The OpenGround MCP server provides official documentation search capabilities to AI agents through the Model Context Protocol (MCP). This guide covers installation for different AI agents and development environments.

Prerequisites

1

Python 3.11+

OpenGround requires Python 3.11 or higher.
2

Install OpenGround

Install the OpenGround package from PyPI:
Or with pipx for isolated installation:
3

Add documentation libraries

Add at least one documentation library to make the MCP server useful:

Installation by Agent

Claude Desktop

1

Locate configuration file

Find your Claude Desktop configuration file:macOS:
Windows:
Linux:
2

Add OpenGround MCP server

Edit the configuration file to add the OpenGround server:
If using pipx:
3

Restart Claude Desktop

Completely quit and restart Claude Desktop for changes to take effect.
4

Verify installation

In Claude Desktop, you should see the OpenGround tools available:
  • search_documents_tool
  • list_libraries_tool
  • get_full_content_tool
Test by asking: “What libraries are available in OpenGround?”

Continue.dev

1

Open Continue configuration

Open the Continue configuration file:
2

Add MCP server

Add OpenGround to the mcpServers section:
3

Restart Continue

Restart your IDE or reload the Continue extension.

Cline (VSCode)

1

Open Cline settings

In VSCode:
  1. Open Command Palette (Cmd/Ctrl + Shift + P)
  2. Search for “Cline: Open Settings”
2

Configure MCP server

In the MCP Servers section, add:
3

Restart Cline

Reload VSCode or restart the Cline extension.

Zed Editor

1

Open Zed settings

Open Zed settings file:macOS/Linux:
2

Add MCP server configuration

3

Restart Zed

Restart Zed editor to load the new MCP server.

Custom MCP Client

For custom integrations using the MCP SDK:

Virtual Environment Setup

If you need to use a specific Python virtual environment:

Option 1: Activate in command

Option 2: Use shell wrapper

Create a shell script ~/.local/bin/openground-mcp.sh:
Make it executable:
Configure MCP client:

Verifying Installation

Check Server Startup

Run the server manually to verify it starts without errors:
You should see:

Test Tools

In your MCP client, test each tool:

Common Installation Issues

Python Not Found

Error: command not found: python Solution: Use full path to Python or specify python3:

Module Not Found

Error: No module named 'openground' Solution: Install openground in the correct Python environment:

Server Times Out

Error: MCP server fails to initialize or times out Cause: Background initialization might be taking too long on first run Solution:
  1. Pre-warm the server by running it manually once:
  2. Ensure you have at least one library added:

Permission Denied

Error: Permission errors when accessing database Solution: Check permissions on OpenGround data directory:

Empty Library List

Symptom: list_libraries_tool returns {} Solution: Add libraries first:

Updating OpenGround

To update to the latest version:
Or with pipx:
After updating, restart your MCP client to load the new version.

Uninstallation

Remove MCP Server

  1. Remove the openground entry from your MCP client configuration
  2. Restart the MCP client

Uninstall Package

Or with pipx:

Remove Data

To completely remove all OpenGround data:

Next Steps

Configuration

Configure OpenGround settings, environment variables, and optimize performance

Search Documents

Learn how to use the search_documents_tool effectively

List Libraries

Explore available documentation libraries and versions