search
Search the web for information on a topic. Returns URLs, titles, snippets, and relevance scores.
Web research where every claim is checked back against the page it came from, with a confidence score attached.
LABSCO SUMMARY
What separates this from a search tool is everything after extraction: each claim is decomposed into atomic facts, matched back against the text of the pages it came from, cross-checked across independent sources, and penalised where contradictions appear — so verified, consensus level and source authority arrive as fields an agent can act on rather than as prose. Sessions are the other half: a shared session can be forked, which turns one agent's verified research into another's starting point.
A research pipeline exposed as tools: search, fetch pages, extract atomic claims, verify each one against the actual source text, and return an answer with citations and a confidence score. Sessions accumulate what has been verified, so later questions build on earlier ones.
An API key, free to obtain, passed to the server as LASTSEARCH_API_KEY; the server itself runs over stdio through npx. The verification engine is a hosted service, so calls go out to lastsearch.ai even when the server runs locally — the MCP server and frontend are open source, the engine is not. Sessions need the key, since that is what establishes ownership of one. The free tier covers 100 premium queries a day, with deep queries costing three times as much, and when the quota runs out queries fall back to keyword-only verification rather than failing; it resets every 24 hours.
One command plus a key — npx lastsearch setup, then supply credentials
USE CASES
Run the full pipeline at a higher depth and read the confidence and per-claim verification, not only the prose.
Hand over the document and get every atomic claim in it verified against live sources.
Fetch it stripped to clean text, then extract the claims and their sources from it.
Create a session and ask inside it, so later questions recall what the earlier ones already verified.
Export the accumulated claims, or share the session as a public URL they can fork and carry on from.
Compare a raw model answer against an evidence-backed one for the same query.
Recall the relevant verified claims from the session instead of running the pipeline again.
Listed in project code.
searchSearch the web for information on a topic. Returns URLs, titles, snippets, and relevance scores.
openFetch and parse a web page into clean text using Readability. Strips ads, nav, and boilerplate.
extractExtract structured knowledge (claims + sources + confidence) from a single web page using AI.
answerFull deep research pipeline: search the web, fetch pages, extract claims, build evidence graph, and generate a structured answer with citations and confidence score. Use depth='thorough' for auto-retry with rephrased queries when confidence is low. Use depth='deep' for multi-step agentic research that identifies knowledge gaps and runs follow-up searches. Enterprise: use searchProvider to search internal data instead of the public web. DISCLAIMER: Results are AI-generated for informational purposes only — not financial, medical, or legal advice. Confidence scores are algorithmic estimates, not accuracy guarantees. Always verify critical information from primary sources.
compareCompare a raw LLM answer (no sources) vs an evidence-backed answer. Shows the difference between hallucination-prone and grounded responses.
verify_documentFact-check an entire document (AI-generated report, competitive analysis, market research, news article). Pass either raw text OR a URL — we'll extract every atomic claim and verify each against live web sources. Returns per-claim verification status with sources, NLI scores, and an overall A-F grade. Use for auditing the accuracy of long-form content from other AI agents.
clarityClarity — anti-hallucination answer engine. Three modes: (1) mode='prompt': Returns only enhanced system + user prompts with anti-hallucination techniques. No LLM call, no internet. Use this when you want YOUR OWN LLM (e.g. Claude) to answer using the enhanced prompts. (2) mode='answer' (default): Rewrites prompt, calls LLM with grounding instructions, returns answer with extracted claims. Fast, no internet. (3) mode='verified': Does #2, then runs full browse pipeline (search + extract + verify), fuses best of both — source-backed claims, evidence-based confidence. Use for maximum accuracy.
session_createCreate a new research session. Sessions persist knowledge across multiple queries — each query builds on prior research.
session_askResearch a question within a session. Recalls prior knowledge, runs the research pipeline, and stores new claims. Later queries in the same session benefit from accumulated knowledge.
session_recallQuery accumulated knowledge from a session without making new web searches. Returns previously verified claims relevant to the query.
session_shareShare a research session publicly. Returns a shareable URL that anyone can view — great for sharing research findings with teammates, in reports, or on social media.
session_knowledgeExport all knowledge from a research session. Returns all verified claims, sources, and confidence scores accumulated across queries.
session_forkFork a shared research session to continue building on someone else's research. Creates a copy of all knowledge in your own session.
feedbackSubmit feedback on a search result to improve future accuracy. Helps the self-learning engine tune verification thresholds.
BEFORE YOU INSTALL
14 tools when we connected.
All 3 documented clients run the server on your machine.
INSTALLATION
npx lastsearch setup{
"mcpServers": {
"lastsearch": {
"command": "npx",
"args": [
"-y",
"lastsearch"
],
"env": {
"LASTSEARCH_API_KEY": "<YOUR_LASTSEARCH_API_KEY>"
}
}
}
}