NLWeb vs Model Context Protocol
Model Context Protocol (complements NLWeb): Per NLWEBSPEC.md §2.1, NLWeb is transport-protocol agnostic and treats MCP as an optional transport and tool binding, while its direct HTTP binding uses POST /ask and POST /await returning Schema.org JSON. [1][12]
Quick facts comparison
| Field | NLWeb | Model Context Protocol |
|---|---|---|
| Category | Act | Act |
| Tier & lifecycle | Spec Brief · Active Draft | Flagship · Active |
| Track | Open-source community draft specification (nlweb-ai/NLWeb) and W3C NLWeb Community Group (non-Recommendation track) [5][8] | Foundation / Consortium Specification; founding project of the Agentic AI Foundation [15] |
| Originated by | R.V. Guha (Microsoft CVP & Technical Fellow; creator of RSS, RDF, Schema.org) and Microsoft (19 May 2025; repo created 28 April 2025) [2][7][8] | Anthropic; co-invented by David Soria Parra and Justin Spahr-Summers (open-sourced November 2024) [15][22][23] |
| Governed by | nlweb-ai GitHub org (July 2025) and W3C NLWeb Community Group (20 October 2025; no chairs); Microsoft retains copyright and NLWebSup@microsoft.com [3][4][6] | Agentic AI Foundation (AAIF) under the Linux Foundation since 2025-12-09; Lead Maintainers hold final decision authority [15][23] |
| Status | Public and open to contributions; the code is framed as a demonstration: "NLWeb provides practical implementation code—not as the definitive solution, but as proof-of-concept demonstrations showing one possible approach." The latest commit on main is dated 2026-06-10. A path-traversal flaw in the reference server was reported in August 2025: "What's worse is that it's a classic path traversal flaw, meaning it's as easy to exploit as visiting a malformed URL."; a later review notes "A release note in docs/release_notes lists a fix for a "path traversal vulnerability in static file handler" (PR #231)" and "When we queried the repository's GitHub security advisories on 24 October 2026, none were published." [1][9][10] | Active open standard; current stateless specification version 2026-07-28 is ready for use; next specification targeted for late March 2027 [12][21] |
| Latest version | Spec: NLWeb Specification v0.55 (NLWEBSPEC.md, 2026-03-23, succeeding v0.54); Server (nlweb-ai/NLWeb): commit 2026-06-10 (0 releases/tags; /ask and /mcp endpoints); PyPI nlweb-core: v0.7.0 (2026-02-19, v0.5) [1][9][10] | 2026-07-28 (stateless core); prior handshake revisions: 2025-11-25, 2025-06-18, 2025-03-26, and 2024-11-05; next specification targeted for late March 2027 [13][21][24] |
| Form | Endpoint | Endpoint |
| Wire / transport | JSON over HTTP (application/json), SSE (text/event-stream), and JSON-RPC 2.0 (/mcp) with Schema.org / JSON-LD @context and @type objects [1][6][9] | JSON-RPC 2.0 requests, responses, and notifications (application/json and text/event-stream) [17][25] · stdio (newline-delimited JSON-RPC over subprocess streams) and Streamable HTTP (POST to one MCP endpoint) [16][17] |
| Found at | No fixed .well-known path; routes are /ask, /await, /mcp, /who, /sites (/_api/nlweb/mcp on Wix), advertised via /agents.md or /llms.txt [1][9][11] | Operator endpoint URL or server.json in Official MCP Registry; optional MCP Server Card at any unreserved URI (with <streamable-http-url>/server-card reserved as the recommended location) [26][27] |
| Primary specification | NLWeb Specification v0.55 · NLWeb REST API · nlweb-ai/NLWeb · W3C NLWeb CG [1][6][9] | Model Context Protocol Specification (2026-07-28) [13] |
| Last checked | 2026-11-12 | 2026-11-11 |
Problem, mechanism & scope
- NLWeb problem, mechanism & scope boundary: NLWeb simplifies the process of building conversational interfaces for websites. Its straightforward implementation uses existing markup on sites with structured lists, for example products, recipes, attractions, and reviews. [6] Schema.org and related semi-structured formats like RSS, used by over 100 million websites, have become not just de facto syndication mechanisms, but also a semantic layer for the web. NLWeb leverages these to enable natural language interfaces more easily. [1][6] The primary API, tool, or skill is ask, using which a caller can ask the agent for some information or to perform a task. The request object consists of four sections: query, context, prefer, and meta. [1] Clients SHOULD use the start event to initialize their response handling. Result items may arrive out of order, and index values are not guaranteed to be sequential. [1] NLWeb is designed to be transport-protocol agnostic. [1] Authentication and authorization are handled at the transport layer and are outside the scope of the specification. Rate limiting is a transport-layer concern and is outside the scope of the specification. [1]
- Model Context Protocol problem, mechanism & scope boundary: Before MCP, connecting AI assistants to external content repositories and legacy systems required a custom integration for every data source, isolating models behind information silos. Even after MCP standardized JSON-RPC host-to-server connectors, revisions through 2025-11-25 opened a stateful session via an
initializehandshake andMcp-Session-Idheader, preventing follow-up requests from landing freely on any instance behind a plain round-robin load balancer without shared storage. [14][18][19][22] Revision 2026-07-28 putsio.modelcontextprotocol/protocolVersionandio.modelcontextprotocol/clientCapabilitiesin_metaon every JSON-RPC request, and Streamable HTTP repeats that version inMCP-Protocol-Version. A server that needs more input duringtools/call,resources/read, orprompts/getreturnsInputRequiredResultwithinput_requiredinstead of starting its own JSON-RPC request. [17][18][28] Servers remain isolated from the full conversation and from other connected servers, while optional protocol extensions require explicit opt-in from both client and server. HTTP authorization is optional and uses OAuth 2.1 Protected Resource Metadata (RFC 9728) and Resource Indicators (RFC 8707), whereasstdioretrieves credentials from the environment. [13][29][30]
Overview
NLWeb
NLWeb (NLWeb Specification v0.55) defines a standardized interface for natural language interactions with agents. It abstracts the complexity of agentic interactions, such as tool use, long-running tasks, and rich structured data, into a unified protocol. [1] The project was conceived and developed by R.V. Guha, creator of RSS, RDF, and Schema.org, CVP and Technical Fellow at Microsoft, along with contributors from Microsoft and the open-source community. [2] NLWeb supports streaming responses via Server-Sent Events (SSE) over HTTP transport. Streaming is requested by setting prefer.streaming to true. [1] The start event is sent once at the beginning of the stream. Clients SHOULD use this event to initialize their response handling. The complete event is sent once to signal the end of the stream. Clients MUST process this event to capture session state for subsequent requests. [1] 202 Accepted is the promise response for long-running tasks. POST /await checks on or cancels a promised result. [1] The specification heading is NLWeb Specification v0.55. Changes from v0.54 to v0.55 promote streaming to its own section with formal SSE event type definitions for start, result, error, and complete. [1] The repository was migrated from microsoft/NLWeb to an independent GitHub organization at NLWeb-ai, described as a neutral space where contributors from any company or background can collaborate. The license text remains MIT License Copyright (c) Microsoft Corporation. [3][4] The NLWeb Community Group was originally proposed on 2025-10-16 by Ramanathan Guha. W3C's hosting of this group does not imply endorsement of the activities. [5] NLWeb provides practical implementation code-not as the definitive solution, but as proof-of-concept demonstrations showing one possible approach. [6]
Model Context Protocol
The Model Context Protocol (MCP) is an open protocol that uses JSON-RPC 2.0 messages to connect LLM host applications with servers that provide context and capabilities. Anthropic introduced it on 2024-11-25 as a universal, open standard for connecting AI systems with data sources. The Linux Foundation's Agentic AI Foundation (AAIF) now stewards MCP as a founding project, alongside Block's goose and OpenAI's AGENTS.md. [13][14][15] On stdio, the client launches the MCP server as a subprocess; the server reads JSON-RPC messages from stdin and writes JSON-RPC messages to stdout, delimited by newlines. On Streamable HTTP, every JSON-RPC request is its own HTTP POST to a single MCP endpoint, and the server answers with either Content-Type: application/json or Content-Type: text/event-stream. [16][17] The 2025-11-25 revision serves as the legacy Streamable HTTP session baseline (succeeding 2025-03-26 and 2024-11-05), while the 2026-07-28 revision retires the initialize / notifications/initialized handshake, Mcp-Session-Id headers, and standalone GET SSE streams. [17][18][19] A roadmap published on 2026-08-22 organizes later specification work into five priority areas, picking up server-initiated events, result type improvements, and agent identity, together with HTTP-native transport and SDK developer experience. [20] On 2026-10-30 the official Ruby SDK reached Tier 1, with full support for the 2026-07-28 specification and a 100% conformance pass rate across both scored spec versions. [21] The Ruby SDK team has committed to supporting the next MCP specification, targeted for late March 2027, by its release date. [21]
Adoption and ecosystem
NLWeb
Model Context Protocol
References
- nlweb-ai/website (GitHub), NLWeb Specification v0.55 (nlweb-ai/website NLWEBSPEC.md), checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/website/main/NLWEBSPEC.md
- Microsoft, Microsoft News: Introducing NLWeb, checked 2026-10-30 — https://news.microsoft.com/source/features/company-news/introducing-nlweb-bringing-conversational-interfaces-directly-to-the-web/
- nlweb ai, NLWeb Wiki: Repository Migration Notice, checked 2026-10-30 — https://github.com/nlweb-ai/NLWeb/wiki/We've-moved-to-our-new-home!
- nlweb-ai/NLWeb (GitHub), nlweb-ai/NLWeb MIT License, checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/NLWeb/main/LICENSE
- W3C, W3C NLWeb Community Group, checked 2026-10-30 — https://www.w3.org/community/nlweb/
- nlweb-ai/NLWeb (GitHub), nlweb-ai/NLWeb README.md, checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/NLWeb/main/README.md
- Microsoft, Microsoft Build 2025: Building the Open Agentic Web, checked 2026-10-30 — https://blogs.microsoft.com/blog/2025/05/19/microsoft-build-2025-the-age-of-ai-agents-and-building-the-open-agentic-web/
- nlweb-ai/NLWeb (GitHub), GitHub Repository Metadata: nlweb-ai/NLWeb, checked 2026-10-30 — https://github.com/nlweb-ai/NLWeb
- nlweb-ai/NLWeb (GitHub), NLWeb REST API Documentation (nlweb-rest-api.md), checked 2026-10-30 — https://raw.githubusercontent.com/nlweb-ai/NLWeb/main/docs/nlweb-rest-api.md
- Safeguard, Safeguard: NLWeb Explained and Security Analysis, checked 2026-10-30 — https://www.safeguard.sh/resources/blog/nlweb-explained-natural-language-endpoints-for-websites-mcp-and-how-to-secure-them
- Wix, Wix Help Center: Enabling NLWeb for AI Agent Access, checked 2026-10-30 — https://support.wix.com/en/article/enabling-nlweb-for-ai-agent-access
- Model Context Protocol (AAIF / Linux Foundation), Versioning — Model Context Protocol Documentation, 2026-07-28 — https://modelcontextprotocol.io/docs/2026-07-28/learn/versioning
- Model Context Protocol (AAIF / Linux Foundation), Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28
- Anthropic, Introducing the Model Context Protocol, 2024-11-25 — https://www.anthropic.com/news/model-context-protocol
- The Linux Foundation, Linux Foundation Announces the Formation of the Agentic AI Foundation (AAIF), Anchored by New Project Contributions Including Model Context Protocol (MCP), goose and AGENTS.md, 2025-12-09 — https://www.linuxfoundation.org/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation
- Model Context Protocol (AAIF / Linux Foundation), stdio Transport — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/stdio
- Model Context Protocol (AAIF / Linux Foundation), Streamable HTTP Transport — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http
- Model Context Protocol (AAIF / Linux Foundation), Key Changes (2026-07-28) — Model Context Protocol Specification, 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/changelog
- Model Context Protocol (AAIF / Linux Foundation), Versioning and Compatibility — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/versioning
- David Soria Parra and Den Delimarsky (Model Context Protocol Blog), The New MCP Roadmap, 2026-08-22 — https://blog.modelcontextprotocol.io/posts/mcp-roadmap/
- Koichi Ito (Model Context Protocol Blog), The Official Ruby SDK for MCP Reaches Tier 1, 2026-10-30 — https://blog.modelcontextprotocol.io/posts/ruby-sdk-tier-1/
- David Soria Parra and Den Delimarsky (MCP Blog), MCP 2026-07-28 Specification Release, 2026-07-28 — https://blog.modelcontextprotocol.io/posts/2026-07-28/
- Model Context Protocol (AAIF / Linux Foundation), Governance and Stewardship — Model Context Protocol, 2026-10-30 — https://modelcontextprotocol.io/community/governance
- MCP Ruby SDK, Protocol Versions, checked 2026-10-30 — https://ruby.sdk.modelcontextprotocol.io/protocol-versions/
- Model Context Protocol (AAIF / Linux Foundation), Base Protocol Overview — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic
- Model Context Protocol (AAIF / Linux Foundation), About the Official MCP Registry, 2026-10-30 — https://modelcontextprotocol.io/registry/about
- Model Context Protocol (AAIF / Linux Foundation), SEP-2127: MCP Server Cards — HTTP Server Discovery, 2026-01-21 — https://modelcontextprotocol.io/seps/2127-mcp-server-cards
- Model Context Protocol (AAIF / Linux Foundation), Multi Round-Trip Requests — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/mrtr
- Model Context Protocol (AAIF / Linux Foundation), Architecture — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/architecture
- Model Context Protocol (AAIF / Linux Foundation), Authorization — Model Context Protocol Specification (2026-07-28), 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization
nlweb.json · mcp.json · JSON · Markdown