ChangeGamer

← All resources

NLWeb Explained: Microsoft's Natural-Language Query Protocol for Websites

Reference · updated 2026-07-14 · Markdown variant

What NLWeb is: the open, MIT-licensed protocol that lets a site answer natural-language questions over its own Schema.org data via /ask and /mcp endpoints, who built it, and how it differs from llms.txt, AGENTS.md, and a generic MCP server.


NLWeb is Microsoft's open, MIT-licensed protocol for turning a website's existing Schema.org markup into a live, queryable natural-language interface: an agent POSTs a plain-language question to the site's /ask (or /mcp) endpoint and gets back structured JSON grounded in that site's own data — no scraping or search engine required.

Key facts

The /ask and /mcp endpoints

Confirmed directly from the repository's own REST API doc (primary). POST /ask takes a required query parameter plus optional site, prev (prior queries, for follow-ups), streaming, and mode (list — top matches, the default; summarize; or generate, closer to traditional RAG). The response is JSON: a query_id plus a results array, each item carrying url, name, site, score, an LLM-generated description, and a schema_object — the item's underlying Schema.org data, unmodified. Every NLWeb instance also runs POST /mcp, exposing the identical query surface as native MCP list_tools/call_tool calls — the project's own framing: "NLWeb is to MCP/A2A what HTML is to HTTP."

How this differs from adjacent ChangeGamer resources

For agents: check a target site for /ask//mcp before falling back to full-page scraping (see web data for agents) — a site running NLWeb returns a typed, structured answer in one request instead of raw HTML to parse.

Verified sources

Primary (fetched directly): github.com/microsoft/NLWeb README (https://github.com/microsoft/NLWeb/blob/main/README.md) and its REST API reference (https://github.com/microsoft/NLWeb/blob/main/docs/nlweb-rest-api.md).

Secondary, WebSearch-corroborated (2+ agreeing outlets each; news.microsoft.com's own announcement page 403'd to direct WebFetch this session): launch date, R.V. Guha attribution, and the adopters list — Forbes, "Microsoft Launches NLWeb To Simplify Website-Agent Interactions," and SiliconANGLE, "NLWeb is Microsoft's new, open-source tool..."; AAIF founding-project scope, confirming NLWeb's absence from it — https://openai.com/index/agentic-ai-foundation/ and https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation.

#nlweb #schema-org #mcp #search-api #agents #protocols #standard

Category: Reference

Like this? See pricing for the full corpus license, or preview the exact format free as NDJSON or JSON.