MCPcopy
hub / github.com/zaidmukaddam/scira

github.com/zaidmukaddam/scira @main sqlite

repository ↗ · DeepWiki ↗
2,323 symbols 5,740 edges 355 files 11 documented · 0%
README

Scira

Research at the speed of thought. The agentic research platform that plans, retrieves, and cites — so you can think faster.

Vercel OSS Program

Scira

🔗 Try Scira at scira.ai

Ask DeepWiki

Powered By

Vercel AI SDK Exa AI Upstash
Vercel AI SDK Exa AI Upstash
For AI model integration and streaming For web search and content retrieval For serverless Redis and rate limiting

Special Thanks

Warp

Warp, the intelligent terminal

Available for MacOS, Linux, & Windows

Visit warp.dev to learn more

How It Works

  1. Ask anything — Type a question, upload a PDF, or paste a URL. Pick a mode or let Scira decide for you.
  2. Scira plans & retrieves — The agent breaks your question into sub-tasks, searches live sources, and cross-checks the evidence.
  3. Get cited answers — Receive a grounded answer with inline citations. Click any source to verify it yourself.

Features

Core Capabilities

  • Agentic Planning — Breaks complex questions into steps, selects the right models and tools, then executes multi-step workflows end to end
  • Grounded Retrieval — Every answer comes with inline citations you can click to audit the evidence yourself
  • Extensible & Open — AGPL-3.0 licensed. Self-host, bring your own models, connect custom tools, and tailor everything to your workflow
  • Lookouts — Schedule recurring research agents that monitor topics, track changes, and email you updates

Search Modes (17 modes)

Mode Description
Web Search the entire web with AI-powered analysis
Chat Talk to the model directly, no search
X Real-time posts, trends, and conversations
Stocks Market data, charts, and financial analysis
Code Get context about languages and frameworks
Academic Research papers, citations, and scholarly sources
Extreme Deep research with multiple sources and analysis
Reddit Discussions, opinions, and community insights
GitHub Repositories, code, and developer discussions
Crypto Cryptocurrency research powered by CoinGecko
Prediction Prediction markets from Polymarket and Kalshi
YouTube Video summaries, transcripts, and analysis
Spotify Search songs, artists, and albums
Connectors Search Google Drive, Notion & OneDrive (Pro)
Memory Your personal memory companion (Pro)
Voice Conversational AI with real-time voice (Pro)
XQL Advanced X query language for tweet analysis (Pro)

Tools (28 tools)

Search & Retrieval

  • Web search — Multi-query parallel web search with deduplication using Exa, Firecrawl, Parallel, and Tavily
  • Extreme search — LLM-driven deep research agent with multi-step planning, code execution, and R2 artifact storage
  • Academic search — Search academic papers and research using Exa and Firecrawl
  • Reddit search — Search Reddit with configurable time ranges using Parallel
  • X search — Search X posts with date range filtering and handle inclusion/exclusion using xAI Grok
  • YouTube search — Search videos, channels, playlists with transcript extraction using Supadata
  • GitHub search — Search repositories with structured metadata extraction using Firecrawl
  • Spotify search — Search tracks, artists, albums, and playlists via Spotify Web API
  • URL content retrieval — Extract content from any URL including tweets, YouTube, TikTok, and Instagram

Financial & Market Data

  • Stock charts — Interactive stock charts with OHLC data, earnings, and news using Valyu, Tavily, and Exa
  • Currency converter — Forex and crypto conversion with real-time rates using Valyu
  • Crypto tools — Cryptocurrency data, contract lookups, and OHLC charts using CoinGecko
  • Prediction markets — Query Polymarket and Kalshi data with Cohere reranking using Valyu

Location & Travel

  • Weather — Current weather, 5-day forecast, air quality, and 16-day extended forecast using OpenWeatherMap and Open-Meteo
  • Maps & geocoding — Forward/reverse geocoding and nearby place discovery using Google Maps API
  • Flight tracking — Real-time flight status with departure/arrival details

Media & Entertainment

  • Movie/TV search — Search movies and TV shows with detailed cast, ratings, and metadata using TMDB
  • Trending movies — Today's trending movies from TMDB
  • Trending TV shows — Today's trending TV shows from TMDB

Productivity & Utilities

  • Code interpreter — Write and execute Python code in a sandboxed Daytona environment with chart generation
  • Code context — Get contextual information about programming topics using Exa Context API
  • Text translation — Translate text (and text within images) between languages using AI models
  • File query search — Semantic search over uploaded files (PDF, CSV, DOCX, Excel) with Cohere embeddings and reranking
  • Connectors search — Search connected Google Drive, Notion, and OneDrive using Supermemory
  • Memory tools — Save and search personal memories using Supermemory
  • Date & time — Current date/time in multiple formats with timezone support
  • Greeting — Personalized time-of-day-aware greetings

