Skip to main content

MCP server providing Griptape Framework & Nodes documentation to LLMs

Project description

griptape-mcp

Stop letting your AI guess at Griptape APIs.
Give it the actual docs.

PyPI Python 3.10+ MIT License
MCP Compatible Docker GitHub Stars


Your AI keeps hallucinating Griptape method names. You ask it to build an Agent, it writes confident code that doesn't exist. You paste the error. It apologizes and writes different wrong code.

griptape-mcp fixes this. It ships the entire Griptape documentation โ€” 84 framework pages, 125 nodes, 714 real code examples โ€” as a pre-built SQLite database your AI can actually search. No hallucinations. No outdated training data. No API keys.

Install it once. Your AI figures out the rest.

What's inside the box

๐Ÿ“š 84 framework pages Agents, Pipelines, Workflows, Tools, Drivers, Engines, RAG, and more
๐Ÿงฉ 125 visual nodes Every node in Griptape Nodes across 17 categories
๐Ÿ” Full-text search SQLite FTS5 โ€” fast, typo-tolerant, ranked by relevance
๐Ÿ’ป 714 code examples Real, working snippets pulled straight from the official docs
๐Ÿ“ฆ Ships ready to go Pre-built database included. No network calls, no API keys, no scraping at query time.

What it looks like

Once connected, your AI uses the tools automatically. No prompting required.

You: How do I add conversation memory to an Agent?

Claude: (calls search_docs("conversation memory")) Found it. Here's the pattern:

from griptape.structures import Agent
from griptape.memory.structure import ConversationMemory

agent = Agent(conversation_memory=ConversationMemory())

No guessing. No hallucinated imports. Just the actual docs.


Get running in 60 seconds

Step 1 โ€” Install

pip install griptape-mcp

Step 2 โ€” Connect your client

Claude Desktop

Add to your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "griptape-docs": {
      "command": "griptape-mcp"
    }
  }
}

Restart Claude Desktop. Look for the ๐Ÿ”จ icon โ€” that means tools are loaded.

Claude Code (one command)
claude mcp add griptape-docs griptape-mcp

Done. That's genuinely it.

Or add manually to your MCP settings:

{
  "mcpServers": {
    "griptape-docs": {
      "command": "griptape-mcp"
    }
  }
}
Docker
docker build -t griptape-mcp .
{
  "mcpServers": {
    "griptape-docs": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "griptape-mcp"]
    }
  }
}

Step 3 โ€” Ask anything

"How do I create a Griptape Agent with custom tools?"

"What's the difference between a Pipeline and a Workflow?"

"Show me a RAG pipeline example in Griptape"

"What image processing nodes does Griptape Nodes have?"

"Find me code examples for conversation memory"


What your AI can look up

Six tools your AI assistant can call, all read-only and fast:

Tool What it does
search_docs Full-text search across all Griptape documentation. Filter by "framework", "nodes", or "all".
get_page Pull the complete content of any doc page by URL or title. Includes sections and code blocks.
search_griptape_nodes Find nodes by name, description, or category. Returns descriptions and doc links.
get_node_details Deep dive on a single node โ€” full description, config, and code examples.
list_categories Browse what's available: 8 framework sections + 17 node categories with counts.
get_code_examples Search for working code snippets by topic. Great for "show me how to..." questions.

How it works

The architecture is intentionally boring โ€” a SQLite file shipped inside the pip package, opened read-only at query time. No network calls happen during conversations.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    At build time                         โ”‚
โ”‚                                                          โ”‚
โ”‚  docs.griptape.ai โ”€โ”€โ”                                   โ”‚
โ”‚                      โ”œโ”€โ”€โ–ถ scraper โ”€โ”€โ–ถ SQLite + FTS5      โ”‚
โ”‚  GitHub markdown โ”€โ”€โ”€โ”€โ”˜              (shipped in package) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    At query time                         โ”‚
โ”‚                                                          โ”‚
โ”‚  Claude / AI โ—€โ”€โ”€stdioโ”€โ”€โ–ถ griptape-mcp โ—€โ”€โ”€โ–ถ SQLite (ro)  โ”‚
โ”‚                                                          โ”‚
โ”‚  No network calls. No API keys. Just a local subprocess. โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  1. Scrapers crawl docs.griptape.ai (via sitemap) and Griptape Nodes (via GitHub markdown)
  2. Content gets parsed into structured pieces: titles, headings, code blocks, node metadata
  3. Everything lands in a SQLite database with FTS5 full-text search indexes
  4. That database ships inside the pip package โ€” nothing to fetch at runtime
  5. The MCP server opens it read-only and exposes 6 search/lookup tools over stdio
  6. A nightly GitHub Actions job re-scrapes and rebuilds to stay current

