LH

lastsearch-hq/lastsearch

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 8 forks 品質 82 トレンド 30Apache-2.0

Reliable research infrastructure for AI agents. Evidence-backed web search with citations, confidence scores, and Clarity anti-hallucination. MCP server, REST API, Python SDK.

概要

— real-time web search, evidence extraction, verification, and structured citations. Every claim is backed by a URL. Every answer has a confidence score. npm: lastsearch · PyPI: lastsearch · LangChain: langchain-lastsearch — Previously lastsearch and lastsearch. Old names still work and redirect automatically. Every answer goes through a multi-step verification pipeline. No hallucination. Every claim is backed by a real source. Confidence scores are — not LLM self-assessed. After the LLM extracts claims and sources, a post-extraction verification engine checks every claim against the actual source page text: 1. — Compound claims are auto-split into individual verifiable facts. "Tesla had $96B revenue and 1.8M deliveries" becomes two atomic claims, each verified independently. 2. — For each claim, keyword matching finds lexical matches and dense embeddings find semantic matches from source text. Rankings are fused to catch paraphrased evidence that keyword matching alone misses (e.

README

以下は原文 README の抜粋です。原文を見る。

LastSearch

Research infrastructure for AI agents — real-time web search, evidence extraction, verification against the sources it finds, and structured citations. Claims link to the URLs they came from, and answers carry an estimated confidence score.

Agent → LastSearch → Internet → Answers + sources + estimated confidence

LastSearch is a free, non-commercial passion project by an independent developer. It searches the public internet and weighs what it finds; sources can be wrong, out of date or biased, so nothing it returns is guaranteed to be true or complete. Confidence scores are automated estimates, not certainty, and the final judgement is yours and your agent’s. Not legal, medical, financial or other professional advice. See the Privacy Policy and Terms.

Website · Playground · API Docs · Alternatives · Discord

Package names: npm: lastsearch · PyPI: lastsearch · LangChain: langchain-lastsearch — Previously lastsearch and lastsearch. Old names still work and redirect automatically.


How It Works

search → fetch pages → neural rerank → extract claims → verify → cited answer (streamed)

Every answer goes through a multi-step verification pipeline that checks each claim against the source pages it cites, so unsupported claims are flagged instead of passed off as fact.

Verification & Confidence Scoring

Confidence scores are evidence-based — not LLM self-assessed. After the LLM extracts claims and sources, a post-extraction verification engine checks every claim against the actual source page text:

  1. Atomic claim decomposition — Compound claims are auto-split into individual verifiable facts. “Tesla had $96B revenue and 1.8M deliveries” becomes two atomic claims, each verified independently.
GitHub で README 全文を見る

インストール

npx -y lastsearch
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "lastsearch": { "command": "npx", "args": ["-y", "lastsearch"], "env": { "LASTSEARCH_API_KEY": "ls_xxx" } } } }