SLIM MCP Server
Enables Claude to fetch web content in SLIM format, reducing tokens by ~90% for efficient AI comprehension.
README
SLIM MCP Server
Make Claude read the web in AI-native format
MCP (Model Context Protocol) server that allows Claude to fetch web content in SLIM format - optimized for AI comprehension with ~90% token reduction.
Quick Start
1. Install
npm install -g @slim-protocol/mcp-server
# or use npx directly (no install needed)
2. Configure Claude Desktop
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"slim": {
"command": "npx",
"args": ["@slim-protocol/mcp-server"]
}
}
}
3. Restart Claude Desktop
That's it! Claude can now read web pages.
Usage
Just ask Claude to read any URL:
"Read this article and summarize it: https://example.com/article"
"What are the key points in this documentation: https://docs.example.com"
"Analyze this YouTube video: https://youtube.com/watch?v=..."
"What's the discussion about in this Reddit thread: https://reddit.com/r/..."
Claude will automatically use the SLIM tools to fetch and understand the content.
Tools
slim_fetch
Fetch web content in SLIM format.
Input:
url(string, required): The URL to fetch
Example:
Claude uses slim_fetch with url="https://en.wikipedia.org/wiki/Artificial_intelligence"
slim_fetch_with_options
Fetch with advanced options.
Input:
url(string, required): The URL to fetchincludeImages(boolean, optional): Include image metadata (default: true)includeVideos(boolean, optional): Include video metadata (default: true)
Supported Content
| Platform | Content Type |
|---|---|
| Websites | Articles, blogs, documentation |
| YouTube | Video metadata + transcripts |
| Posts, comments, threads | |
| Bluesky | Posts, profiles |
| Any URL | Generic web content |
What is SLIM?
SLIM (Slim Web Representation) is an AI-native content format with hierarchical levels:
- L1: Identity (title, type, author, date)
- L3: Structure (sections, headings, navigation)
- L5: Key Points (insights, topics, summary)
- L7: Full Content (complete text)
This structure allows Claude to understand content efficiently without processing raw HTML, CSS, and JavaScript.
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
SWR_PROXY_URL |
https://swrproxy.frux.pro |
SLIM proxy URL |
SWR_TIMEOUT_MS |
30000 |
Request timeout in ms |
DEBUG |
false |
Enable debug logging |
Custom Proxy
{
"mcpServers": {
"slim": {
"command": "npx",
"args": ["@slim-protocol/mcp-server"],
"env": {
"SWR_PROXY_URL": "https://my-proxy.example.com",
"DEBUG": "true"
}
}
}
}
Development
# Clone
git clone https://github.com/slim-protocol/mcp-server
cd mcp-server
# Install
npm install
# Run in dev mode
npm run dev
# Build
npm run build
# Test
npm test
Troubleshooting
"Tool not available"
- Make sure Claude Desktop is restarted after config change
- Check config file location and JSON syntax
- Try running manually:
npx @slim-protocol/mcp-server
"Request timed out"
Some pages are slow to load. Try:
- Using a different URL
- Increasing timeout via
SWR_TIMEOUT_MS
"Proxy error"
- Check internet connection
- Verify proxy URL is correct
- Try the URL in browser first
License
MIT
Links
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.