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

@talocode/wiki

v0.1.0

Published

Agent knowledge base — ingest, query, and manage a structured wiki of plain Markdown files

Readme

Talocode Wiki

Agent knowledge base — ingest, query, and manage a structured wiki of plain Markdown files.

Talocode Wiki turns any agent into a knowledge-powered assistant. It creates, maintains, and queries a structured knowledge base that persists across sessions.

Features

  • Ingest documents, PDFs, web pages, and text into linked knowledge pages
  • Query the knowledge base with natural language questions
  • Cross-reference and link related concepts automatically
  • Hot cache for instant context in new sessions
  • Lint the wiki to find contradictions, dead links, and orphans
  • Obsidian-compatible — plain Markdown, works with Graph View

Install

# npm
npm install -g @talocode/wiki

# pip
pip install talocode-wiki

CLI Usage

# Initialize wiki
wiki init

# Ingest a file
wiki ingest research-paper.pdf

# Query the knowledge base
wiki query "what do you know about AI agents?"

# Check wiki health
wiki lint

# Save conversation
wiki save "Key insights" -c "Important findings from today"

SDK Usage

TypeScript

import { WikiClient } from '@talocode/wiki';

const wiki = new WikiClient({ wikiDir: './wiki' });
await wiki.init();

// Ingest content
await wiki.ingest('notes.md', 'Content to remember...');

// Query
const result = await wiki.query('What do we know about X?');
console.log(result.answer);

Python

from talocode_wiki import WikiClient

wiki = WikiClient(wiki_dir='./wiki')
wiki.init()

# Ingest content
wiki.ingest('notes.md', 'Content to remember...')

# Query
result = wiki.query('What do we know about X?')
print(result.answer)

MCP Integration

Add to your agent config:

{
  "mcp": {
    "wiki": {
      "type": "local",
      "command": ["npx", "-y", "@talocode/wiki", "mcp"]
    }
  }
}

Available tools:

  • wiki_init — Initialize wiki structure
  • wiki_ingest — Ingest content into knowledge base
  • wiki_query — Query with natural language
  • wiki_lint — Check wiki health
  • wiki_save — Save content as wiki page

Hosted API

# Ingest
curl -X POST https://api.talocode.site/v1/wiki/ingest \
  -H "Authorization: Bearer $TALOCODE_API_KEY" \
  -d '{"content": "...", "source": "notes.md"}'

# Query
curl -X POST https://api.talocode.site/v1/wiki/query \
  -H "Authorization: Bearer $TALOCODE_API_KEY" \
  -d '{"question": "What do you know about AI?"}'

API Pricing

| Action | Credits | |--------|---------| | Ingest | 5 | | Query | 3 | | Lint | 2 | | Init | Free |

Wiki Structure

wiki/
├── index.md           # Master index
├── hot.md             # Recent context cache
├── domains/           # Domain-specific knowledge
├── sources/           # Ingested sources
│   └── <source>/
│       ├── index.md
│       └── pages/
└── links.md           # Cross-references

Commands

| Command | Description | |---------|-------------| | wiki init | Initialize wiki structure | | wiki ingest <file> | Add file to knowledge base | | wiki query <question> | Search the wiki | | wiki lint | Check for issues | | wiki save <title> | Save content as page |

Related Packages

| Package | npm | PyPI | |---------|-----|------| | DocuLane | @talocode/doculane | talocode-doculane | | XSearchLane | @talocode/xsearchlane | talocode-xsearchlane | | Wiki | @talocode/wiki | talocode-wiki |

License

MIT © Talocode