█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

SurfSense

एक API और MCP सर्वर के ज़रिए टाइप्ड लाइव-वेब कनेक्टर और रिसर्च वर्कस्पेस

Web Scraping & CrawlingOpen core
भाषा
Python
लाइसेंस
Apache-2.0 (the surfsense_backend/app/proprietary/ directory is Business Source License 1.1)
संक्षेप में

SurfSense क्या है?

SurfSense एक API और MCP सर्वर के ज़रिए टाइप्ड लाइव-वेब कनेक्टर और रिसर्च वर्कस्पेस. यह Data & Labeling टूल्स की Web Scraping & Crawling श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 (the surfsense_backend/app/proprietary/ directory is Business Source License 1.1) लाइसेंस के तहत है।

सारांश

SurfSense एक ओपन सोर्स प्लेटफ़ॉर्म है जो AI agents को वहीं से संरचित डेटा देता है जहाँ से असली जवाब मिलते हैं। Reddit, YouTube, Instagram, TikTok, Amazon, Walmart, Google Maps, Google Search, Indeed और सामान्य वेब क्रॉलिंग, हर स्रोत एक REST endpoint है, जो HTML पेज या markdown ब्लॉब की जगह posts, comments, transcripts, reviews और SERP results जैसे typed JSON items लौटाता है, जिन्हें agent को खुद parse नहीं करना पड़ता। यही connectors एक hosted MCP server के ज़रिए native tools के रूप में भी उपलब्ध हैं, इसलिए Claude, Cursor या कोई भी agent framework इन्हें सीधे call कर सकता है।

प्रोजेक्ट इसे तीन मिलते-जुलते तरीकों के मुकाबले रखता है। Browser agents click कर सकते हैं और login भी, लेकिन सिर्फ़ पढ़ने (read-only) वाले retrieval के लिए browser में चलने वाला LLM loop हर पेज पर मिनटों और tokens खर्च करता है, जबकि connector call एक ही HTTP request होती है। सामान्य scraping APIs पेज को markdown में बदल देते हैं, लेकिन bot-protected platforms पर उनका प्रदर्शन गिर जाता है। Search APIs एक web index से जवाब देते हैं और किसी thread के comments या किसी जगह के reviews नहीं ला सकते। SurfSense इन तीनों का जवाब हर platform के लिए अलग typed endpoint और एक agent harness के रूप में देता है, जो retries, structured output और metering संभालता है।

इन connectors के पीछे वही research workspace है जिससे SurfSense की शुरुआत हुई थी, यानी एक ओपन सोर्स NotebookLM विकल्प। आप documents upload कर सकते हैं या Google Drive, OneDrive और Dropbox को knowledge base से sync कर सकते हैं, जहाँ hybrid semantic और full-text search के साथ cited answers मिलते हैं। इससे reports, podcasts, slide decks और narrated overviews बनाए जा सकते हैं। Scheduled या event-triggered agent turns चलाकर नतीजे Notion, Slack, Linear या Jira में वापस लिखे जा सकते हैं, और role-based access के साथ real time में टीम के साथ काम किया जा सकता है। कोई model lock-in नहीं है: OpenAI spec और LiteLLM के ज़रिए 100+ LLMs, हज़ारों embedding models, और vLLM व Ollama के ज़रिए पूरा local support।

Licensing open-core मॉडल पर है। `surfsense_backend/app/proprietary/` directory के बाहर की हर चीज़ Apache-2.0 है; वह directory Business Source License 1.1 के तहत है। Hosted cloud का बिल pay-as-you-go के हिसाब से आता है, जो लौटाए गए हर item या fetch किए गए पेज पर लगता है, और failed calls का बिल नहीं बनता। Self-hosted installs में billing बंद रहती है और उनकी सीमा सिर्फ़ आपके hardware और आपकी अपनी model keys से तय होती है।

यह क्या करता है

  • Reddit, YouTube, Instagram, TikTok, Amazon, Walmart, Google Maps, Google Search, Indeed और open-web crawling के लिए typed REST connectors
  • एक hosted MCP server, जो हर connector को native agent tool के रूप में देता है, साथ ही Notion, Slack और Jira के लिए one-click OAuth वाले external MCP connectors
  • 50+ file formats के लिए knowledge base, cloud-drive sync, hybrid semantic और full-text search, और cited answers
  • Deliverable studio: PDF/DOCX/HTML/LaTeX/EPUB में export होने वाली reports, दो-host वाले AI podcasts, editable slide decks और narrated video overviews
  • Automations जो schedule पर या किसी event पर agent turns चलाते हैं और नतीजे Notion, Slack, Linear या Jira में लिखते हैं
  • Global shortcut, select-text और screenshot assist वाला desktop app, और एक watched local folder जो knowledge base में अपने-आप sync होता है
  • कोई vendor lock-in नहीं: OpenAI spec और LiteLLM के ज़रिए 100+ LLMs, 6,000+ embedding models, और vLLM या Ollama के ज़रिए local inference

