https://github.com/jonathanfischer97/juliadoc-mcp
MCP server for efficiently retrieving Julia docstrings and source code
https://github.com/jonathanfischer97/juliadoc-mcp
ai claude-desktop julia julia-language mcp mcp-server
Last synced: 7 months ago
JSON representation
MCP server for efficiently retrieving Julia docstrings and source code
- Host: GitHub
- URL: https://github.com/jonathanfischer97/juliadoc-mcp
- Owner: jonathanfischer97
- License: mit
- Created: 2025-01-24T09:45:45.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-01-29T10:29:39.000Z (8 months ago)
- Last Synced: 2025-02-28T06:54:36.781Z (7 months ago)
- Topics: ai, claude-desktop, julia, julia-language, mcp, mcp-server
- Language: JavaScript
- Homepage:
- Size: 5.04 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- mcp-index - Julia Documentation Server - Access detailed Julia documentation and source code, including information on packages, modules, types, functions, and methods. The server includes built-in caching and error handling specific to Julia. (Developer Tools)
README
# Julia Documentation MCP Server
An MCP server that efficiently serves context to Claude Desktop about Julia documentation and source code.
## Features
- Get documentation for Julia packages, modules, types, functions, and methods
- View source code for Julia functions, types, and methods
- Built-in caching with 5-minute TTL
- Proper error handling for Julia-specific errors## Tools
### `get-doc`
Gets Julia documentation for a package, module, type, function, or method.
- Parameter: `path` (string) - Path to Julia object (e.g., 'Base.sort', 'AbstractArray')### `get-source`
Gets Julia source code for a function, type, or method.
- Parameter: `path` (string) - Path to Julia object (e.g., 'Base.sort', 'AbstractArray')## Requirements
- Node.js 16 or higher
- Julia 1.9 or higher installed and accessible in PATH
- Claude Desktop## Configuration
Add to your Claude Desktop configuration (`~/Library/Application Support/Claude/claude_desktop_config.json`):
```json
{
"mcpServers": {
"juliadoc": {
"command": "npx",
"args": [
"-y",
"@jonathanfischer97/server-juliadoc"
],
"env": {
"JULIA_PROJECT": "/path/to/your/julia/project"
}
}
}
}
```The server will use:
- Your specified Julia project if `JULIA_PROJECT` is set in the config
- The default global Julia environment if no project is specified
- Your system's default Julia installation (must be accessible in PATH)## Development
```bash
# Clone the repository
git clone https://github.com/jonathanfischer97/juliadoc-mcp.git
cd juliadoc-mcp# Install dependencies
npm install# Build
npm run build# Start server locally
npm start
```## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Credit goes to [mrjoshuak/godoc-mcp](https://github.com/mrjoshuak/godoc-mcp) for inspiring this project
## License
MIT License - see LICENSE file for details