Skip to content
MCP server
RegistryRemote

pyRPC Docs MCP Server

Search and read the pyRPC documentation: type-safe RPC for Python and TypeScript.

pyRPC Docs scores 70 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 3 tools. Filed under Knowledge. GitHub shows 23 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by pyrpcMITPython23 stars
Trust score
70Good
Trust score 70 of 100, Good

Good trust

70 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 70 comes from

22 + 20 + 4 + 10 + 4 + 10 = 70. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "pyrpc-pyrpc": {      "url": "https://mcp.pyrpc.com/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools3Tool docs quality grade C

All capabilities
  • validate arguments for a procedure against the live schema before running it

  • procedures, models, routers and backend config

  • regenerate the typed TypeScript client, dry run by default

About

Install

uv add pyrpc-core

Framework adapters are available as extras, the adapter is included in the same install:

uv add pyrpc-core[fastapi]   # FastAPI
uv add pyrpc-core[flask]     # Flask
uv add pyrpc-core[django]    # Django
uv add pyrpc-core[mcp]       # MCP (AI agent integration)

Quick Start

1. Define your procedures

from pyrpc_core import rpc, model

@model
class User:
    name: str
    age: int

@rpc.query
def add(a: int, b: int) -> int:
    return a + b

@rpc.query
def greet(user: User) -> str:
    return f"Hello, {user.name}!"

2. Start the dev server

pyrpc dev

First run: a short wizard asks for your backend framework and entry point, then your client project root and frontend framework (the wizard preselects what it detects), and writes pyrpc.json. Every run after: reads pyrpc.json, no questions asked. Launches your framework's native dev server (uvicorn for FastAPI/ASGI, flask run for Flask, manage.py runserver for Django), watches .py files, and regenerates TypeScript types automatically.

Non-interactive (CI): pyrpc dev --yes --framework fastapi --module main --client ../frontend.

3. Call from TypeScript

import type { Types } from "@pyrpc/types"
import { createClient, httpLink } from "@pyrpc/client"

const api = createClient<Types>({
  links: [httpLink({ url: "http://localhost:8000" })],
})
const result = await api.add(10, 5)
console.log(result)  // 15

Framework adapters (TanStack Query): @pyrpc/react, @pyrpc/next, @pyrpc/vue, @pyrpc/svelte.

npm install @pyrpc/next @tanstack/react-query    # Next.js
npm install @pyrpc/react @tanstack/react-query   # React (Vite)
npm install @pyrpc/vue @tanstack/react-query     # Vue
npm install @pyrpc/svelte @tanstack/react-query  # Svelte

See docs and examples/fastapi-nextjs.

4. Or from Python

from pyrpc_core import RPCClient

with RPCClient("http://localhost:8000") as client:
    result = client.add(10, 5)
    print(f"Result: {result}")

How types flow

Python @rpc decorator
  → pyrpc dev watches .py files
  → regenerates <client>/__pyrpc.ts
  → tsconfig paths: "@pyrpc/types" → "./__pyrpc.ts"
  → import type { Types } from "@pyrpc/types"  ✓

pyrpc dev configures the @pyrpc/types resolution automatically on every dev and watch run: it injects the tsconfig paths entry via jsonc-edit (preserving comments and trailing commas) and adds a bundler alias for Vite, SvelteKit, and Next.js Turbopack, which don't honor tsconfig paths for imports inside node_modules. pyrpc.json (written on first pyrpc dev run) stores your backend framework and entry point plus one or more client project roots. No further config needed.


Catch contract drift in CI

pyrpc check fails when a committed __pyrpc.ts no longer matches the Python procedures, and prints the call sites the change breaks:

✗ web/__pyrpc.ts is out of date
  removed: get_user
  added: fetch_user

  2 call sites break against the new types
    web/page.tsx:3:25
      export const user = api.get_user(1)
      TS2339 Property 'get_user' does not exist on type 'Types'.

Run it as one CI step, or use the bundled action to post the report as a sticky pull request comment:

- uses: actions/checkout@v7
- uses: pyrpc/pyrpc/.github/actions/pyrpc-check@v0

MCP server

pyrpc mcp runs a local MCP server over stdio so a coding agent works from your actual project instead of guessing. It exposes three tools:

  • introspect_project - procedures, models, routers and backend config
  • check_call - validate arguments for a procedure against the live schema before running it
  • run_codegen - regenerate the typed TypeScript client, dry run by default
uv add "pyrpc-core[mcp]"
pyrpc mcp

Your client launches it from the project root. Point Claude Code, Cursor, VS Code, Codex or any other stdio client at pyrpc mcp. The Glama listing shows the tools and the quality score, and MCP Inspector lets you try them without installing anything.

This server is about your application. For pyRPC's own documentation, use the remote documentation server.


Documentation

Contributing

pyRPC is a free and open source project licensed under the MIT License. You are free to do whatever you want with it.

You can help continue its development by:

Security

If you discover a security vulnerability within pyRPC, please report it via GitHub Security Advisories.

All reports will be promptly addressed, and you'll be credited accordingly.

Frequently asked questions

What is pyRPC Docs MCP Server?

Search and read the pyRPC documentation: type-safe RPC for Python and TypeScript.

How do I install pyRPC Docs MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pyRPC Docs MCP Server connects to the remote endpoint https://mcp.pyrpc.com/mcp, so there is nothing to install locally.

Is pyRPC Docs MCP Server free and open source?

Yes. pyRPC Docs MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does pyRPC Docs MCP Server support remote (HTTP) connections?

Yes. pyRPC Docs MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does pyRPC Docs MCP Server provide?

pyRPC Docs MCP Server provides 3 tools: check_call, introspect_project, and run_codegen. See the full tool list for descriptions and parameters.

How is pyRPC Docs MCP Server's trust score calculated?

pyRPC Docs MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server