Codegraph vs MediaWiki MCP Server

A side-by-side look at the Codegraph and MediaWiki MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Codegraph logoCodegraphKnowledge & Memory · Local subprocess (stdio)Semantic code graph with 34 tools: callers, impact, complexity, AI context, memory. 38 languages.63GoodAuth: not declaredMediaWiki MCP Server logoMediaWiki MCP ServerKnowledge & Memory · Local subprocess (stdio)MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools68GreatAuth: not declared

Verdict: choose Codegraph for knowledge & memory work as a local process; choose MediaWiki MCP Server for knowledge & memory as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Codegraph logoChoose Codegraph when

  • You need dedicated capabilities in the Knowledge & Memory domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like get_ai_context, get_edit_context, get_curated_context.
Explore Codegraph

MediaWiki MCP Server logoChoose MediaWiki MCP Server when

  • You need dedicated capabilities in the Knowledge & Memory domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: CONFIG, MCP_TRANSPORT, MCP_LOG_LEVEL.
  • You want tools like get-page, get-pages, get-page-history.
Explore MediaWiki MCP Server

Feature & specification comparison

Rows where the two servers differ are marked.

SpecCodegraph logoCodegraphMediaWiki MCP Server logoMediaWiki MCP Server
CategoryKnowledge & MemoryKnowledge & Memory
Quality signal63/100 · Good68/100 · Great
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredFree
Required env varsNone listedCONFIGMCP_TRANSPORTMCP_LOG_LEVEL
Verified ownerCommunity listingCommunity listing
GitHub stars132138
Directory activity 1 views 0 installs 0 upvotes 3 views 0 installs 0 upvotes
Tools5630

Tools & capabilities

Codegraph tools 56

  • get_ai_contextPrimary context tool.** Intent-aware (explain/modify/debug/test) with token budgeting. Returns source, related symbols, imports, siblings, debug hints.
  • get_edit_contextEverything needed before editing: source + callers + tests + memories + git history
  • get_curated_contextCross-codebase context for a natural language query ("how does auth work?")
  • analyze_impactBlast radius prediction — what breaks if you modify, delete, or rename
  • analyze_complexityCyclomatic complexity with breakdown (branches, loops, nesting, exceptions, early returns)
  • find_circular_depsDetect circular import/dependency chains across files
  • find_hot_pathsMost-called functions ranked by transitive caller count
  • find_dead_importsFind unused imports — modules imported but never referenced
  • get_module_summaryHigh-level summary of a directory: file count, functions, language breakdown, top complex functions
  • search_by_patternRegex search across function bodies, signatures, names, and docstrings
  • search_by_errorFind functions that throw, catch, or handle specific error types
  • symbol_searchFind symbols by name or natural language (hybrid BM25 + semantic search)
  • +44 more on the listing page

