Skip to main content

Add your description here

Project description

openground

Openground is a system for managing documentation in an agent-friendly manner. It has a CLI to extract and store docs from websites and exposes tools via MCP to agents for querying the data via hybrid BM25 full-text search and vector similarity search.

Installation

Basic Installation

uv pip install -e .

This installs the openground command entrypoint.

Installing the MCP server

Openground can be automatically installed to various AI coding agents:

openground install-mcp                    # displays MCP config JSON that can be copied into your agent's config file
openground install-mcp --opencode         # configures openground in OpenCode's MCP settings (~/.config/opencode/opencode.json)
openground install-mcp --claude-code      # configures openground in Claude Code's MCP settings
openground install-mcp --cursor           # configures openground in Cursor's MCP settings (~/.cursor/mcp.json)

Commands

Extract

Fetch and parse pages from the sitemap.

openground extract \
  --sitemap-url https://docs.databricks.com/aws/en/sitemap.xml \
  --library-name databricks \
  -f docs -f documentation -f blog

Flags:

  • --sitemap-url / -s: root sitemap URL.
  • --concurrency-limit / -c: max concurrent requests.
  • --library-name / -l: name of the library/framework for this documentation.
  • --output-dir / -o: where extracted JSON files are written (optional; defaults to raw_data/{library_name} based on --library-name).
  • --filter-keyword / -f: repeatable; keywords to keep URLs (e.g., -f docs -f blog).

Ingest

Chunk documents, embed, and load into LanceDB.

openground ingest```

### Query

Hybrid search (semantic + BM25).

```bash
openground query "how to connect" \
  --db-path lancedb_data \
  --table-name documents \
  --top-k 5

Optional:

  • --library-name / -l: filter by library name.

Notes

  • Default output dir for extract is raw_data/{library_name} (automatically derived from --library-name).
  • LanceDB data defaults to .lancedb; table defaults to documents.
  • Reinstall (uv pip install -e .) after CLI code changes to refresh the entrypoint.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openground-0.1.0.tar.gz (299.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openground-0.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file openground-0.1.0.tar.gz.

File metadata

  • Download URL: openground-0.1.0.tar.gz
  • Upload date:
  • Size: 299.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for openground-0.1.0.tar.gz
Algorithm Hash digest
SHA256 00a1ff90376c52f00982804a4eda4f2beb47e7314fdafe8f5b8f45bbca04d4e3
MD5 8586917d0c5c246c55414d159aca279e
BLAKE2b-256 ead75c8f37983af1964eb502f78634adf61a06efd074082f689d93460c25ad10

See more details on using hashes here.

File details

Details for the file openground-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openground-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for openground-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 420b6d78f6a96760a3d8a333ab75984c8b33190366f9b344dfae69c77ca79c8e
MD5 b52789ee350eb376911e616bd29be1ee
BLAKE2b-256 31c8b539814899d0a5bf5a9ee75682977e10ad8403fa5289568b6a3ba927c21a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page