---
title: "Data Lighthouse public API"
description: "Public read-only API for Data Lighthouse: NLWeb /ask, two MCP servers, and OpenAPI. No API key."
canonical: https://datalighthouse.dev/developers
---

# Data Lighthouse public API
Public read-only API for Data Lighthouse: NLWeb /ask, two MCP servers, and OpenAPI. No API key.
These endpoints are public and read-only. There is no API key, no OAuth client, and no call that charges a card or invites a GitHub account.

## Ask

POST https://datalighthouse.dev/ask with JSON `{ "query": { "text": "how is MRR calculated" } }`. The response is NLWeb v0.55 JSON: `_meta.response_type`, `_meta.version`, and `results`. Set `prefer.streaming` to true for server-sent events named start, result, complete, and error. Search is keyword scoring over the published pages. It does not call a language model.

## MCP

Product server: https://datalighthouse.dev/mcp (Streamable HTTP). Tools include get_pricing, get_demo_metrics, and ask_demo_dashboard. get_demo_metrics returns seeded sample metrics and a ui:// demo view. Docs server: https://datalighthouse.dev/mcp/docs with search_docs and get_page. Server cards: https://datalighthouse.dev/mcp/server-card and https://datalighthouse.dev/mcp/docs/server-card.

## Discovery

OpenAPI: https://datalighthouse.dev/openapi.json. API catalog: https://datalighthouse.dev/.well-known/api-catalog. Agent catalog: https://datalighthouse.dev/.well-known/ard.json. llms.txt: https://datalighthouse.dev/llms.txt.

Example: `curl -s https://datalighthouse.dev/ask -H 'content-type: application/json' -d '{"query":{"text":"pricing"}}'`
