🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@lattis-dev/cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lattis-dev/cli

Search indexed websites and read raw page markdown from the command line — real web content for AI agents

npmnpm
Version
0.3.0
Version published
Weekly downloads
70
62.79%
Maintainers
1
Weekly downloads
 
Created
Source

@lattis-dev/cli

Search indexed websites and read raw page markdown from the command line.

Lattis pre-indexes websites and serves them over a simple API. This CLI gives you semantic search across every indexed site, per-site AI Visibility Scores, and raw page markdown — real content, not training data.

Install

npm install -g @lattis-dev/cli

Or use without installing:

npx @lattis-dev/cli search "posthog free tier limits"

Or via shell script:

curl -fsSL https://lattis.dev/install.sh | sh

Use with Claude Code / Cursor (MCP)

The remote MCP server is the easiest path — no local install, always up to date:

claude mcp add lattis --transport http https://mcp.lattis.dev/mcp

If you'd rather run a local stdio MCP server (same 4 tools, no network hop), use the bundled mcp command in Claude Code config (~/.claude/settings.json):

{
  "mcpServers": {
    "lattis": {
      "command": "npx",
      "args": ["-y", "@lattis-dev/cli", "mcp"]
    }
  }
}

Both expose the same 4 tools: lattis_search, lattis_list_sites, lattis_get_site, lattis_get_page.

Use with any AI (pipe mode)

# Compact JSON for LLM consumption
lattis search "PostHog pricing" --agent | your-agent

# Use as context in a prompt
echo "Based on this data: $(lattis site posthog.com --agent)" | llm

CLI Commands

Search across every indexed site

lattis search "analytics for startups"

Returns ranked markdown passages with source URLs.

Scope a search to one site

lattis search "rate limits" --site=openai.com

List indexed sites

lattis sites

Shows every indexed site with its AI Visibility Score.

View one site

lattis site posthog.com

Metadata and AI Visibility Score.

Read a specific page

lattis page posthog.com /pricing

Full raw markdown of the page.

AI Visibility Score breakdown

lattis report incident.io

Per-question breakdown: which questions the site answers, which it misses, and suggestions per miss.

Submit a site for indexing

lattis analyze https://example.com

Compact JSON for LLM consumption

lattis search "book a meeting" --agent

Returns minimal JSON optimized for token efficiency — pipe it into your agent.

Environment

VariableDefaultDescription
LATTIS_API_URLhttps://api.lattis.devOverride API endpoint

What is Lattis?

Lattis crawls any website and serves its content back as raw markdown. You get:

  • Raw page passages — semantic search returns the actual text from the page, with source URLs, so your agent can read and cite directly.
  • Full page markdown — fetch any indexed page end-to-end when you need more than an excerpt.
  • AI Visibility Score — a per-site diagnostic: which questions agents can answer about the site, which they can't, and why.

Learn more at lattis.dev.

Keywords

ai

FAQs

Package last updated on 14 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts