MCPcopy Index your code
hub / github.com/grpc/grpc-node

github.com/grpc/grpc-node @2.1.0

repository ↗ · DeepWiki ↗ · release 2.1.0 ↗ · Ask this repo → · + Follow
4,883 symbols 9,687 edges 859 files 308 documented · 6% updated 18d ago@grpc/grpc-js@1.9.16 · 2026-05-20★ 4,840217 open issues
README

gRPC on Node.js

Implementations

For a comparison of the features available in these two libraries, see this document

Pure JavaScript Client and Server

Directory: packages/grpc-js

npm package: @grpc/grpc-js

This library implements the core functionality of gRPC purely in JavaScript, without a C++ addon. It works on the latest versions of Node.js on all platforms that Node.js runs on.

C-based Client and Server (deprecated)

Directory: packages/grpc-native-core (lives in the grpc@1.24.x branch) (see here for installation information)

npm package: grpc.

This is the deprecated implementation of gRPC using a C++ addon. It works on versions of Node.js up to 14 on most platforms that Node.js runs on.

Other Packages

gRPC Protobuf Loader

Directory: packages/proto-loader

npm package: @grpc/proto-loader

This library loads .proto files into objects that can be passed to the gRPC libraries.

gRPC Tools

Directory: packages/grpc-tools

npm package: grpc-tools

Distribution of protoc and the gRPC Node protoc plugin for ease of installation with npm.

gRPC Health Check Service

Directory: packages/grpc-health-check

npm package: grpc-health-check

Health check service for gRPC servers.

gRPC Reflection API Service

Directory: packages/grpc-reflection

npm package: @grpc/reflection

Reflection API service for gRPC servers.

Extension points exported contracts — how you extend this code

FakeCluster (Interface)
(no doc) [6 implementers]
packages/grpc-js-xds/test/framework.ts
SubchannelInterface (Interface)
(no doc) [7 implementers]
packages/grpc-js/src/subchannel-interface.ts
Visitor (Interface)
A set of functions for operating on protobuf objects as we visit them in a traversal
packages/grpc-reflection/src/implementations/common/protobuf-visitor.ts
Server (Interface)
(no doc) [1 implementers]
packages/grpc-health-check/src/server-type.ts
AnyExtension (Interface)
(no doc)
packages/proto-loader/src/index.ts
RbacRule (Interface)
(no doc) [33 implementers]
packages/grpc-js-xds/src/rbac.ts
Resolver (Interface)
(no doc) [11 implementers]
packages/grpc-js/src/resolver.ts
ReflectionServerOptions (Interface)
(no doc)
packages/grpc-reflection/src/implementations/common/interfaces.ts

Core symbols most depended-on inside this repo

on
called by 445
packages/grpc-health-check/src/object-stream.ts
push
called by 296
packages/grpc-js/src/filter-stack.ts
write
called by 173
packages/grpc-health-check/src/object-stream.ts
get
called by 163
packages/grpc-js/src/metadata.ts
set
called by 154
packages/grpc-js/src/metadata.ts
end
called by 152
packages/grpc-health-check/src/object-stream.ts
callback
called by 151
packages/grpc-js-xds/interop/xds-interop-client.ts
add
called by 121
packages/grpc-js/src/metadata.ts

Shape

Interface 1,897
Method 1,760
Function 793
Class 422
Enum 11

Languages

TypeScript100%

Modules by API surface

packages/grpc-js-xds/src/xds-client.ts117 symbols
packages/grpc-js-xds/src/rbac.ts102 symbols
packages/grpc-js/src/server-interceptors.ts97 symbols
packages/grpc-js/src/server.ts85 symbols
packages/grpc-js/src/channelz.ts75 symbols
packages/grpc-js-xds/src/matcher.ts72 symbols
packages/grpc-js/src/client-interceptors.ts68 symbols
packages/grpc-js/src/channel-credentials.ts66 symbols
packages/grpc-js/src/load-balancer-outlier-detection.ts61 symbols
packages/grpc-js-xds/src/server.ts57 symbols
packages/grpc-js-xds/src/load-balancer-priority.ts57 symbols
packages/grpc-js/src/server-call.ts53 symbols

Dependencies from manifests, versioned

@grpc/grpc-jsfile:../grpc-js · 1×
@grpc/grpc-js-xds1.10.0 · 1×
@grpc/proto-loader0.7.13 · 1×
@grpc/reflectionfile:../grpc-reflect · 1×
@js-sdsl/ordered-map4.4.2 · 1×
@mapbox/node-pre-gyp1.0.5 · 1×
@types/execa0.8.0 · 1×
@types/gulp4.0.5 · 1×
@types/gulp-mocha0.0.31 · 1×
@types/lodash4.14.202 · 1×
@types/lodash.camelcase4.3.4 · 1×
@types/mkdirp1.0.1 · 1×

For agents

$ claude mcp add grpc-node \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact