Skip to main content

Openlayer MCP

Model Context Protocol server for the Openlayer platform. It lets MCP clients — Cursor, VS Code, Claude Desktop, and other AI assistants — work with Openlayer in natural language.

With it, an assistant can:

  • Projects & versions — list and create projects; push and inspect commits.
  • Data sources — list, create, and inspect data sources (inference pipelines), and fetch their production traces, sessions, and per-user activity, with filters.
  • Tests — list and create tests across integrity, consistency, and performance (including LLM-as-a-judge), trigger evaluation, read results, and drill into the rows that failed.
  • Anything else — call any Openlayer API endpoint directly, and search the Openlayer documentation.

Tools are annotated as read-only or destructive, so clients can auto-approve reads and confirm writes.

Tool names and schemas may evolve; clients should discover the available tools dynamically rather than hard-coding them.

📖 Full setup, the complete tool reference, and examples: openlayer.com/docs/openlayer-mcp

Installation

uv add openlayer-mcp     # or: pip install openlayer-mcp

Configuration

Register the server with your client and set your API key.

Claude Code (CLI):

claude mcp add openlayer --env OPENLAYER_API_KEY=YOUR_OPENLAYER_API_KEY -- uvx openlayer-mcp

Cursor, Claude Desktop, or VS Code (JSON config):

{
  "mcpServers": {
    "openlayer": {
      "command": "uvx",
      "args": ["openlayer-mcp"],
      "env": {
        "OPENLAYER_API_KEY": "YOUR_OPENLAYER_API_KEY"
      }
    }
  }
}
  • OPENLAYER_API_KEY (required) — create one in your Openlayer workspace settings.
  • OPENLAYER_BASE_URL (optional) — point at a self-hosted Openlayer instance; defaults to Openlayer Cloud.

Verify it's working by asking your assistant: "List my Openlayer projects."

You can also run it as a standalone server:

uv run -m openlayer_mcp

Transport

The server runs over stdio by default (for local IDE/desktop clients). For hosted or multi-client deployments, set OPENLAYER_MCP_TRANSPORT to streamable-http, http, or sse:

OPENLAYER_MCP_TRANSPORT=streamable-http uv run -m openlayer_mcp

Remote hosting

This repo also has a separate remote server package (server/, not published to PyPI) that runs the same tools as an OAuth-protected Streamable HTTP connector for Claude. Its AWS infrastructure and deploy live in the in-repo CDK app under awscdk/; its Docker image is published publicly to openlayer/openlayer-mcp on Docker Hub for self-hosting/on-prem use. See server/README.md.

Documentation

For the full guide and the complete list of available tools, see openlayer.com/docs/openlayer-mcp.

Download files

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

Source Distribution

openlayer_mcp-0.13.0.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

openlayer_mcp-0.13.0-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

Details for the file openlayer_mcp-0.13.0.tar.gz.

File metadata

  • Download URL: openlayer_mcp-0.13.0.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for openlayer_mcp-0.13.0.tar.gz
Algorithm Hash digest
SHA256 fd7189a3a7eea8e1a7b3db265296cb6c96e361735092815ac66cae6c060d39c8
MD5 b44ea8fd3b827b912607c3b213aa8999
BLAKE2b-256 28fcba8765bcabd82a7db666a3732f6f1dac9308d04029bebabf40e5d90bb133

See more details on using hashes here.

File details

Details for the file openlayer_mcp-0.13.0-py3-none-any.whl.

File metadata

  • Download URL: openlayer_mcp-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 42.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for openlayer_mcp-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 233b0d93973c2c8db386678a3be5d7685e404fffb693479a162b607fc4aa5580
MD5 98ce571d0bfd18834a29c2623700e02d
BLAKE2b-256 f449e5ee4ca1e858048c6c91cd300c27d6c7e30c82f1d5b939fc7cefe61bf4d0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.16.0

2 files

0.15.0

2 files

0.14.0

2 files

This release

0.13.0 This release

2 files

0.12.0

2 files

0.11.0

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page