Source: https://seerepo.com/r/mastra-ai/mastra/built
Markdown source: https://seerepo.com/r/mastra-ai/mastra/built.md
Description: mastra is a TypeScript repo built with React and Vite. It uses AI through OpenAI and Anthropic, measures its use with PostHog, and connects to GitHub.

# What is mastra built with?

mastra is a TypeScript repo built with React and Vite. It uses AI through OpenAI and Anthropic, measures its use with PostHog, connects to GitHub, and uses Redis and MCP. It has 9,739 files and 3,812,739 written lines, with 6,660 test files.

Read on November 2, 2026, at commit 7daa2e1.

Repository: https://github.com/mastra-ai/mastra

## Frontend

### The base

- **[React](https://seerepo.com/uses/react)**
- **[Vite](https://seerepo.com/uses/vite)**

## Backend

### Data

- **[Redis](https://seerepo.com/uses/redis)**: 8 files · [deployers/cloud/src/utils/logger.ts, line 5](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/deployers/cloud/src/utils/logger.ts#L5)

### Services

- **[MCP](https://seerepo.com/uses/mcp)**: 30 files · [packages/mcp-registry-registry/src/server.ts, line 2](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/packages/mcp-registry-registry/src/server.ts#L2)
- **[OpenAI](https://seerepo.com/uses/openai)**: 19 files · [explorations/longmemeval/src/embeddings/cached-openai-provider.ts, line 1](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/explorations/longmemeval/src/embeddings/cached-openai-provider.ts#L1)
- **[Anthropic](https://seerepo.com/uses/anthropic)**: 7 files · [agent-sdks/claude/src/index.ts, line 3](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/agent-sdks/claude/src/index.ts#L3)
- **[PostHog](https://seerepo.com/uses/posthog)**: 6 files · [mastracode/factory/src/telemetry.ts, line 1](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/mastracode/factory/src/telemetry.ts#L1)
- **[GitHub](https://seerepo.com/uses/github)**: 3 files · [mastracode/factory/src/integrations/github/integration.ts, line 29](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/mastracode/factory/src/integrations/github/integration.ts#L29)

## Other repos with a similar stack

- [n8n-io/n8n](https://seerepo.com/r/n8n-io/n8n/built): Vite, Redis, MCP, OpenAI, Anthropic, PostHog · [Compare](https://seerepo.com/compare/mastra-ai/mastra/vs/n8n-io/n8n)
- [lobehub/lobehub](https://seerepo.com/r/lobehub/lobehub/built): React, Redis, MCP, OpenAI, Anthropic, GitHub · [Compare](https://seerepo.com/compare/lobehub/lobehub/vs/mastra-ai/mastra)
- [cline/cline](https://seerepo.com/r/cline/cline/built): React, Vite, MCP, OpenAI, Anthropic, PostHog · [Compare](https://seerepo.com/compare/cline/cline/vs/mastra-ai/mastra)
- [Mintplex-Labs/anything-llm](https://seerepo.com/r/Mintplex-Labs/anything-llm/built): React, Vite, MCP, OpenAI, Anthropic, PostHog · [Compare](https://seerepo.com/compare/mastra-ai/mastra/vs/Mintplex-Labs/anything-llm)
- [langfuse/langfuse](https://seerepo.com/r/langfuse/langfuse/built): React, Redis, MCP, OpenAI, Anthropic, PostHog · [Compare](https://seerepo.com/compare/langfuse/langfuse/vs/mastra-ai/mastra)
- [continuedev/continue](https://seerepo.com/r/continuedev/continue/built): React, Vite, MCP, OpenAI, Anthropic, GitHub · [Compare](https://seerepo.com/compare/continuedev/continue/vs/mastra-ai/mastra)

## Frequently asked questions

### What language is mastra written in?

mastra is written in TypeScript: 9,739 files and 3,812,739 written lines.

### What framework does mastra use?

mastra is built with React and Vite.

### Does mastra use AI?

Yes. mastra uses AI through OpenAI and Anthropic.

The proof: [explorations/longmemeval/src/embeddings/cached-openai-provider.ts, line 1](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/explorations/longmemeval/src/embeddings/cached-openai-provider.ts#L1)

### What services does mastra use?

mastra measures its use with PostHog, connects to GitHub, and uses Redis and MCP.

The proof: [mastracode/factory/src/telemetry.ts, line 1](https://github.com/mastra-ai/mastra/blob/7daa2e1d35bfa7e3f072643b0c264dca1d5530c1/mastracode/factory/src/telemetry.ts#L1)

### Does mastra have tests?

Yes. mastra has 6,660 test files.

### Which repos have a stack like mastra's?

The ones that share most of its stack: n8n-io/n8n, lobehub/lobehub, and cline/cline.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