MediaWiki MCP Server tools 30

  • get-pageReturns a single wiki page (wikitext source, rendered HTML, or metadata only). If the title does not exist, an error is returned. Use metadata=true to retrieve the revision ID (for edit-conflict detection), page size, and section outline. Set content="none" to fetch only metadata. Large content is truncated at 75000 bytes by default, with a marker reporting how much of it was returned and which sections a narrower read can target; a follow-up call with section=N fetches a specific section. For more than one page at a time, use get-pages. For a specific historical revision, use get-revision.
  • get-pagesReturns multiple wiki pages in one call (wikitext source or metadata only). Suited to reading a cluster of related pages, diffing a page family, or syncing pages to local storage. Accepts up to 50 titles; missing pages are reported inline (not as errors). One byte budget covers the whole response, 75000 bytes by default: pages come back whole in the order asked for until it is spent, and the pages past that point are named rather than returned, so a follow-up call for those names fetches the rest. Only a first page larger than the budget on its own is truncated, with a marker reporting how much of it was returned and which sections a narrower read can target. For a single page or HTML output, use get-page. requestedTitle is included only when it differs from the resolved title.
  • get-page-historyReturns revision metadata (revision ID, timestamp, user, comment, size, minor flag) for a wiki page, in segments of 20 revisions, newest first. Paginate with olderThan or newerThan (mutually exclusive). If the title does not exist, an error is returned. Boolean flags appear only when true.
  • get-recent-changesReturns recent change events, newest first, in segments of 50. Defaults to edits and page creations; set types to include log actions, categorizations, or external changes. Each row includes title, timestamp, user, revision IDs, size change, flags (minor/bot/new/anon), tags, and change type. Filter by timestamp window, namespaces, user, change tag, or hide flags (hideBots/hideMinor/hideAnon/hideRedirects/hidePatrolled). Pass showPatrolStatus to include per-row patrol state (requires patrol rights). Paginate with the continue token from the truncation marker. For a single page's revision history, use get-page-history. Boolean flags appear only when true; rows report the size delta, not raw old/new lengths.
  • search-pageSearches wiki page titles and page content (full-text) for the provided terms. Returns matching pages with a snippet, size, timestamp, and the namespace the match came from. Covers the namespaces the wiki counts as content unless namespaces names the namespace IDs to search; get-site-info lists a wiki's namespaces and flags which of them hold content. Accepts up to 100 matches per call (default 10); additional matches beyond the cap are flagged in the response — narrow the query to surface more. For title-prefix lookup (e.g. autocomplete), use search-page-by-prefix.
  • search-page-by-prefixReturns wiki page titles beginning with a given prefix (suited to autocomplete and title lookup). Only titles are returned — no snippets, sizes, or IDs. Accepts up to 500 titles per call (default 10); additional matches beyond the cap are flagged in the response. For full-text content search, use search-page.
  • parse-wikitextRenders wikitext through the live wiki without saving. Returns HTML, parse warnings, categories, wikilinks, templates, external URLs, and display title. Suited to dry-running a planned edit before create-page or update-page, or previewing standalone wikitext (template combinations, sanitizer checks) with no target page. HTML output is truncated at 75000 bytes by default, with a marker reporting how much of it was returned; a smaller wikitext fragment in a follow-up call returns the rest.
  • compare-pagesReturns the changes between two versions of a wiki page as a compact text diff. Each side accepts a revision ID, page title (latest revision), or supplied wikitext; text-vs-text is rejected. Only the changes are returned over the wire. For the full text of both sides, fetch with get-page instead. If a title or revision ID does not exist, an error is returned. Set includeDiff=false for a cheap change-detection response that skips diff rendering and returns just the change flag, revision metadata, and size delta. Diff output is truncated at 75000 bytes by default, with a marker reporting how much of it was returned; a narrower revision range or includeDiff=false avoids truncation.
  • get-fileReturns metadata for a file (uploader, timestamp, size, MIME type) along with download URLs for the thumbnail, preview, and original. The File: prefix is added automatically if omitted.
  • get-file-dataFetches a wiki file server-side and returns the image inline as a content block, for clients that cannot reach the wiki host (sandboxed or network-restricted) and need the image sent to the model for visual analysis. Returns a scaled rendition sized by width. Files MediaWiki can rasterize (images, SVG, PDF, DjVu) come back as an image; other types (audio, video, arbitrary binaries) error — for those, and for metadata or a download URL, use get-file.
  • get-revisionReturns a specific historical revision of a wiki page by revision ID (wikitext source, rendered HTML, or metadata only). If the revision ID does not exist, an error is returned. Content is truncated at 75000 bytes by default; a past revision has no narrower read, so for a large one use compare-pages to see what changed. For the latest revision plus metadata, use get-page with metadata=true.
  • get-site-infoReturns key facts about the targeted wiki from its MediaWiki siteinfo: general settings (sitename, MediaWiki version, content language, page-title case-sensitivity, live read-only state, and maxarticlesize in bytes), the namespace map with localized names and aliases, the list of installed extension names, and the content license. Set includeStatistics to also return page, article, edit, image, user, active-user, and admin counts.
  • +18 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Codegraph

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "codegraph": {
      "command": "npx",
      "args": [
        "-y",
        "@vscode/vsce"
      ]
    }
  }
}

MediaWiki MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "mediawiki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@professional-wiki/mediawiki-mcp-server@latest"
      ],
      "env": {
        "CONFIG": "YOUR_CONFIG_HERE",
        "MCP_TRANSPORT": "YOUR_MCP_TRANSPORT_HERE",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL_HERE"
      }
    }
  }
}

Frequently asked questions

Codegraph is categorized under Knowledge & Memory and uses a local stdio subprocess. MediaWiki MCP Server belongs to Knowledge & Memory and uses a local stdio subprocess. Pick Codegraph for knowledge & memory work and MediaWiki MCP Server for knowledge & memory.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Codegraph has no declared pricing — check the project's own site. MediaWiki MCP Server is listed as free. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add codegraph and mediawiki-mcp-server as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Codegraph has a quality signal of 63/100 (Good) with 1 views, 0 installs and 132 GitHub stars. MediaWiki MCP Server has 68/100 (Great) with 3 views, 0 installs and 138 GitHub stars.