The Common Lisp Hypermedia Server & Web Application Tool Suite (CL-HTTP) provides a complete, integrated web application platform: server, client, proxy, HTML synthesis, W3P presentation types, constraint-guided web walker, full-text search, and LLM integration. Originally developed in 1994 at the MIT AI Laboratory by John C. Mallery and production-tested in the White House Electronic Publications System (1994–2001), CL-HTTP was the first object-oriented Web server and the first HTTP 1.1 production server.
Web applications can be developed interactively on Symbolics Genera using its unmatched debugger, inspector, and documentation tools, and deployed without modification on LispWorks or SBCL for production service. All three active ports support the Model Context Protocol with 143 tools for LLM-assisted development.
HTTP/1.1 Compliant Server, Caching Proxy, SSL Proxy, Reverse Proxy, advanced Web Walker, programmatic Client, and many tools for Web development.
HTTP/2 (RFC 9113) server, client, and proxy on LispWorks and SBCL with ALPN negotiation, HPACK header compression, multiplexed streams, flow control, and connection pooling. H2 at parity with HTTPS/1.1 throughput.
TLS 1.3 and TLS 1.2 support for server, client, proxy, and Web walker on LispWorks (OpenSSL) and SBCL (pure-tls, a pure Common Lisp TLS 1.3 implementation).
X.509 client certificate support for server, client & Web walker.
Access Control via subnets, passwords (Basic & Digest Authentication) & X.509 certificates.
HTML Synthesis for HTML5, XHTML 1.0, HTML 4.0 with backward compatibility to earlier standards.
HTML5 Parser with DOM registry, structured document access, and MCP integration for LLM-driven web analysis.
Markdown generation with streaming output for LLM responses, and Markdown to HTML translation for Web display.
Presentation-based Interfaces with W3P.
Constraint-guided W4 Web Walker with programmable actions, depth/host/content-type constraints, site maintenance examples (link checking, mirroring), and MCP tools for LLM-driven crawling.
Large Language Model Interface for Anthropic, Google, OpenAI, xAI, LM Studio, and Ollama with chat, streaming, document upload, and conversation history.
Model Context Protocol (MCP) Server with 143 tools for LLM-assisted development: evaluation, debugging, profiling, introspection, LMACS s-expression editing, HTML parsing, W4 web walking, and multi-agent collaboration.
Extensible, modular, object-oriented architecture based on the CLOS meta-object protocol — the first object-oriented Web server (1994).
Computed URLs written in Lisp supersede conventional CGI scripts and provide more power than Java Servlets.
Advanced condition handling architecture.
Multi-threaded with SMP support on LispWorks and SBCL.
The Reference Manual covers all subsystems, with a tutorial for building your first application.
Self-documenting: the LispDoc facility dynamically browses all exported operators.
Working examples in an example Web site to get you started quickly.
Web interface to the Symbolics Document Examiner serves 16,457 topics from 33 Genera manuals.
Web-based configuration of the server & user access control.
Modular & extensible logging.
Site Indexing & Information Retrieval with LambdaVista.
Multiple Virtual Hosts on the same IP address.
Email HyperArchive.
Mobile code emission for client-side JavaScript, Java, or plug-ins.
Clean abstractions facilitate security audits.
Rapid prototyping & customization for research, product, or protocol development.
Source compatible over major hardware, operating-system, and Lisp platforms.
Complete source code (portable & platform-specific).
Proven in production Web applications since 1994.
Production-quality, cross-platform application delivery on LispWorks and SBCL with advanced development on Symbolics Genera.
The Current Version can be retrieved from the CL-HTTP Home Page, which centralizes information about this Web server and related Common Lisp WWW tools.
The Common Lisp Hypermedia Server (CL-HTTP) is here for you to rapidly prototype and smoothly evolve novel or complex applications for the World Wide Web. After reading the WWW-94 conference paper , the first documentation items below should be enough to get you up and running.
Active Ports:
Legacy Ports:
Web-based server configuration is available after loading and starting the server successfully.
Active Ports:
Legacy Ports:
Reference documentation is dynamically available for all major components of CL-HTTP. The Find Documenation facility is a powerful tool for obtaining specific documenation about practically every class, method, function, macro, and variable in the systems.
In the table below, each logical pathname is hyperlinked to the directory for each component.
| Portable | Location |
|---|---|
| Examples | http:examples; |
| Server | http:server; |
| W3P Presentation System | http:w3p; |
| Proxy Service | http:proxy; |
| Basic Client | http:client; |
| LambdaVista Search Tool | http:lambda-ir; |
| W4 Web Walker | http:w4; |
| HTML Parser | http:html-parser; |
| Email HyperArchive | http:examples;mail-archive.lisp |
| CLIM Interfaces | http:clim; |
| SMTP Mail | http:smtp; |
| FTP Client | http:ftp; |
| HTTP-LLM Interface | http:llm; |
| MCP Server & LMACS | http:llm;mcp; |
| Active Ports | Location |
| LispWorks | http:lw; |
| SBCL | http:sbcl; |
| Symbolics | http:lispm; |
| Legacy Ports | Location |
| Allegro | http:acl;obc; |
| Allegro 5.0.1 | http:acl;jkf; |
| CMU CL | http:cmucl; |
| Lucid | http:lcl; |
| Macintosh | http:mcl; |
| Scieneer CL | http:scl; |
| User-Contributed | Location |
| Portable | http:contrib |
| Allegro | http:acl;contrib; |
| LispWorks | http:lw;contrib; |
| MCL | http:mcl;contrib; |
| SCL | http:scl;contrib; |
Learn about new releases, usage, and applications of CL-HTTP as well as general WWW programming with Common Lisp on www-cl@csail.mit.edu. Note that you must join the discussion group before sending mail to it, or the listserve will ignore your mail. Although a little inconvenient, this listserve configuration prevents rampant spam mail from reaching your inbox and the archives.
Subscribe by sending email to www-cl-request@csail.mit.edu with subject subscribe. Unsubscribe by sending the same address with subject unsubscribe.
When reporting bugs, it is essential that you explain how to reproduce the problem, provide a backtrace when relevant, and include the server version, the Common Lisp version, operating system version, and hardware configuration.
If possible, use the sources to fix the problem and send the fix along with the report.
Please report all bugs to bug-cl-http@cl-http.com.