skillfed

python-jsonrpc-server

JSON RPC 2.0 server library

python-jsonrpc-server v0.4.0 118.7K downloads/30d#12,106 on PyPI87
License unclear Active released

What it is and what it does

This package provides a server-side implementation of the JSON RPC 2.0 protocol in Python, enabling applications to receive and process remote procedure calls over a network. It was originally extracted from the Python Language Server project and is designed to handle RPC requests asynchronously using Python's concurrent.futures module, with a backport available for Python 2.7.

The package is typically used as a foundation for building language servers or other RPC-based services that need to communicate with clients over protocols like WebSockets. It has no runtime dependencies, making it lightweight to integrate into existing projects. The repository remains active, though the last packaged release dates to 2020.

Use it for:

  • Building language servers that communicate with editors or IDEs via JSON RPC over WebSockets
  • Implementing RPC endpoints for remote tool invocation in distributed systems
  • Creating asynchronous request handlers for client-server architectures using the JSON RPC 2.0 standard
  • Integrating RPC capabilities into Python applications that need to expose methods to remote callers

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Implements a JSON RPC 2.0 server that handles remote procedure calls over a network, with support for asynchronous request handling via Python's concurrent.futures.

Yes, if you need a lightweight JSON RPC 2.0 server implementation with no external dependencies. However, verify the Python version you're targeting and confirm the license status before committing to production use, given the metadata ambiguity around licensing and the gap between the latest release (2020-09-08) and current repository activity.

Install

python-jsonrpc-server on PyPI

pip

pip install python-jsonrpc-server

uv

uv add python-jsonrpc-server

poetry

poetry add python-jsonrpc-server

Installing python-jsonrpc-server

Before you install

Low install friction with no runtime dependencies. Repository is active with recent commits as of 2026-04-01, though the latest release was in 2020-09-08.

License in practice

License treatment is unclear; the description mentions MIT License but the metadata does not confirm this formally, so verify the actual license terms before use.

Quickstart

pip install python-jsonrpc-server

import python_jsonrpc_server

Python version support is unspecified in metadata despite description mentioning 2.7 and 3.4+ compatibility; verify your target Python version before deployment.

Verify before relying

  • Exact Python version support range (description mentions 2.7 and 3.4+ but requires_python is empty)
  • Whether MIT License mentioned in description is the authoritative license for this package
  • Current maintenance status given latest release was 2020-09-08 despite recent repository activity

Package facts

License not declared (unclear)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 2,166 days since the last release
Last repo commit
First released
Downloads 118,692/month — #12,106 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python_jsonrpc_server-0.4.0-py3-none-any.whl

Tags

json rpc serverrpc protocol implementationasynchronous request handlinglanguage server protocolremote procedure calljson rpc 2.0concurrent request processing
rpc-protocolasync-io

More Internet packages