Skip to main content
The Nia plugin for Claude Code provides direct access to Nia for indexing and searching code repositories, documentation, research papers, and HuggingFace datasets.
Marketplace Install: Install directly from the Claude Code marketplace with a single command.

Features

Repository Indexing

Index GitHub repositories and search through code with semantic and regex search.

Documentation Search

Index entire documentation sites and search across all pages.

Research Papers

Index arXiv papers by ID, URL, or PDF link for AI-powered research.

HuggingFace Datasets

Index and search HuggingFace datasets by name or URL.

Installation

From Marketplace

/install nia

From GitHub

/plugin marketplace add nozomio-labs/nia-plugin
/plugin install nia@nozomio-labs/nia-plugin

Setup

1. Get Your API Key

Either run the guided wizard:
npx nia-wizard@latest
Or sign up at trynia.ai to get your key.

2. Store the Key

mkdir -p ~/.config/nia
echo "your-api-key" > ~/.config/nia/api_key

3. Requirements

  • curl
  • jq
Most systems have these pre-installed. On macOS, install with brew install jq if needed.

Available Scripts

ScriptDescription
repos-list.shList indexed repositories
repos-index.shIndex a GitHub repository
repos-tree.shGet repository file tree
repos-read.shRead file from repository
repos-grep.shSearch code in repository
sources-list.shList indexed data sources
sources-index.shIndex documentation URL
sources-tree.shGet source tree
sources-read.shRead from source
papers-list.shList indexed papers
papers-index.shIndex arXiv paper
datasets-list.shList HuggingFace datasets
datasets-index.shIndex HuggingFace dataset
search-universal.shSearch all indexed sources
search-web.shWeb search
search-deep.shDeep research (Pro)
package-grep.shSearch package source code
global-subscribe.shSubscribe to public source
oracle.shRun autonomous research (Pro)

Usage Examples

# List indexed repositories
./scripts/repos-list.sh

# Index a repository
./scripts/repos-index.sh "owner/repo"

# Search all indexed sources
./scripts/search-universal.sh "how does auth work?"

# Index documentation
./scripts/sources-index.sh "https://docs.stripe.com"

# Grep repository code
./scripts/repos-grep.sh "vercel/ai" "streamText"


Need Help? Join our Discord community or reach out through app.trynia.ai for support.