lantern-mcp
Enables searching and retrieving scanned pages from the Media History Digital Library, hosted on the Internet Archive, with full-text search and keyword-in-context excerpts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lantern-mcpsearch for 'Casablanca' in Variety from 1942"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lantern-mcp
A CLI and MCP server for Lantern, the full-text search platform of the Media History Digital Library — the digitised entertainment trade press. Variety, Billboard, the New York Clipper, Motion Picture Herald, Boxoffice, the studio year books and the fan magazines: roughly two million scanned pages of the industry writing about itself, from the 1900s to the 1960s.
No API key, no account, no registration.
What it gives you
Search resolves to an individual scanned leaf and returns that leaf's keyword-in-context excerpt inline, so judging a hit costs no second request. Every result links back to the page on the Internet Archive, with the search term pre-highlighted.
lantern search '"Gone with the Wind"' --from-year 1939 --to-year 1941 --per-page 3# "Gone with the Wind" [1939–1941] — 4475 results, page 1 of 1492
[1] December 1939 motionpictureher137unse
leaf 213 · Periodicals
... the première of {Gone} {with} {the} {Wind} in Atlanta ...
motionpictureher137unse_0213
http://archive.org/stream/motionpictureher137unse#page/n212/mode/2up/search/...Related MCP server: gallica-mcp
Install
uv tool install --force --reinstall .That puts lantern on your PATH. To register the MCP server with Claude Code, Codex or Gemini:
uv run lantern-mcp-install # basic search tool only
uv run lantern-mcp-install --enable-advanced-search # plus filters and facetsThe CLI always exposes every filter; the MCP server hides the advanced ones behind that flag, because a tool schema sits in the model's context permanently whether it is used or not.
Commands
search
lantern search '"Technicolor"' # 86,314 results
lantern search '"Technicolor" AND Warner' # 33,868 results
lantern search '"Gone with the Wind"' --title Variety --sort date_asc
lantern search '"Gone with the Wind"' --collection 'Hollywood Studio System'Flag | Meaning |
| which result pages to fetch (default: 1) |
| results per request, up to 100 |
| year of publication, inclusive |
| exact collection value, e.g. |
| exact publication title, e.g. |
| exact format, e.g. |
| exact language, e.g. |
|
|
| emit JSON instead of text |
Every filter is optional and absent by default. The active ones are echoed back in the result header, so a small total is always traceable to what produced it.
A query is required. Lantern has no browse-everything mode: an empty query returns 0 results, and so does *, which is matched literally rather than as a wildcard. There is no filters-only search, so the CLI refuses one rather than returning a confident zero.
facets
The filters match whole strings, so Vaudeville for Theatre and Vaudeville returns zero with no error — indistinguishable from an empty archive. facets is how you get the value verbatim:
lantern facets title '"Gone with the Wind"'# title values for "Gone with the Wind" — 21 listed
1331 Motion Picture Herald
1242 Boxoffice
1231 Variety
1014 Motion Picture Daily
686 The Exhibitor
523 Showmen's trade reviewThe counts describe that query's result set — which trade papers carry a term, and in what numbers. They are never corpus-wide: facet counts are computed over the hits, so a query is required here too. Without one every value comes back as 0, which reads as an empty archive rather than as the missing argument it is.
Fields: collection, title, format, language. There is no year, because year is a range filter rather than a list facet.
get
lantern get motionpictureher137unse_0213Prints the path to the cached OCR text of that one leaf.
This is expensive per volume, not per page. Lantern indexes text it does not host: the scans live on the Internet Archive, which publishes OCR per volume and never per page. So reading one leaf means fetching that volume's OCR entire — 8 to 25 MB — and slicing the leaf out locally. The volume is then cached, so every later leaf of the same volume is free. Sweeping one publication is dramatically cheaper than sweeping across many.
Most of the time you do not need it: search already returns the excerpt.
Query syntax
The default operator is OR, not AND. This is the single most important thing to know about this source, and it fails silently:
lantern search 'Technicolor Warner' # 332,891 — pages holding EITHER word
lantern search '"Technicolor" AND Warner' # 33,868 — pages holding bothNothing in the first result set announces that it is mostly pages containing the word Warner. The CLI prints a warning when it sees two or more unquoted words for exactly this reason.
"quoted phrases"match exactly.AND,ORandNOTall work. They partition cleanly: for one sample query,A AND Breturned 788 andA NOT Breturned 995, summing to the 1,783 ofAalone.Wildcards and proximity do not work and fail silently. A trailing
*returns near-zero rather than expanding, and"a b"~2breaks the phrase and degrades toOR, returning more results than the corpus has relevant pages.
Totals
Reported totals are true match counts, not a relevance-ranked tail: paging reaches exactly the reported total, and the last page holds the expected remainder. A total may therefore be quoted as a count, and --sort date_asc is safe on any query.
Facet counts are the exception: they sum to more than the total, because a volume can belong to several collections at once.
Rate limiting
Lantern's robots.txt states crawl-delay: 5 for every user agent, and that is where this client's default pacing comes from — it is the site's published wish rather than a guess. Requests are spaced by a cross-process limiter, so several concurrent CLI invocations still share one budget.
Override with LANTERN_MIN_REQUEST_INTERVAL (seconds). Lowering it is asking for trouble on a free service that no one is being paid to run.
Caching
OCR downloads only — never search results. Under $XDG_CACHE_HOME/lantern-mcp, overridable with --cache-dir or LANTERN_CACHE_DIR. Volumes are cached whole and gzipped; individual leaves are written out beside them as plain text.
License
Apache 2.0.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables searching and retrieving preserved Twitter data from the Community Archive, including user profiles, tweets, and keyword searches across archived content.Last updated
- AlicenseAqualityBmaintenanceEnables searching and accessing OCR text from millions of digitized documents in Gallica, the digital library of the Bibliothèque nationale de France, through MCP tools for text search, snippet retrieval, and full-text download.Last updated31Apache 2.0
- FlicenseAqualityCmaintenanceEnables searching and retrieving historical records from the Library of Congress, including newspapers, photos, maps, manuscripts, audio, and film, via the Model Context Protocol.Last updated10
- AlicenseAqualityBmaintenanceMCP server and CLI for full-text search of the Deutsches Zeitungsportal (German newspaper collection), enabling querying ~33.8 million digitized pages with Solr syntax, date/title/place filters, and snippet highlights.Last updated3Apache 2.0
Related MCP Connectors
Search and analyze global news coverage and US TV transcripts via the GDELT Project APIs.
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Agentic search over your Dewey document collections from any MCP-compatible client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nestordemeure/lantern-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server