npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/joungminsung-opendocuments

v0.2.2

Published

Self-hosted RAG platform for organizational documents - CLI and server

Readme

OpenDocuments

Open source RAG tool for AI document search — connect GitHub, Notion, Google Drive and ask questions with cited answers.

CI npm License: MIT

Install

npm install -g opendocuments

Quick Start

opendocuments init     # Auto-detects Ollama, pulls models, validates API keys
opendocuments start    # Web UI at http://localhost:3000
opendocuments index ./docs
opendocuments ask "How does authentication work?"

What It Does

OpenDocuments connects your scattered documents and answers questions with AI:

  • 10+ data sources — GitHub, Notion, Google Drive, Confluence, S3, Swagger, web pages
  • 12+ file formats — PDF, DOCX, Excel, HTML, Jupyter, code, email, PowerPoint
  • Local or cloud AI — Ollama (data stays local) or OpenAI, Claude, Gemini, Grok
  • Korean + English — cross-lingual search finds docs regardless of language
  • MCP server — works with Claude Code, Cursor, and any MCP-compatible AI tool

CLI Commands

# Ask questions
opendocuments ask "query"              # Single question
opendocuments ask                      # Interactive REPL
opendocuments search "keyword" --top 5 # Vector search (no LLM)

# Documents
opendocuments index ./docs --watch     # Index + auto-reindex
opendocuments document list            # List indexed docs
opendocuments document delete <id>     # Soft-delete

# Connectors
opendocuments connector sync           # Sync all sources
opendocuments connector status         # Check sync status

# Server
opendocuments start                    # HTTP + Web UI
opendocuments start --mcp-only         # MCP server (stdio)
opendocuments stop                     # Stop server
opendocuments doctor                   # Health diagnostics

# Plugins
opendocuments plugin create my-parser --type parser
opendocuments plugin list
opendocuments plugin publish

# Admin
opendocuments auth create-key --name "bot" --role member
opendocuments export --output ./backup

Configuration

opendocuments init generates opendocuments.config.ts:

import { defineConfig } from 'opendocuments-core'

export default defineConfig({
  workspace: 'my-team',
  mode: 'personal',

  model: {
    provider: 'ollama',        // or 'openai', 'anthropic', 'google', 'grok'
    llm: 'qwen2.5:14b',
    embedding: 'bge-m3',
  },

  rag: { profile: 'balanced' },  // 'fast' | 'balanced' | 'precise'

  connectors: [
    { type: 'github', repo: 'org/repo', token: process.env.GITHUB_TOKEN },
    { type: 'notion', token: process.env.NOTION_TOKEN },
  ],

  plugins: [
    '@opendocuments/parser-pdf',
    '@opendocuments/parser-docx',
  ],
})

API keys are stored in .env and loaded automatically.

MCP Server

Use OpenDocuments as a knowledge base for AI coding tools:

{
  "mcpServers": {
    "opendocuments": {
      "command": "opendocuments",
      "args": ["start", "--mcp-only"]
    }
  }
}

19 tools available: search, ask, index, document management, connector sync, stats.

Docker

docker compose up -d                         # Cloud LLM
docker compose --profile with-ollama up -d   # Local LLM

RAG Profiles

| | fast | balanced | precise | |--|------|----------|---------| | Speed | ~1s | ~3s | ~5s+ | | Search depth | 10 docs | 20 docs | 50 docs | | Reranking | Off | On | On | | Cross-lingual | Off | KR + EN | KR + EN | | Hallucination guard | Off | Checks | Strict |

Links

  • GitHub: https://github.com/joungminsung/OpenDocuments
  • Documentation: https://joungminsung.github.io/OpenDocuments
  • Changelog: https://github.com/joungminsung/OpenDocuments/releases
  • Issues: https://github.com/joungminsung/OpenDocuments/issues
  • Security: https://github.com/joungminsung/OpenDocuments/blob/main/SECURITY.md

License

MIT