Skip to content
MCP server

Nifra docs

MCP server that serves Nifra docs, runnable examples and API types to AI assistants

Install
Pricing
Open source
Platforms
API
Runs
Remotely
Version
5.14.0
Listing updated
3 days ago

About Nifra docs

Nifra docs is an open-source MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Nifra is an open-source TypeScript framework where one route definition drives the typed client, the validation, the docs and the agent tools. This server exposes that documentation layer to an assistant, so a model writing Nifra code can read the current docs, examples and API types instead of guessing from stale training data.

It is a hosted endpoint at mcp.nifra.dev over streamable HTTP, with nothing to install. The framework's own nifra mcp command is a separate, project-level server that gives coding agents the live route table, a scaffolder and the check and assure gates.

Install

Run in a terminal

claude mcp add --transport http nifra-docs https://mcp.nifra.dev

Add to Settings → Connectors → Add custom connector

https://mcp.nifra.dev
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nifra-docs": {
      "url": "https://mcp.nifra.dev"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "nifra-docs": {
      "type": "http",
      "url": "https://mcp.nifra.dev"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "nifra-docs": {
      "serverUrl": "https://mcp.nifra.dev"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "nifra-docs": {
      "type": "http",
      "url": "https://mcp.nifra.dev"
    }
  }
}

Tools this server provides (7)

Read directly from the server.

nifra_docs
Search nifra's framework documentation and get back ONLY the matching sections - auth, uploads, ISR, WebSockets, loaders, deployment, anything. Call with no query for the cheap section index; pass query (e.g. "isr revalidate") for the top matching sections. Use this instead of reading llms-full.txt (~150 KB) whole. For the EXACT TypeScript of a type/interface/function, call nifra_types instead (do
nifra_example
Get a verified, copy-pasteable Nifra code example for a task - auth route, file upload, ISR page, loader/action, typed client, SSE, deployment, and more. Every snippet is typechecked against the installed Nifra version, so it compiles as-is. Returns code as text for direct use. Call with no query for the grouped index; pass query (e.g. "protected route", "upload", "isr revalidate") for matching sn
nifra_types
Get the exact TypeScript declaration of any exported @nifrajs/* symbol - interface, type, class, function, or const. Each signature is generated from the package's built .d.ts and returns the complete declaration rather than prose. Pass `name` for an exact symbol (e.g. "RateLimitStore", "RouteSchema", "Context", "rateLimit"); pass `query` to search by keyword; omit both for the per-package index o
nifra_learn
Walk the guided path to build a nifra app end to end - an ORDERED sequence (create → page route → loader → typed API → typed client → auth → background jobs → deploy), not the random-access search of nifra_docs/nifra_example. Call with no args for the step index; pass `step: N` for that step's goal, how to do it (which tool emits the correct artifact), and how to verify it. Use it when scaffolding
nifra_frontend
Diagnose a client-side Nifra problem by symptom across every adapter (React, Preact, Solid, Vue, Svelte, and vanilla). Returns the likely cause, a concrete fix, and how to verify it. Covers the Nifra server/client seam, hydration mismatches, duplicated framework runtimes, loader-data typing, and adapter-specific reactivity guidance. Call with no args for the index; pass `symptom` (e.g. "hydration
nifra_runtime
Explain a behavior that differs between Bun, Node, Deno and Cloudflare Workers by symptom. These are runtime behaviors, not Nifra's: request-target and Host handling, pipelining, JSON content-type, engine error messages, recursion depth, .env loading, and runtime-specific APIs. Returns what each runtime does, the fix (and the Nifra option that decides it when there is one), how to verify it, and t
nifra_gallery
Open an interactive, filterable gallery of ALL of nifra's verified code examples (MCP Apps widget) - for browsing and discovering what exists. NOT for fetching one snippet as text: use nifra_example for that. Pass query to pre-filter; the widget also filters client-side.

What it does

Docs for assistants
Gives any MCP client access to the Nifra documentation.
Runnable examples
Serves example code an assistant can adapt.
API types
Exposes the framework's API types so generated code matches the real signatures.
Hosted endpoint
Connects over streamable HTTP at mcp.nifra.dev with no local install.

Good for

  • Ask an assistant to scaffold a Nifra API using current docs
  • Look up the signature of a Nifra helper while coding
  • Check an example before copying it into a project
  • Keep a coding agent aligned with the framework version it targets

Pricing

Open source

Framework is MIT licensed; hosted docs endpoint price not published.

Prices change. Check nifra.dev before you buy.

Nifra docs FAQ

Is Nifra open source?

The Nifra site says the framework is open source under the MIT licence.

How do I connect?

Point an MCP client at https://mcp.nifra.dev, which uses streamable HTTP.

Which runtimes does Nifra target?

The framework runs on Bun, Node, Deno and the edge.

Does this server edit my project?

This endpoint serves docs, examples and types. The separate nifra mcp command is the one that scaffolds files and runs checks in a workspace.

Is Nifra docs free?

Yes. Nifra docs is open source, so you can use and self-host it for free.

How do I add Nifra docs to Claude Code?

Run this command in your terminal: claude mcp add --transport http nifra-docs https://mcp.nifra.dev

What are the best alternatives to Nifra docs?

The closest alternatives to Nifra docs are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Nifra docs

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools