LSD
The server connects the Claude AI to the internet through the capabilites of the LSD SQL language, turning web data into a queryable database-like structure to interact with real-world data efficiently.
What is LSD?
LSD is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to server connects the claude ai to the internet through the capabilites of the lsd sql language, turning web data into a queryable database-like structure to interact with real-world data efficiently....
The server connects the Claude AI to the internet through the capabilites of the LSD SQL language, turning web data into a queryable database-like structure to interact with real-world data efficiently.
This server falls under the Search & Data Extraction and APIs categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- The server connects the Claude AI to the internet through th
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx lsd-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use LSD
The LSD MCP Server connects AI assistants to the internet using LSD SQL — a PostgreSQL-compatible query language that treats live websites as queryable database tables. Rather than scraping HTML manually or relying on search API results, Claude can write and self-correct LSD SQL queries that run against cloud browsers, turning any web page into structured data that can be filtered, joined, and analyzed like a relational database. It requires a free LSD account and Python/uv to run.
Prerequisites
- Python 3.10+ and the uv package manager installed
- A free LSD account — sign up at https://lsd.so/connect with a Google account
- LSD_USER (your email) and LSD_API_KEY from your LSD profile page
- An MCP-compatible client: Claude Desktop or any MCP-supporting agent
- PostgreSQL client library (install via brew install postgres on macOS if not present)
Clone the repository
Clone the lsd-mcp repository to your local machine. There is no PyPI package — installation is via git clone.
git clone https://github.com/lsd-so/lsd-mcp.git
cd lsd-mcpCreate a .env file with your LSD credentials
Create a .env file in the repository root with your LSD account email and API key. Get your API key from your profile page on lsd.so.
[email protected]
LSD_API_KEY=your_api_key_from_lsd_profileInstall the MCP server via Smithery (alternative)
If you prefer, you can install and register the server automatically using the Smithery CLI, which handles config file updates for Claude Desktop.
npx -y @smithery/cli install @lsd-so/lsd-mcp --client claudeRegister manually with Claude Desktop
For a manual setup, register the server in claude_desktop_config.json using uv to run app.py from the cloned repo.
{
"mcpServers": {
"lsd": {
"command": "uv",
"args": ["run", "/path/to/lsd-mcp/app.py"],
"env": {
"LSD_USER": "[email protected]",
"LSD_API_KEY": "your_api_key_here"
}
}
}
}Test LSD SQL in Claude
Ask Claude to scan a URL using LSD SQL. Claude will generate, execute, and self-correct queries against the live web page through cloud browsers.
LSD Examples
Client configuration
claude_desktop_config.json entry for the LSD MCP server running from a cloned local repository.
{
"mcpServers": {
"lsd": {
"command": "uv",
"args": ["run", "/Users/you/lsd-mcp/app.py"],
"env": {
"LSD_USER": "[email protected]",
"LSD_API_KEY": "your_lsd_api_key"
}
}
}
}Prompts to try
These prompts leverage LSD's ability to query live web pages as structured data.
- "Scan https://news.ycombinator.com and give me the top 10 story titles and scores."
- "Query https://github.com/trending and return the top trending repositories as a table."
- "Extract all product names and prices from https://example-shop.com/products."
- "Fetch structured data from the LSD documentation at https://lsd.so/docs."Troubleshooting LSD
Authentication error — invalid API key or user
Double-check LSD_USER matches the email you used to sign up at lsd.so/connect, and LSD_API_KEY is copied exactly from your LSD profile page. API keys are case-sensitive.
PostgreSQL library not found on startup
LSD MCP requires PostgreSQL client libraries. On macOS, run 'brew install postgresql'. On Ubuntu/Debian, run 'sudo apt-get install libpq-dev'. Then re-run 'uv run app.py' to reinstall dependencies.
LSD SQL queries return empty results for a webpage
Some pages require JavaScript rendering. LSD runs queries through cloud browsers, but complex single-page apps may need a SCAN command with a wait clause. Try rephrasing your request to include 'wait for the page to fully load' so Claude adjusts the query.
Frequently Asked Questions about LSD
What is LSD?
LSD is a Model Context Protocol (MCP) server that server connects the claude ai to the internet through the capabilites of the lsd sql language, turning web data into a queryable database-like structure to interact with real-world data efficiently. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install LSD?
Follow the installation instructions on the LSD GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with LSD?
LSD works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is LSD free to use?
Yes, LSD is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
LSD Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to LSD? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up LSD in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use LSD?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.