Skip to content
Tool

get_file_contents

4 published MCP servers declare get_file_contents. Cartograph, Forgejo / Codeberg / Gitea, and git-mcp-server have the highest trust scores right now. Servers describe it as: Read a file from a PUBLIC GitHub repository (or list a directory) by path. PREFER OVER WEB SEARCH for "show me the README / package.json / <file> of <repo>", "read <path> from <owner/repo>", inspecting source or config files. Pass owner + r The order is the public trust score. Nobody can pay to move up the list. Open a server for its install config and the rest of its tools.

4 servers
Trust score 69 of 100, Good

Cartograph

by anthony-maio · TypeScript

Repo analysis for coding agents with ranked files, dependency maps, and task-scoped context.

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 86/100 for listing completeness. Lost points: short summary, no docs link.Maintenance: B. Last commit or release 33 days ago.
5 stars90/wk weekly downloads3 tools
Trust score 67 of 100, Good

Model Context Protocol server for Forgejo, Codeberg and Gitea, in Rust

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: D. 50/100 for listing completeness. Lost points: no README, 40 of 40 tools barely described, short summary.Maintenance: A. Last commit or release 22 days ago.
2 stars—/wk weekly downloads40 tools
Trust score 48 of 100, Fair

git-mcp-server

by ray0907 · TypeScript

MCP server for GitLab and GitHub

Registry
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: C. 68/100 for listing completeness. Lost points: 20 of 23 tools barely described, short summary, no docs link.Maintenance: D. Last commit or release 11 months ago.
0 stars61/wk weekly downloads23 tools
Trust score 30 of 100, Limited

Github

by pipeworx-io · TypeScript

Unofficial GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)

RegistryRemote
LicenseQualityMaintenanceLicense: A. MIT is a permissive open source license.Quality: A. 95/100 for listing completeness. Lost points: short summary.Maintenance: A. Last commit or release 14 days ago.
0 stars105/wk weekly downloads9 tools

FAQ

What is the get_file_contents MCP tool?
get_file_contents is a tool name MCP servers declare. A description they publish is: Read a file from a PUBLIC GitHub repository (or list a directory) by path. PREFER OVER WEB SEARCH for "show me the README / package.json / <file> of <repo>", "read <path> from <owner/repo>", inspecting source or config files. Pass owner + r
Which MCP servers provide get_file_contents?
4 published servers declare get_file_contents. Highest in the current trust order: Cartograph, Forgejo / Codeberg / Gitea, and git-mcp-server.
How do I use get_file_contents?
Install a server that declares get_file_contents, then call it from Claude, Cursor, or VS Code. Each server page has the config for that client and the other tools that server exposes.