{"id":37228300,"url":"https://github.com/himkt/pathfinder","last_synced_at":"2026-01-18T06:47:01.092Z","repository":{"id":331821399,"uuid":"1131684637","full_name":"himkt/pathfinder","owner":"himkt","description":"📚 MCP client for jumping to definitions using LSP server for an arbitrary language","archived":false,"fork":false,"pushed_at":"2026-01-11T12:37:39.000Z","size":55,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T07:59:40.617Z","etag":null,"topics":["claude-code","lsp","mcp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-10T13:55:47.000Z","updated_at":"2026-01-11T23:59:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/himkt/pathfinder","commit_stats":null,"previous_names":["himkt/pathfinder"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/himkt/pathfinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpathfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpathfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpathfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpathfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himkt","download_url":"https://codeload.github.com/himkt/pathfinder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fpathfinder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","lsp","mcp"],"created_at":"2026-01-15T03:27:03.577Z","updated_at":"2026-01-17T02:53:08.659Z","avatar_url":"https://github.com/himkt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pathfinder MCP\n\nBridge MCP clients to LSP servers. Each pathfinder instance handles one LSP server.\n\n## Build\n\n```bash\ncargo build --release\n```\n\nBinary at `target/release/pathfinder`.\n\n## Usage\n\n```bash\n# Single extension\npathfinder -e py -s pyright-langserver -- --stdio\n\n# Multiple extensions\npathfinder -e py -e pyi -s uv run pyright-langserver -- --stdio\n\n# With workspace\npathfinder -e rs -s rust-analyzer -w /path/to/project\n```\n\n### Flags\n\n- `-e, --extension \u003cEXT\u003e` - File extension (no dots, can repeat)\n- `-s, --server \u003cCMD\u003e...` - LSP server command\n- `-w, --workspace \u003cPATH\u003e` - Project directory (default: current dir)\n\n## MCP Configuration\n\n### Single Language\n\n```json\n{\n  \"mcpServers\": {\n    \"pathfinder-python\": {\n      \"command\": \"/path/to/pathfinder\",\n      \"args\": [\"-e\", \"py\", \"-s\", \"pyright-langserver\", \"--\", \"--stdio\"]\n    }\n  }\n}\n```\n\n### Multiple Languages\n\nRun separate instances:\n\n```json\n{\n  \"mcpServers\": {\n    \"pathfinder-rust\": {\n      \"command\": \"/path/to/pathfinder\",\n      \"args\": [\"-e\", \"rs\", \"-s\", \"rust-analyzer\"]\n    },\n    \"pathfinder-ts\": {\n      \"command\": \"/path/to/pathfinder\",\n      \"args\": [\"-e\", \"ts\", \"-e\", \"tsx\", \"-s\", \"typescript-language-server\", \"--\", \"--stdio\"]\n    }\n  }\n}\n```\n\n## Tools\n\n**definition** - Jump to definition via LSP `textDocument/definition`\n\nInput: `{ uri: string, line: number, character: number }`\n\nReturns: `[{ uri, range }]`\n\nAutomatically retries 3x with 150ms delay when LSP returns empty (handles indexing delays).\n\n## Troubleshooting\n\n- `LOG_LEVEL=debug` to see LSP traffic\n- LSP timeout: 15 seconds\n- Check LSP stderr for errors\n- Debug logs show retry attempts\n\n## Examples\n\n```bash\n# Python with uv\npathfinder -e py -e pyi -s uv run pyright-langserver -- --stdio\n\n# TypeScript\npathfinder -e ts -e tsx -s typescript-language-server -- --stdio\n\n# Rust\npathfinder -e rs -s rust-analyzer\n\n# Go\npathfinder -e go -s gopls\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fpathfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimkt%2Fpathfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fpathfinder/lists"}