Julia Documentation

MCP server for efficiently retrieving Julia docstrings and source code
  • javascript

13

GitHub Stars

javascript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "jonathanfischer97-juliadoc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@jonathanfischer97/server-juliadoc"
      ],
      "env": {
        "JULIA_PROJECT": "YOUR_JULIA_PROJECT_PATH"
      }
    }
  }
}

You run an MCP server that provides Julia documentation and source code context to Claude Desktop. It caches results, handles Julia-specific errors gracefully, and exposes two tools to fetch documentation and source code for Julia objects.

How to use

You connect a client to this MCP server to retrieve Julia documentation and source code. Use the two available tools to fetch information as you work with Julia packages, modules, types, functions, and methods. The server handles caching for faster responses and ensures Julia-specific errors are reported clearly so you can diagnose issues quickly.

How to install

Prerequisites you need before starting:

  • Node.js 16 or higher is required to run the MCP server.

  • Julia 1.9 or higher must be installed and accessible in your PATH.

To set up and run the server locally, follow these steps:

Additional configuration and usage notes

Configure the MCP server in your Claude Desktop environment to enable communication with Julia. The server runs as a stdio process started via a command like npx and exposes two tools for interaction.

{
  "mcpServers": {
    "juliadoc": {
      "command": "npx",
      "args": [
        "-y",
        "@jonathanfischer97/server-juliadoc"
      ],
      "env": {
        "JULIA_PROJECT": "/path/to/your/julia/project"
      }
    }
  }
}

Start and run flow

When you start the MCP server, the environment variable JULIA_PROJECT can customize the Julia environment used by the server. If you omit JULIA_PROJECT, the server will use the default global Julia environment.

Environment and tools

The MCP server provides two primary tools to interact with Julia data:

Error handling and TTL

The server includes built-in caching with a 5-minute TTL and robust handling of Julia-specific errors to improve reliability during development and debugging.

Available tools

get-doc

Fetches Julia documentation for a package, module, type, function, or method by specifying the object path (e.g., 'Base.sort', 'AbstractArray').

get-source

Fetches Julia source code for a function, type, or method by specifying the object path (e.g., 'Base.sort', 'AbstractArray').

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational