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

@el-el-san/jules-mcp

v1.0.2

Published

Model Context Protocol server for the Jules API

Readme

jules-mcp

Model Context Protocol (MCP) server that exposes the Jules API to MCP-compatible clients.

Prerequisites

  • Node.js 18 or newer
  • A Jules API key generated from https://jules.google.com/settings#api

Setup

npm install

Running the server

Export your Jules API key (and optionally override the base URL) before starting the MCP server:

export JULES_API_KEY=your_api_key
# export JULES_API_URL=https://jules.googleapis.com/v1alpha/  # optional override
npm start

You can also run the published package (@el-el-san/jules-mcp) via npx. This is convenient when you have not cloned the repository locally.

JULES_API_KEY=your_api_key npx @el-el-san/jules-mcp

The process listens on stdio as required by the MCP specification. In Claude Code or any other MCP-compatible client, add an entry like the following to .mcp.json (replace /absolute/path/to/jules-mcp with your own path):

{
  "mcpServers": {
    "jules": {
      "command": "npm",
      "args": [
        "--prefix",
        "/absolute/path/to/jules-mcp",
        "run",
        "start"
      ],
      "env": {
        "JULES_API_KEY": "${JULES_API_KEY}",
        "JULES_API_URL": "${JULES_API_URL:-https://jules.googleapis.com/v1alpha/}"
      },
      "cwd": "/absolute/path/to/jules-mcp"
    }
  }
}

The --prefix flag ensures npm resolves the correct package.json no matter where the MCP client starts the process. Matching the cwd keeps any additional tools that rely on relative paths aligned with the repository root.

To always run the latest published version without cloning the repository, configure your MCP client to invoke npx instead:

{
  "mcpServers": {
    "jules": {
      "command": "npx",
      "args": ["@el-el-san/jules-mcp"],
      "env": {
        "JULES_API_KEY": "${JULES_API_KEY}",
        "JULES_API_URL": "${JULES_API_URL:-https://jules.googleapis.com/v1alpha/}"
      }
    }
  }
}

Using with Claude Code

  1. In Claude Code, open Settings → Model Context Protocol and load the .mcp.json that points to this repository (a sample is included at the repository root).
  2. Once the connection succeeds, the jules server appears under /tools or in the Tools panel. Run /tools refresh if you do not see it immediately.
  3. The typical tool flow is:
    • list-sources to list GitHub repositories or other sources linked to your Jules account.
    • create-session to start a session with a source and a prompt.
    • list-sessions to enumerate existing sessions and retrieve their IDs.
    • approve-session-plan to approve pending plans for sessions that require it.
    • list-activities to monitor progress within a session.
    • send-session-message to send additional user messages.
  4. When you invoke a tool, Claude presents a JSON form. Fill in the required fields such as sessionId or prompt before submitting.

Each tool returns JSON text. Errors from the Jules API are forwarded verbatim, so check the error message for troubleshooting details.

Documentation resource

The server also exposes a static resource jules-doc://spec that returns a condensed Markdown reference of the Jules API (see docs/jules-api.md). You can request this resource from your MCP client to prime the model with API context.

Notes

  • The Jules API is currently in alpha and subject to change. Update docs/jules-api.md and the tool implementations as Google publishes changes.
  • Keep your JULES_API_KEY secret. Rotate the key from the Jules settings page if it is ever exposed.