# DataToRAG

DataToRAG is an MCP server for Claude Code that gives an agent OAuth-based access to Gmail, Drive, Docs, Sheets, Calendar, Jira, Confluence and Notion.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 4 repo stars
- Author: datatorag
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/datatorag/mcp-gateway
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/datatorag

## What it does

DataToRAG is a hosted MCP gateway. A client points at one address, `https://datatorag.com/mcp`, and the gateway exposes tools only for the services a given user has linked in their dashboard. Behind that address sit three connectors — Google Workspace, Atlassian and Notion — plus tools built into the gateway itself for managing accounts, files and a connectivity check.

Each person authorizes their own accounts, so a connector only ever sees the calling user's token, never a credential shared across accounts. A user can link more than one account per service, say a work and a personal Google login, and pick which one a call should use. Tool responses are trimmed for a model's context window: a two-page Google Doc comes back as a few kilobytes of text rather than the full API payload.

Files can move between connected services without being pasted into the conversation: given a reference to an email, attachment or Drive file, the gateway moves it to another service on its own and reports back the size and a hash. The gateway can also run on your own infrastructure under the MIT license, though signing in still requires an OAuth login under the same email used in the dashboard.

## Requirements
- Remote server: `https://datatorag.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp-gateway https://datatorag.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add datatorag --url https://datatorag.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "datatorag": {
            "url": "https://datatorag.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "datatorag": {
            "type": "http",
            "url": "https://datatorag.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http datatorag https://datatorag.com/mcp
```

## When to use it
- wire Gmail, Drive, Docs, Sheets and Calendar into one agent
- work with Jira and Confluence from an MCP client
- read and edit Notion pages and databases
- move an email attachment into a Jira ticket without manual upload
- keep a work and a personal Google account separate in one MCP server

## Example prompts
- Find the Notion page about onboarding and show its contents
- Move the attachment from my latest email into a Jira ticket
- Pull today's emails and put together a morning digest

## Similar
- [Google Workspace](https://affpapa.org/en/nevibecode/mcp/google-workspace.md) — MCP server · ★ 200 repo stars
- [Google Workspace (multi-account)](https://affpapa.org/en/nevibecode/mcp/google-workspace-multi-account.md) — MCP server · ★ 21 repo stars
- [gmail](https://affpapa.org/en/nevibecode/skills/sanjay3290-gmail.md) — skill · 528 installs
- [google-workspace](https://affpapa.org/en/nevibecode/skills/mitsuhiko-google-workspace.md) — skill · 108 installs
- [connect-apps](https://affpapa.org/en/nevibecode/plugins/connect-apps.md) — plugin · ★ 2003 repo stars
- [gws-gmail-triage](https://affpapa.org/en/nevibecode/skills/gws-gmail-triage.md) — skill · 48900 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
