lastsearch

lastsearch is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from LastSearch-HQ/lastsearch. Its token cost is not measured, scanned A, original, Apache-2.0.

A local tool for web research that returns sources, citations, and confidence scores for its findings. It requires a LASTSEARCH_API_KEY environment variable.

In plain words
What is it for?
Use it when an agent needs to search the web and include cited findings with an indication of confidence.
Why use it?
It helps agents support research answers with evidence instead of unsupported statements.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it.

Good fit Use it when an agent needs to search the web and include cited findings with an indication of confidence.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/lastsearch-hq/lastsearch/mcp-lastsearch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/LastSearch-HQ/lastsearch

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lastsearch

README.md
[![agentmods](https://agentmods.dev/badge/mcp/lastsearch-hq/lastsearch/mcp-lastsearch/github.svg)](https://agentmods.dev/mcp/lastsearch-hq/lastsearch/mcp-lastsearch)
Your own site
<a href="https://agentmods.dev/mcp/lastsearch-hq/lastsearch/mcp-lastsearch"><img src="https://agentmods.dev/badge/mcp/lastsearch-hq/lastsearch/mcp-lastsearch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lastsearch

Your own site · 80×15
<a href="https://agentmods.dev/mcp/lastsearch-hq/lastsearch/mcp-lastsearch"><img src="https://agentmods.dev/badge/mcp/lastsearch-hq/lastsearch/mcp-lastsearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

lastsearch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

apps/mcp/server.json · 12 lines

What it actually says

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

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 12 lines scan A d5a4620bedd2

Subscribe to this mod's changes

lastsearch is an MCP server published in the GitHub repository LastSearch-HQ/lastsearch (20 stars, last pushed 3d ago), licensed Apache-2.0. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other mcp servers, from other repositories

statcite

Official economic statistics with citations: World Bank, IMF WEO, ECB. Verify claimed figures. Remote server at statcite.com.

asokore/statcite · not measured

ookcite

MCP server for citation validation, formatting, and collection management. Validates DOIs, formats references in 2900+ CSL styles, manages citation collections, and catches hallucinated citations. Runs locally from the @turtletech/ookcite-mcp npm package. Needs 1 environment variable to run.

TurtleTech-ehf/ookcite-mcp · not measured

ookcite-mcp

Catch fabricated citations: verify DOIs/ISBNs and format them in 2900+ CSL styles. Runs locally from the @turtletech/ookcite-mcp npm package. Needs 1 environment variable to run.

TurtleTech-ehf/ookcite-mcp · not measured

reddit-radar

MCP server to find Reddit threads where your product genuinely fits, reconstruct the conversation, and gate drafted replies against a claim boundary you define. Read-only: never posts, votes, or automates an account. Runs locally from the reddit-radar-mcp npm package. Needs 9 environment variables to run.

sourav2024/reddit-radar-mcp · not measured

groundcheck

Verify claims, resolve FIGI identity, extract claims, and sign x402 delivery receipts over MCP. Runs locally from the groundcheck-mcp npm package. Needs 1 environment variable to run.

beepboop2025/groundcheck · not measured

citestamp

Citation-health over a CC0 citation graph: what supports, refutes, or cites a paper. Read-only. Remote server at mcp.citestamp.com.

citestamp/mcp · not measured