Node coverage

125 nodes across 17 categories:

Category Count Category Count
Image 32 Lists 17
Video 18 Text 12
Config 9 Number 7
Tools 7 JSON 5
Dict 4 Audio 3
Execution 3 Rules 2
Adv. Media Library 2 Agents 1
Convert 1 Utils 1
3D 1

Development

Setup

git clone https://github.com/KianSalem/griptape-mcp.git
cd griptape-mcp
pip install -e ".[dev]"

Rebuild the docs database

cd scripts
python build_db.py

This scrapes both documentation sources and writes to src/griptape_mcp/data/griptape.db. If the website rate-limits you, the build script automatically falls back to scraping GitHub markdown.

Run against a local database

GRIPTAPE_MCP_DB_PATH=./griptape.db griptape-mcp

Validate

python scripts/validate_db.py src/griptape_mcp/data/griptape.db
  [PASS] Framework pages > 10 - got 84
  [PASS] Nodes pages > 10 - got 164
  [PASS] Nodes extracted > 20 - got 125
  [PASS] Sections > 50 - got 2263
  [PASS] Code examples > 10 - got 714
  [PASS] FTS search works - 'agent' matched 79 pages
  [PASS] Multiple node categories - got 17
  ALL CHECKS PASSED

Project structure

griptape-mcp/
โ”œโ”€โ”€ src/griptape_mcp/
โ”‚   โ”œโ”€โ”€ server.py               โ† MCP tools (FastMCP)
โ”‚   โ”œโ”€โ”€ db.py                   โ† Schema, queries, FTS
โ”‚   โ”œโ”€โ”€ __main__.py             โ† Entry point
โ”‚   โ””โ”€โ”€ data/griptape.db        โ† Pre-built database (14 MB)
โ”œโ”€โ”€ scripts/
โ”‚   โ”œโ”€โ”€ build_db.py             โ† Orchestrates full rebuild
โ”‚   โ”œโ”€โ”€ scrape_framework.py     โ† Crawls docs.griptape.ai
โ”‚   โ”œโ”€โ”€ scrape_nodes.py         โ† Crawls docs.griptapenodes.com
โ”‚   โ”œโ”€โ”€ scrape_nodes_github.py  โ† GitHub fallback scraper
โ”‚   โ””โ”€โ”€ validate_db.py          โ† Post-build validation
โ”œโ”€โ”€ .github/workflows/
โ”‚   โ”œโ”€โ”€ rebuild-db.yml          โ† Nightly CI rebuild
โ”‚   โ””โ”€โ”€ publish.yml             โ† PyPI publish on release
โ”œโ”€โ”€ Dockerfile
โ””โ”€โ”€ pyproject.toml

Contributing

See CONTRIBUTING.md.


License

MIT โ€” do whatever you want with it.


Built because reading docs is great, but having your AI read them for you is better.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

griptape_mcp-0.1.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

griptape_mcp-0.1.0-py3-none-any.whl (3.7 MB view details)

Uploaded Python 3

File details

Details for the file griptape_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: griptape_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for griptape_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff7265dce12f85604cec67ed8dc48acce0ac4fa973dbe2e9f1ea96fd87eda396
MD5 974f6732e65c7f94a0b4392252e990b8
BLAKE2b-256 5674768882dc670d11e82d511cfe76d864990ac189c179fbc837a744390faa2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for griptape_mcp-0.1.0.tar.gz:

Publisher: publish.yml on KianSalem/griptape-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file griptape_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: griptape_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for griptape_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aff0a42e51973a752fc1a987c4918f812e8f57d3f155ee887a0cb677682b2c93
MD5 c58d1a4a3282b0b1790a9935a8ad4e11
BLAKE2b-256 dcd87d4c54c40fc555bc93c7e2d7174db5fa5fae7bcb72c53cd179f67556b15b

See more details on using hashes here.

Provenance

The following attestation bundles were made for griptape_mcp-0.1.0-py3-none-any.whl:

Publisher: publish.yml on KianSalem/griptape-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page