Google PageRank for AI agents. 25,000+ tools indexed.

Best MCP Servers for Code Generation in 2026

507 tools indexed · avg score 88.4 · sorted by AgentRank score

The AgentRank index tracks 507 code generation tools. The top-ranked entry is knowsuchagency/mcp2cli at 93.8 points. Across the 10 shown here, the average AgentRank score is 88.4, and 10 had a commit in the last 30 days. The most common primary language is TypeScript.

Code generation tools and MCP servers give AI agents specialized capabilities for writing, transforming, and understanding code. These go beyond basic autocomplete — providing full function generation, test scaffolding, documentation writing, refactoring suggestions, and multi-file code synthesis.

In the agent ecosystem, code generation tools often act as subagents within larger workflows. A higher-level orchestrator might delegate "write a unit test for this function" to a specialized code generation tool, then pass the result to a deployment tool. This composability is what makes agent frameworks powerful.

When comparing code generation tools, look at language support breadth, context window handling (can it work with large files?), and whether it integrates with your existing development environment. Tools that also handle linting and formatting post-generation save significant iteration time.

Top 10 Code Generation MCP Servers

  1. #1
    knowsuchagency/mcp2cli

    Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen

    93.8
    Ranks here on 2.4k GitHub stars and an active commit 8 days ago, plus 96% of issues closed.
    Freshness
    25.2
    Issue health
    24.5
    Downloads
    13.1
    Stars
    12.8
    Contributors
    10.3
    ★ 2.4k commit 8d ago Python
  2. #2
    codexu/note-gen

    Capture first. Organize later. A local-first Markdown app that turns scattered records into clear notes with AI.

    93.3
    Ranks here on 13k GitHub stars and an active commit 9 days ago, plus 90% of issues closed.
    Freshness
    30.1
    Issue health
    27.7
    Stars
    15.4
    Contributors
    12.3
    Description
    4.3
    ★ 13k commit 8d ago TypeScript
  3. #3
    ZaxbyHub/opencode-swarm

    Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review.

    92.8
    Ranks here on 500 GitHub stars and a commit within the last week, plus 88% of issues closed.
    Freshness
    30.7
    Issue health
    26.9
    Stars
    13.8
    Contributors
    12.3
    License
    4.6
    ★ 500 commit 7d ago TypeScript
  4. #4
    getkern/kern

    Rootless container runtime with no daemon. Runs agent tool calls and LLM-generated code in kernel-enforced containers.

    89.6
    Ranks here on 437 GitHub stars and a commit within the last week, plus 100% of issues closed.
    Issue health
    30.8
    Freshness
    30.7
    Stars
    13.5
    Contributors
    5.6
    License
    4.6
    ★ 437 commit 7d ago Rust
  5. #5
    slothflowlabs/duckle

    Open-source ETL/ELT you deploy on your own servers or cloud. Built on DuckDB: no-code/low-code visual pipelines or SQL, 385 components, dbt, CDC, data quality, reverse ETL, lineage, MCP for AI agen...

    88.8
    Ranks here on 1.5k GitHub stars and an active commit 8 days ago.
    Freshness
    30.4
    Issue health
    21.3
    Stars
    15.4
    Contributors
    10.7
    Description
    6.2
    ★ 1.5k commit 8d ago Rust
  6. #6
    DemoMacro/office-open

    Create Word, Excel, and PowerPoint files (.docx, .xlsx, .pptx) from plain JSON or fully typed APIs — generate, parse, and patch. Built for AI agents, LLM tool-calling, and hand-written code alike;...

    86.5
    Ranks here on a commit within the last week and 80% of issues closed.
    Freshness
    30.6
    Issue health
    24.6
    Contributors
    12.3
    Stars
    8.0
    Description
    6.2
    ★ 36 commit 7d ago TypeScript
  7. #7
    Dicklesworthstone/dwarf_fortress_mcp

    A semantic, transactional, replayable MCP control plane that lets autonomous AI agents operate Dwarf Fortress as a long-lived civilization. Safe-Rust phase-0B scaffold: MVCC world state, witnessed...

    85.9
    Ranks here on a commit within the last week and 100% of issues closed.
    Issue health
    30.8
    Freshness
    30.7
    Stars
    7.1
    Contributors
    6.5
    Description
    6.2
    ★ 23 commit 7d ago Rust
  8. #8
    feenlace/mcp-1c

    MCP server for 1С:Enterprise — AI assistant sees your configuration and generates accurate BSL code. One binary, zero dependencies, 11 tools.

    85.2
    Ranks here on 242 GitHub stars and an active commit 18 days ago, plus 92% of issues closed.
    Issue health
    28.2
    Freshness
    26.7
    Stars
    12.2
    Contributors
    6.5
    License
    4.6
    ★ 242 commit 18d ago Go
  9. #9
    Syh1906/openai-compatible-imagegen

    Standalone Skill and Codex Plugin for OpenAI-compatible image generation, editing, batch workflows, QA, and focused canvas editing.

    84.5
    Ranks here on an active commit 15 days ago and 100% of issues closed.
    Issue health
    30.8
    Freshness
    27.7
    Stars
    9.0
    Contributors
    5.6
    License
    4.6
    ★ 55 commit 15d ago JavaScript
  10. #10
    guinacio/claude-image-gen

    AI-powered image generation using Google Gemini or OpenAI (gpt-image-2), integrated with Claude Code via Skills or Claude.ai via MCP (Model Context Protocol).

    84.1
    Ranks here on an active commit 10 days ago and 86% of issues closed.
    Freshness
    29.8
    Issue health
    26.4
    Stars
    9.6
    Contributors
    6.5
    Description
    6.2
    ★ 75 commit 9d ago JavaScript

