GitHub Knowledge Base MCP

by stefanbschneider

Not rated
GitHub

About

MCP server to connect to and use any public GitHub repo as knowledge base (markdown/notebook docs)

Details

Author
stefanbschneider
Categories
Productivity, Knowledge Base, Other

Setup

Install GitHub Knowledge Base MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/stefanbschneider/github-knowledge-base-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A simple MCP server built with FastMCP that lets you connect to any public GitHub repo as knowledge base. It has a few simple tools to find and read markdown and Jupyter notebook documents.

Blog post:https://stefanbschneider.github.io/blog/posts/fastmcp/

- knowledge_base_info
- list_documents
- read_document
- list_documents_with_metadata
- list_latest_documents
- search_documents

- document_file_count: total supported files
- document_type_counts: counts per extension (for example.md,.markdown,.ipynb)

list_documents_with_metadatais useful to retrieve latest blog posts by settingsort_by="last_modified_utc"anddescending=true.

{ "tool": "list_latest_documents", "arguments": { "limit": 5, "extension_filter": ".md" } }
[ { "path": "blog/2026-04-10-launch-post.md", "size_bytes": 3210, "last_modified_utc": "2026-04-10T14:11:52Z" } ]

SetKB_GITHUB_REPOto use a public GitHub repository as the knowledge base.

- supported formats:

- owner/repo
- https://github.com/owner/repo

export KB_GITHUB_REPO="microsoft/vscode" export KB_GITHUB_BRANCH="main" # optional python gh_kb_mcp_server.py

- only markdown cells are indexed/read for.ipynb
- notebook outputs are ignored
- invalid notebooks return clear validation errors for direct reads

All tools run only against the configured GitHub repository.

Via command palette, call "MCP: Add server..." or add/createmcp.jsonadding the following block to your"servers":

"GitHub Knowledge Base": { "type": "stdio", "command": "${workspaceFolder}/.venv/bin/fastmcp", "args": [ "run", "server.py", ], "env": { "KB_GITHUB_REPO": <public-github-repo> // eg: "stefanbschneider/blog" or "microsoft/vscode" } }

Connect with 10,000+ tools across HRIS, ATS, CRM, Accounting, Calendar, Meeting, Ticketing, and more categories.

Connect any AI assistant to Syncro: manage tickets, invoices, customers, assets, and more.

Multi-device file sync, dev-doc CRUD, task management, and session handoffs for AI agents - MCP + OpenAPI dual surface.

Decispher captures the decisions, conventions, and constraints from the conversations your team is already having in Slack, GitHub, GitLab, and Jira, then serves them back to every human and every agent that needs them. Automatically.

Hosted MCP server for Duvo — start runs, inspect approvals, and expose grocery/retail execution tools to compatible agents.

Create, edit, inspect, and publish collaborative HTML documents from AI agents.

Create presentations, docs, sheets and meeting notes from chat — with a hosted share link, an editor, and PPTX/PDF export.

An MCP server for interacting with Google Workspace services, including Drive, Docs, and Sheets.

Mcp para conectar no seu Mercado Livre e Shopee

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.