Skip to content
VS Code

Project Gutenberg MCP for VS Code

io.github.bobbyhouse/project-gutenberg-mcp

Read Project Gutenberg books via MCP. Search, fetch metadata, and retrieve text in passages.

client:VS Code transport:stdio runtime:oci

Install Project Gutenberg MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "gutenberg-base-url",
      "description": "GUTENBERG_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gutenberg-tools",
      "description": "GUTENBERG_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gutenberg-book-id",
      "description": "GUTENBERG_BOOK_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gutenberg-chunk-size",
      "description": "GUTENBERG_CHUNK_SIZE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gutenberg-language",
      "description": "GUTENBERG_LANGUAGE",
      "password": true
    }
  ],
  "servers": {
    "project-gutenberg-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "roberthouse224/project-gutenberg-mcp:1.2.0"
      ],
      "env": {
        "GUTENBERG_BASE_URL": "${input:gutenberg-base-url}",
        "GUTENBERG_TOOLS": "${input:gutenberg-tools}",
        "GUTENBERG_BOOK_ID": "${input:gutenberg-book-id}",
        "GUTENBERG_CHUNK_SIZE": "${input:gutenberg-chunk-size}",
        "GUTENBERG_LANGUAGE": "${input:gutenberg-language}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Project Gutenberg MCP in other clients