LLM Models Supported

  • xAI: Grok 3, Grok 3 Mini, Grok 4, Grok 4 Fast, Grok 4.1 Fast, Grok Code
  • OpenAI: GPT 4.1 (Nano/Mini/Standard), GPT 5 (Nano/Mini/Medium/Standard), GPT 5.1 (Instant/Thinking/Codex), GPT 5.2 (Instant/Thinking/Codex), o3, o4 mini, GPT OSS 20B/120B
  • Anthropic: Claude Haiku 4.5, Claude Sonnet 4.5, Claude 4.5 Opus, Claude 4.6 Opus
  • Google: Gemini 2.5 Flash (Lite/Standard), Gemini 2.5 Pro, Gemini 3 Flash, Gemini 3 Pro
  • Alibaba (Qwen): Qwen 3 (4B/32B/235B), Qwen 3 VL, Qwen 3 Max, Qwen 3 Coder (Small/Standard/Plus/Next), Qwen 3 Next 80B
  • Mistral: Ministral 3 (3B/8B/14B), Mistral Large 3, Mistral Medium, Magistral (Small/Medium), Devstral 2 (Small/Standard)
  • DeepSeek: DeepSeek v3, v3.1 Terminus, v3.2, R1, R1 0528
  • Zhipu (GLM): GLM 4.5, GLM 4.5 Air, GLM 4.6, GLM 4.6V, GLM 4.7, GLM 4.7 Flash
  • Cohere: Command A, Command A Thinking
  • MoonShot: Kimi K2, Kimi K2.5
  • Minimax: M1 80K, M2, M2.1, M2.1 Lightning
  • ByteDance: Seed 1.6, Seed 1.6 Flash, Seed 1.8
  • Arcee: Trinity Mini, Trinity Large
  • Others: Vercel v0 (1.0/1.5), Amazon Nova 2 Lite, Xiaomi Mimo V2 Flash, StepFun Step 3.5 Flash, Kwaipilot KAT-Coder-Pro V1

Built with

Deploy your own

Deploy with Vercel

Set Scira as your default search engine

  1. Open the Chrome browser settings:
  2. Click on the three vertical dots in the upper right corner of the browser.
  3. Select "Settings" from the dropdown menu.

  4. Go to the search engine settings:

  5. In the left sidebar, click on "Search engine."
  6. Then select "Manage search engines and site search."

  7. Add a new search engine:

  8. Click on "Add" next to "Site search."

  9. Set the search engine name:

  10. Enter Scira in the "Search engine" field.

  11. Set the search engine URL:

  12. Enter https://scira.ai?q=%s in the "URL with %s in place of query" field.

  13. Set the search engine shortcut:

  14. Enter sh in the "Shortcut" field.

  15. Set Default:

  16. Click on the three dots next to the search engine you just added.
  17. Select "Make default" from the dropdown menu.

After completing these steps, you should be able to use Scira as your default search engine in Chrome.

Local development

Run via Docker

The application can be run using Docker in two ways:

Using Docker Compose (Recommended)
  1. Make sure you have Docker and Docker Compose installed on your system
  2. Create a .env file based on .env.example with your API keys
  3. Run the following command in the project root: bash docker compose up
  4. The application will be available at http://localhost:3000
Using Docker Directly
  1. Create a .env file based on .env.example with your API keys
  2. Build the Docker image: bash docker build -t scira.app .
  3. Run the container: bash docker run --env-file .env -p 3000:3000 scira.app

The application uses a multi-stage build process to minimize the final image size and implements security best practices. The production image runs on Node.js LTS with Alpine Linux for a minimal footprint.

Run with Node.js

To run the application locally without Docker:

  1. Sign up for accounts with the required AI providers:
  2. OpenAI (required)
  3. Anthropic (required)
  4. Exa (required for web search feature)
  5. Copy .env.example to .env.local and fill in your API keys
  6. Install dependencies: bash pnpm install
  7. Start the development server: bash pnpm dev
  8. Open http://localhost:3000 in your browser

License

This project is licensed under the AGPLv3 License - see the LICENSE file for details.

Extension points exported contracts — how you extend this code

SearchStrategy (Interface)
(no doc) [6 implementers]
lib/tools/web-search.ts
WordObject (Interface)
* Internal interface for representing words when splitting text by characters. * Used to maintain proper word spacing a
components/ui/text-rotate.tsx
UserDropdownContentProps (Interface)
(no doc)
components/app-sidebar.tsx
ChatInterfaceProps (Interface)
(no doc)
components/chat-interface.tsx
Location (Interface)
(no doc)
components/nearby-search-map-view.tsx
PlaceholderImageProps (Interface)
(no doc)
components/placeholder-image.tsx
TranscriptChunk (Interface)
(no doc)
components/youtube-search-results.tsx
PartInfo (Interface)
(no doc)
components/messages.tsx

Core symbols most depended-on inside this repo

cn
called by 756
lib/utils.ts
set
called by 150
lib/user-data-server.ts
get
called by 127
lib/user-data-server.ts
text
called by 120
components/markdown.tsx
getBetterAllOptions
called by 75
lib/better-all.ts
toResponse
called by 75
lib/errors.ts
delete
called by 57
lib/user-data-server.ts
getCurrentUser
called by 34
app/actions.ts

Shape

Function 1,822
Interface 408
Method 62
Class 28
Enum 3

Languages

TypeScript100%

Modules by API surface

app/actions.ts78 symbols
lib/db/queries.ts70 symbols
components/message-parts/index.tsx60 symbols
components/settings-dialog.tsx57 symbols
components/markdown.tsx55 symbols
app/api/export/pdf/route.ts49 symbols
lib/performance-cache.ts38 symbols
lib/mcp/oauth.ts38 symbols
lib/user-data-server.ts35 symbols
lib/tools/extreme-search.ts35 symbols
components/ui/form-component.tsx32 symbols
lib/tools/web-search.ts29 symbols

Dependencies from manifests, versioned

@ai-sdk/anthropic3.0.62 · 1×
@ai-sdk/baseten1.0.39 · 1×
@ai-sdk/cohere3.0.26 · 1×
@ai-sdk/elevenlabs2.0.25 · 1×
@ai-sdk/gateway3.0.76 · 1×
@ai-sdk/google3.0.51 · 1×
@ai-sdk/groq3.0.30 · 1×
@ai-sdk/mcp1.0.29 · 1×
@ai-sdk/mistral3.0.25 · 1×
@ai-sdk/openai3.0.46 · 1×
@ai-sdk/openai-compatible2.0.36 · 1×
@ai-sdk/react3.0.134 · 1×

For agents

$ claude mcp add scira \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact