Skip to main content

gknowledge-mcp

An MCP server for gknowledge wikis. Claude Code, Codex, Cursor and any other Model Context Protocol client can search, read and grow a linked Markdown wiki that an LLM keeps up to date, following Karpathy's LLM Wiki pattern.

Sources are compiled into the wiki once. Agents then read the wiki instead of re-reading raw documents on every question.

  • Plain files. Markdown with [[wikilinks]] and YAML frontmatter, an index.md catalogue and an append-only log.md. The folder opens in Obsidian or any editor.
  • Cited and incremental. Each new source updates only the pages it touches. Every page records its sources, and answers cite pages.
  • Offline by default. A built-in heuristic engine ingests and answers with no model and no API key. For better synthesis, set provider, base_url and model in the project's settings/settings.json (or from the desktop app) to use Ollama or any OpenAI-compatible endpoint.
  • No dependencies. Standard library only; pip install "gknowledge-mcp[pdf]" adds PDF import.

Install and register

claude mcp add gknowledge -- uvx gknowledge-mcp --init ~/Knowledge/my-project    # Claude Code
codex mcp add gknowledge -- uvx gknowledge-mcp --init ~/Knowledge/my-project     # Codex CLI

For Cursor or other clients:

{ "mcpServers": { "gknowledge": { "command": "uvx", "args": ["gknowledge-mcp", "--init", "/home/you/Knowledge/my-project"] } } }

--init creates the project folder the first time. Without it, the server only opens an existing project. You can also pipx install gknowledge-mcp and use gknowledge-mcp as the command.

Tools

Tool What the agent can do
search_wiki find pages by keyword
read_page read a page with its sources and backlinks
list_pages list pages by type
ask get a cited answer, optionally saved back into the wiki
add_source import and ingest a file
recent_activity see what changed recently

The desktop app

This package is the headless part of gknowledge. The full app is a native GNOME application (GTK 4 and Libadwaita) with sources, wiki, assistant and a review queue in one window, and it opens the same project folders. Install it from the signed APT repository or Flatpak.

MIT licensed. Issues and contributions: github.com/openapi/gknowledge.

Metadata

Release files for gknowledge-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gknowledge-mcp 0.3.0
File Size Uploaded Provenance Actions
gknowledge_mcp-0.3.0.tar.gz 40.3 kB With provenance Details for gknowledge_mcp-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gknowledge-mcp 0.3.0
File Interpreter ABI Platform Actions
gknowledge_mcp-0.3.0-py3-none-any.whl Python 3 none any Details for gknowledge_mcp-0.3.0-py3-none-any.whl

Total release size: 87.0 kB

Release files / gknowledge_mcp-0.3.0.tar.gz

Download URL gknowledge_mcp-0.3.0.tar.gz
Size 40.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b81e9fcc5612ca5129354637fad9f1ca72c5928820bea053a7f3d408ecd187ca
BLAKE2b-256 checksum
How to use checksums
ebfbae1fd9ead3b65a089a5adef9b93b80c682ec891a98c98eab95b9e1b6fa2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / gknowledge_mcp-0.3.0-py3-none-any.whl

Download URL gknowledge_mcp-0.3.0-py3-none-any.whl
Size 46.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ad72c4de7ca16e9f260b92f026821c84212cc6ac81b213ba5ea47be13318e09
BLAKE2b-256 checksum
How to use checksums
c0d600eb43023f8d2bd1539cce4e4488320154751b27f80cc114c38cb09caead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for gknowledge-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gknowledge_mcp-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page