Skip to main content

MCP server for accurate, up-to-date library documentation

Project description

ProContext

Documentation layer for AI coding agents

License: MIT Website Python 3.12+ Protocol

Your AI coding agent generates broken code because it doesn't have current docs.

ProContext fixes that - verified library documentation, served on demand.

2000+ libraries · Works with Claude Code, Cursor, Codex, VS Code (GitHub Copilot), Windsurf, and any MCP-compatible tool


Why ProContext

Without ProContext With ProContext
Discovery Agent guesses APIs from stale training data Agent reads from a curated registry of 2000+ libraries
Sources Web scraping and outdated search results Hand-picked, verified documentation sources - no scraping, no noise
Freshness Docs go stale as libraries update Registry refreshes automatically in the background
Speed Repeated fetches hit the network every time Every page cached after the first fetch - millisecond lookups
Context Entire docs dumped into context Large pages served in paginated windows to respect token limits
Precision Agent scrolls through irrelevant content Search within a page or browse its outline to jump to the right section
Safety Arbitrary URL access risks data leaks Fetches restricted to known documentation domains

Quick Start

Install ProContext:

macOS and Linux

curl -fsSL https://raw.githubusercontent.com/procontexthq/procontext/main/install.sh | bash

Windows

Run this in a PowerShell terminal:

irm https://raw.githubusercontent.com/procontexthq/procontext/main/install.ps1 | iex

Add ProContext to your MCP client config:

{
  "mcpServers": {
    "procontext": {
      "command": "uv",
      "args": ["run", "--project", "/path/to/procontext-source", "procontext"]
    }
  }
}

The installer manages a local checkout and prints the path to use with uv run --project .... For manual install, version pinning, and troubleshooting, see docs/cli/installation.md.

ProContext works with any MCP-compatible tool. The Integration Guide has copy-paste configurations for Claude Code, Claude Desktop, Cursor, Windsurf, VS Code (GitHub Copilot), OpenAI Codex CLI, and Amazon Q CLI. Both stdio (local) and HTTP (shared/remote) transports are supported.

Documentation

Registry

The library registry is maintained in a separate repository: procontexthq/procontexthq.github.io

If you want to add a library or update an existing entry, open a PR there rather than in this repository.

Contributing

See CONTRIBUTING.md for contributor setup, development workflow, coding conventions, and pull request guidance.

License

MIT - see LICENSE for details.


Built with ❤️ for AI coding agents

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

procontext-0.1.2.tar.gz (351.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

procontext-0.1.2-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

Details for the file procontext-0.1.2.tar.gz.

File metadata

  • Download URL: procontext-0.1.2.tar.gz
  • Upload date:
  • Size: 351.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for procontext-0.1.2.tar.gz
Algorithm Hash digest
SHA256 57086d9f125e6bfe5a52018acd042035677621b61c9cc4e476e05b05b4103e4a
MD5 a115b2c7287fc327341c16369f8e19af
BLAKE2b-256 c0a3630e8abafa4dbd5c9529e8fda433152db57ed6966ca0696ead527d51158c

See more details on using hashes here.

File details

Details for the file procontext-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: procontext-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 71.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for procontext-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 076f6f6d18bdb2b7d6455bedc416df60f67d7b8fe890327a06ca849df8cf4acb
MD5 6c93a958a1d70a5e61fc43d507adcc2b
BLAKE2b-256 68f5a2729518191f5f369cc654c309a452be5905070f139845776b4131b32e3b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page