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

reflect-mcp-connector

v0.1.2

Published

Reflect.app MCP connector (Model Context Protocol server).

Readme

Reflect MCP Connector

Connect your Reflect account to any MCP-compatible client (Claude Desktop, Claude Code, Codex, etc.).

This repo provides an MCP server that runs over stdio and exposes a small set of high-signal tools for Reflect (graphs/books/links + creating/appending notes).

Requirements

  • Node.js >= 20

Quickstart (end users)

1) Get a Reflect access token

Generate an access token in Reflect’s developer settings and copy it:

  • https://reflect.app/developer/oauth

You’ll set it as REFLECT_ACCESS_TOKEN in your MCP client config.

2) Add the server to your MCP client

Most MCP clients need:

  • a command (recommended: npx)
  • args (recommended: -y reflect-mcp-connector@latest)
  • environment variables (REFLECT_ACCESS_TOKEN, optionally REFLECT_DEFAULT_GRAPH_ID)

If you publish this under a different npm package name (e.g. a scope), replace reflect-mcp-connector@latest accordingly.

Claude Desktop

In claude_desktop_config.json, add:

{
  "mcpServers": {
    "reflect": {
      "command": "npx",
      "args": ["-y", "reflect-mcp-connector@latest"],
      "env": {
        "REFLECT_ACCESS_TOKEN": "REDACTED",
        "REFLECT_DEFAULT_GRAPH_ID": "OPTIONAL"
      }
    }
  }
}

You can also copy examples/claude_desktop_config.json and edit the paths/env.

If you prefer not to use npx, you can install globally and set command to reflect-mcp-connector:

npm install -g reflect-mcp-connector

Claude Code

Add the server via the Claude Code CLI:

claude mcp add -e REFLECT_ACCESS_TOKEN="REDACTED" -e REFLECT_DEFAULT_GRAPH_ID="OPTIONAL" reflect -- npx -y reflect-mcp-connector@latest

Omit -e REFLECT_DEFAULT_GRAPH_ID=... if you don’t want to set a default graph.

Codex

Add the server via the Codex CLI:

codex mcp add reflect --env REFLECT_ACCESS_TOKEN="REDACTED" --env REFLECT_DEFAULT_GRAPH_ID="OPTIONAL" -- npx -y reflect-mcp-connector@latest

3) Try it

Run the tool reflect_get_me or reflect_list_graphs to confirm connectivity and grab your graph id.

Tools

  • reflect_get_me
  • reflect_list_graphs
  • reflect_list_books
  • reflect_list_links
  • reflect_create_link
  • reflect_append_daily_note
  • reflect_create_note

Configuration

Server:

  • REFLECT_ACCESS_TOKEN (required)
  • REFLECT_DEFAULT_GRAPH_ID (optional; if unset the server uses the first graph id on your account)
  • REFLECT_API_BASE_URL (optional; defaults to https://reflect.app/api)

OAuth helper:

  • REFLECT_CLIENT_ID (required)
  • REFLECT_CLIENT_SECRET (optional)
  • REFLECT_OAUTH_REDIRECT_URI (optional; defaults to http://127.0.0.1:8787/callback)

OAuth helper (optional)

If you don’t have an access token yet, run the OAuth PKCE helper:

REFLECT_CLIENT_ID="..." REFLECT_CLIENT_SECRET="..." npx -y reflect-mcp-connector@latest auth login

This prints an authorization URL, starts a localhost callback server, and prints a REFLECT_ACCESS_TOKEN you can paste into your MCP client.

Development (from source)

If you want to run from this GitHub repo (development/contributing), you can use a .env file (this repo ignores .env*):

npm install
npm run build

cp .env.example .env
npm run dev

Publishing a new version

This repo publishes to npm via GitHub Actions on version tags (v*). Prereq: set the NPM_TOKEN GitHub Actions secret with an npm token that can publish reflect-mcp-connector.

# bump version + create git tag (vX.Y.Z)
npm version patch   # or minor / major

# push commit + tag to trigger release workflow
git push --follow-tags

Security

  • Never commit tokens or OAuth secrets.
  • Prefer setting env vars in your MCP client config (avoid relying on working directories / .env loading).