More Code Generation MCP Servers

# Tool Score Stars Last Commit Language
11 Nagarjuna2997/ios-agent-skill 83.0 37 9d ago HTML
12 cnoe-io/openapi-mcp-codegen 81.9 42 16d ago Python
13 roomi-fields/notebooklm-mcp 81.4 193 1mo ago TypeScript
14 feiskyer/codex-settings 77.8 246 22d ago Python
15 Marve10s/Better-Fullstack 76.9 757 7d ago TypeScript
16 sergeeey/Claude-cod-top-2026 76.9 9 11d ago Python
17 agentailor/create-mcp-server 76.2 14 15d ago TypeScript
18 ruvnet/metaharness 76.0 699 7d ago TypeScript
19 JRS1986/CodingScaffold 75.2 10 1mo ago Python
20 AceDataCloud/Skills 74.9 17 7d ago Python
21 the-momentum/python-ai-kit 74.8 63 11d ago Python
22 softwaremill/chimp 73.3 103 8d ago Scala
23 Houseofmvps/codesight 72.7 1.4k 2mo ago TypeScript
24 reticlehq/reticle 71.3 1.2k 7d ago TypeScript
25 paiml/pforge 70.8 3 8d ago HTML
26 kdcube/kdcube 69.4 25 7d ago Python
27 repowise-dev/repowise 69.2 7.6k 7d ago Python
28 EnzymeAD/ReactantNitro.jl 68.8 15 11d ago Julia
29 agent-sandbox/agent-sandbox 68.6 220 1mo ago Go
30 taskade/mcp 67.9 167 11d ago TypeScript
31 seite-sh/seite 66.5 23 10d ago Rust
32 AnCarsenat/minecode-mcp 66.1 15 1mo ago Python
33 AtomicBlom/RoseMCP 65.8 4 7d ago C#
34 psyb0t/aigate 64.2 16 7d ago Shell
35 linggen/linggen-memory 63.8 109 14d ago Rust
36 logi-cmd/agent-guardrails 61.9 28 2mo ago JavaScript
37 joeseesun/qiaomu-codex-imagegen 61.8 131 16d ago JavaScript
38 gal-a/qikly 60.3 16 9d ago Python
39 robotlearning123/gpt2agent 60.3 51 13d ago Python
40 Corbell-AI/Corbell 60.1 629 4mo ago Python
41 Mallikarjun-Roddannavar/ai-testcase-generator-mcp 59.9 16 1mo ago TypeScript
42 xuliang2024/cutcli-cookbook 59.5 198 4mo ago JavaScript
43 bolongpa/repopedia 58.8 15 16d ago Python
44 toniantunovi/lucidshark 58.1 19 10d ago Python
45 alphaparkinc/genpark-agentic-prompt-compression-token-sieve-skill 58.0 7 14d ago Python
46 Alpha-Park/genpark-agentic-prompt-compression-token-sieve-skill 58.0 7 14d ago Python
47 ph1lb4/imagegen-mac 57.3 11 19d ago Swift
48 agentfront/enclave 57.2 6 16d ago TypeScript
49 magichourhq/skills 57.1 10 7d ago Python
50 DreamC0der-AI/ddag 57.0 4 12d ago TypeScript