search-marginalia
Search the web using Marginalia Search
Search Marginalia — the engine that indexes non-commercial, text-heavy pages the big engines bury — with a choice of index and result count.
LABSCO SUMMARY
Marginalia deliberately favours small, text-dense, non-commercial sites, which is why it returns things a mainstream search will not — personal essays, old documentation, hobbyist writing. Attach this when the failure mode you are fighting is an answer assembled from SEO pages. The public endpoint is shared, so pair it with a general search server rather than making it the only way your assistant reaches the web.
An MCP server over the Marginalia Search API, a search engine built to surface non-commercial writing and obscure corners of the web rather than the pages optimised to rank. One tool, with the index selector from Marginalia's own interface exposed as a parameter.
searchindex parameter, matching the index dropdown in Marginalia's own interface, so you can steer what part of its corpus answersNo account and no key to start: MARGINALIA_API_KEY is optional and the server falls back to public access without it. A dedicated key is requested by email from Marginalia. The npm package name is marginalia-mcp-server (0.1.0) and it is marked private, so build from a clone with npm install and npm run build. Public access is rate-limited, so expect to wait between bursts rather than treating it as a bulk search backend.
Build from source — git clone https://github.com/bmorphism/marginalia-mcp-server.git
USE CASES
Search a topic on Marginalia and get personal sites, essays and documentation instead of the commercial results a mainstream engine surfaces first.
Query the corners of the web that stayed static — archives, hobbyist pages, old manuals — where a general engine returns nothing useful.
Run the same query here after a mainstream search and compare what the two corpora surface, before concluding a topic has only one account.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
search-marginaliaSearch the web using Marginalia Search
BEFORE YOU INSTALL
1 tool when we connected. The tool registers as search-marginalia, though the documentation calls it search.
Node.js with npm
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
You clone and build this one yourself.
git clone https://github.com/bmorphism/marginalia-mcp-server.git
cd marginalia-mcp-server
npm install
npm run build{
"mcpServers": {
"marginalia-mcp-server": {
"command": "node",
"args": [
"<YOUR_MARGINALIA_MCP_SERVER_CLONE>/build/index.js"
]
}
}
}