Labsco
Cam10001110101 logo

Ollama Deep Researcher

โ˜… 17

from Cam10001110101

Conducts deep research using local Ollama LLMs, leveraging Tavily and Perplexity for comprehensive search capabilities.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

Ollama Deep Researcher DXT Extension

Overview

Ollama Deep Researcher is a Desktop Extension (DXT) that enables advanced topic research using web search and LLM synthesis, powered by a local MCP server. It supports configurable research parameters, status tracking, and resource access, and is designed for seamless integration with the DXT ecosystem.

  • Research any topic using web search APIs (Tavily, Perplexity, Exa) and LLMs (Ollama, DeepSeek, etc.)
  • Configure max research loops, LLM model, and search API
  • Track status of ongoing research
  • Access research results as resources via MCP protocol

Features

  • Implements the MCP protocol over stdio for local, secure operation
  • Defensive programming: error handling, timeouts, and validation
  • Logging and debugging via stderr
  • Compatible with DXT host environments

Directory Structure

.
โ”œโ”€โ”€ manifest.json         # DXT manifest (see MANIFEST.md for spec)
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.ts         # MCP server entrypoint (Node.js, stdio transport)
โ”‚   โ””โ”€โ”€ assistant/       # Python research logic
โ”‚       โ””โ”€โ”€ run_research.py
โ”œโ”€โ”€ README.md            # This documentation
โ””โ”€โ”€ ...

Manifest

See manifest.json for the full DXT manifest, including tool schemas and resource templates. Follows DXT MANIFEST.md.

Logging & Debugging

  • All server logs and errors are output to stderr for debugging.
  • Research subprocesses are killed after 5 minutes to prevent hangs.
  • Invalid requests and configuration errors return clear, structured error messages.

Security & Best Practices

  • All tool schemas are validated before execution.
  • API keys are required for web search APIs and are never logged.
  • MCP protocol is used over stdio for local, secure communication.

Testing & Validation

  • Validate the extension by loading it in a DXT-compatible host.
  • Ensure all tool calls return valid, structured JSON responses.
  • Check that the manifest loads and the extension registers as a DXT.

Search API Comparison

  • Tavily: Fast, comprehensive web search with raw content extraction
  • Perplexity: AI-powered search with natural language summaries and citations
  • Exa: Neural search engine optimized for semantic search with highlights

References