शुरू करें

आप API key से hosted connector call कर सकते हैं, MCP server को किसी agent से जोड़ सकते हैं, या Docker से पूरा platform खुद self-host कर सकते हैं। Self-hosted installs billing बंद करके चलते हैं।

REST के ज़रिए connector call करें

हर connector एक workspace के लिए scoped POST endpoint है। Docs में हर connector पेज पर Python, JavaScript, Go, PHP, Ruby, Java और C# में copy-paste करने लायक examples हैं।

bashbash
curl -X POST "$SURFSENSE_API_URL/workspaces/$WORKSPACE_ID/scrapers/reddit/scrape" \
  -H "Authorization: Bearer $SURFSENSE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "search_queries": ["your brand"],
    "community": "SaaS",
    "sort": "top",
    "time_filter": "week"
  }'

MCP के ज़रिए agent को connectors दें

किसी भी MCP client को SurfSense MCP server की ओर इंगित करें, और हर connector एक callable tool बन जाएगा, जैसे surfsense_reddit_scrape या surfsense_google_search। यह server surfsense_mcp directory से locally भी चलाया जा सकता है।

jsonjson
{
  "mcpServers": {
    "surfsense": {
      "url": "https://mcp.surfsense.com/mcp",
      "headers": { "Authorization": "Bearer ${SURFSENSE_API_KEY}" }
    }
  }
}

प्लेटफ़ॉर्म को self-host करें

Docker Desktop इंस्टॉल और चालू होना चाहिए। Install script daily auto-updates के लिए Watchtower भी सेट करती है; उसे छोड़ने के लिए --no-watchtower पास करें। Docker Compose और manual installs के बारे में docs में जानकारी दी गई है।

bashbash
curl -fsSL https://raw.githubusercontent.com/MODSetter/SurfSense/main/docker/scripts/install.sh | bash

Windows पर self-host करें

यही इंस्टॉलर Windows के लिए PowerShell स्क्रिप्ट के रूप में मिलता है।

bashbash
irm https://raw.githubusercontent.com/MODSetter/SurfSense/main/docker/scripts/install.ps1 | iex

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • जब किसी agent को platform-native डेटा चाहिए, जैसे Reddit comments, YouTube transcripts, Maps reviews, जिन्हें कोई search API या markdown scraper नहीं लौटा सकता, तब इसका इस्तेमाल करें
  • सिर्फ़ पढ़ने वाले retrieval के लिए किसी नाज़ुक LLM-चालित browser loop की जगह इसका इस्तेमाल करें, जहाँ एक typed HTTP call तेज़ और सस्ती पड़ती है
  • अपने documents पर self-hosted research workspace के लिए अच्छा है, जिसमें cited answers और export होने वाली reports मिलती हैं
  • Scheduled monitoring के लिए उपयोगी: किसी agent turn को तय अंतराल पर चलाएँ और नतीजे की brief Slack, Notion, Linear या Jira में भेजें

How SurfSense compares

SurfSense alongside other open-source web scraping & crawling tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Firecrawl★ 215kकिसी भी वेबसाइट को अपने LLM ऐप्स के लिए साफ़ Markdown या स्ट्रक्चर्ड JSON में बदलें
Agent Reach★ 117kपहले से कॉन्फ़िगर की गई वेब-एक्सेस लेयर, जो CLI एजेंट को उन साइटों के लिए रीडर देती है जहाँ उसकी पहुँच नहीं है
Scrapling★ 108kएडैप्टिव Python वेब स्क्रैपिंग, जो साइट में बदलाव के बावजूद काम करती रहे और anti-bot सिस्टम को बायपास करे
Crawl4AI★ 88.4kवेब पेजों को साफ़, LLM के लिए तैयार Markdown में बदलने वाला ओपन सोर्स वेब क्रॉलर
Scrapy★ 65.7kबड़े पैमाने पर वेबसाइट क्रॉल करने और संरचित डेटा निकालने के लिए एक Python फ़्रेमवर्क
changedetection.io★ 36.2kLLM-फ़िल्टर्ड अलर्ट के साथ सेल्फ-होस्टेड वेब पेज चेंज मॉनिटरिंग
ScrapeGraphAI★ 33kसादी अंग्रेज़ी के प्रॉम्प्ट से LLM और ग्राफ़ पाइपलाइन द्वारा संरचित वेब डेटा निकालें
SurfSense★ 17.3kएक API और MCP सर्वर के ज़रिए टाइप्ड लाइव-वेब कनेक्टर और रिसर्च वर्कस्पेस