jsr-mcp

MCP.Pizza Chef: sigmaSd

jsr-mcp is an MCP server that exposes JavaScript Registry (JSR) module documentation through a simple, standardized interface. It leverages Deno's document API to fetch and serve detailed module docs on demand, enabling clients to retrieve plain text documentation for any JSR module. This server simplifies integration of JSR docs into AI workflows, developer tools, and documentation platforms by providing a single tool, jsr_docs, for querying module information efficiently.

Use This MCP server To

Retrieve documentation for specific JSR modules on demand Integrate JSR module docs into AI-powered coding assistants Enable real-time access to JavaScript module documentation in IDEs Fetch plain text module documentation for offline viewing or processing Support automated documentation lookup in developer chatbots Provide module doc access for code review and learning tools

README

JSR-MCP Server

A Model Context Protocol (MCP) server that provides access to JSR (JavaScript Registry) module documentation.

Exmaple

Here is an example chat with Zed using this mcp Server:

image image

Overview

This server provides an MCP interface for retrieving documentation for JSR modules. It uses Deno's document API to fetch and serve module documentation on request.

Features

  • Simple MCP-based interface for JSR module documentation
  • Exposes a single tool: jsr_docs for retrieving module documentation

Tools

jsr_docs

Allows clients to request documentation for any JSR module.

Parameters:

  • module (string): The name of the JSR module to document (e.g., @std/path)

Returns:

  • Documentation for the specified module in plain text format

Usage

# Run the server with all required permissions
deno run -A server.ts

License

MIT

jsr-mcp FAQ

How do I request documentation for a specific JSR module?
Use the jsr_docs tool with the module name parameter, e.g., '@std/path', to get its documentation in plain text.
What format is the module documentation returned in?
Documentation is returned as plain text for easy reading and processing.
Can this server be integrated with multiple LLM providers?
Yes, it is provider-agnostic and works with OpenAI, Claude, Gemini, and others.
Is there a limit to the number of modules I can query?
There is no inherent limit; you can request documentation for any available JSR module.
How does jsr-mcp fetch the documentation?
It uses Deno's document API to retrieve up-to-date module documentation dynamically.
Can I run this server locally?
Yes, you can run jsr-mcp locally to serve JSR documentation within your development environment.
Does jsr-mcp support documentation for custom or third-party JSR modules?
It supports any module available in the JSR registry accessible via Deno's document API.