---
title: "Context7 Alternatives: Docs MCP Servers Compared | Since.dev"
description: "Context7 alternatives for coding agents: GitMCP, DeepWiki MCP, Ref and mcpdoc on price, keys and private docs, each asked the same upgrade question."
canonical_url: https://since.dev/guides/context7-alternative
last_updated: 2026-11-28
---

# Context7 alternatives: which docs MCP server should your agent use?

Keep Context7 if you want one server for most public libraries: its free plan includes 1,000 calls a month. Pick GitMCP or DeepWiki MCP for a free, keyless server per GitHub repository, Ref for paid search across private docs, and mcpdoc for llms.txt files you choose. For what changed between two versions, add a changes server.

Updated November 28, 2026

## Which Context7 alternative should you use?

Most people searching for a Context7 alternative have hit one of three walls: the free plan's monthly limit, a library it doesn't cover well, or private docs. Pick by the wall you hit:

- Keep Context7 if it covers your libraries and you stay under 1,000 calls a month. It was the only server in my test that answered a recent upgrade question from the first call.
- Pick GitMCP if you want a free server with no key and no account for one GitHub repository, or you want to host the server yourself. It reads the repository's llms.txt first, then its README.
- Pick DeepWiki MCP if you want to ask questions about how a public codebase is built. It's free, remote and needs no sign-in for public repositories.
- Pick Ref if your agent needs to search private docs, PDFs and public docs from one place and you're fine paying per search after the 200 free credits.
- Pick mcpdoc if you want a local server that only reads llms.txt files you list, so you can see every URL it fetches.
- Add a changes server such as Since.dev beside any of them if the question is what broke between the version you're on and the one you're moving to. Docs servers return what the docs say today.

My recommendation: keep Context7 as the default and add GitMCP for the one or two repositories it covers badly. It's free, it takes one URL, and there's nothing to sign up for. The trade-off is that GitMCP's search only sees what the repository publishes as docs, so for a changelog your agent has to ask for the file by its URL.

## How do the Context7 alternatives compare?

They all give a coding agent text it can read before it writes code, through MCP. They differ in where the text comes from, what they cost and whether you need a key. Prices are from each owner's own pricing page or README.

Docs MCP servers for coding agents, from each owner's pricing page or README, read Nov 28, 2026

| Option                                                             | Best for                                                              | Price                                                                          |
| ------------------------------------------------------------------ | --------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [Context7](https://context7.com/plans)                             | One server for many public libraries                                  | Free: 1,000 calls a month. Pro: $10 per seat a month, 2,000 calls per seat     |
| [GitMCP](https://github.com/idosal/git-mcp)                        | One GitHub repository, no key, self-hosting                           | Free, open source (Apache-2.0)                                                 |
| [DeepWiki MCP](https://docs.devin.ai/work-with-devin/deepwiki-mcp) | Questions about how a public repository works                         | Free for public repositories, no sign-in                                       |
| [Ref](https://ref.tools/pricing)                                   | Private docs, PDFs and public docs in one search                      | Free: 200 one-time credits. Basic $19 a month (2,000 credits), Pro $50 (6,000) |
| [mcpdoc](https://github.com/langchain-ai/mcpdoc)                   | A local server over llms.txt files you pick                           | Free, open source (MIT)                                                        |
| [Since.dev](https://since.dev/index.md#pricing)                    | What changed between two versions of a package, model, API or runtime | Free: 1,000 credits a month. Pro: $49 a month, 20,000 credits                  |

## What does each docs MCP server do well, and where does it fall short?

Context7 first, since it's the one you'd be replacing. Every price below was read on Nov 28, 2026 from the page it links to.

### Context7

- Best for: one server that answers for most popular public libraries, versions included.
- Price: Free with 1,000 API calls a month, then 20 bonus calls a day until the month resets. Pro is $10 per seat a month with 2,000 calls per seat and $5 per 1,000 after that ([Context7 plans](https://context7.com/plans)).
- Pros: two tools, resolve-library-id and query-docs, and it answered my upgrade question with the full changelog from one call. It ran without a key. Its plans page says only the lookup query and library name leave your machine, not your code.
- Cons: private repositories need Pro, and parsing them costs $5 per 1M tokens. The server code is open (MIT), but the [README](https://github.com/upstash/context7) says the backend behind it is private, so you can't run the whole thing yourself unless you buy Enterprise's self-hosted option.
- Runs: remote at `https://mcp.context7.com/mcp`; a free API key raises the rate limit.

### GitMCP

- Best for: pointing an agent at one GitHub repository's docs with no account, or self-hosting.
- Price: free, and open source under Apache-2.0 ([GitMCP on GitHub](https://github.com/idosal/git-mcp)).
- Pros: one URL per repository, `gitmcp.io/{owner}/{repo}`, or `gitmcp.io/docs` for any repository. Its README says it stores no queries or personal data. It also has a code search tool and a tool that fetches any URL.
- Cons: its docs search only sees docs files. In my test it returned docs/index.md and llms.txt, not the changelog. Its repository's last push was May 8, 2026, according to GitHub's API on Nov 28.
- Runs: remote at gitmcp.io, or self-hosted.

### DeepWiki MCP

- Best for: asking how a public codebase is organized and why it does something.
- Price: free, remote and without sign-in for public repositories ([DeepWiki MCP docs](https://docs.devin.ai/work-with-devin/deepwiki-mcp)).
- Pros: three simple tools, read_wiki_structure, read_wiki_contents and ask_wiki_question, and answers that link back to the wiki page they came from. It said plainly what it didn't know instead of guessing.
- Cons: the wiki is written from the code at one point in time. For python-multipart, it told me its changelog stops at 0.0.20, which shipped before the 14 releases I asked about.
- Runs: remote at `https://mcp.deepwiki.com/mcp`; the older /sse endpoint is being deprecated.

### Ref

- Best for: one search across public docs and your own GitHub repositories, PDFs and Markdown files.
- Price: 200 free credits once, then Basic at $19 a month for 2,000 credits, Pro at $50 for 6,000 and Max at $200 for 30,000 ([Ref pricing](https://ref.tools/pricing)). Each search and each page read costs 1 credit ([Ref credits](https://docs.ref.tools/usage/credits)).
- Pros: two tools, ref_search_documentation and ref_read_url, built to return the part of a page the agent needs instead of whole pages. Private docs work on the free plan, within its limits of 100 PDF pages and 1,000 file uploads.
- Cons: every call needs an API key, and the free credits don't renew. I didn't run it for this page, because it needs an account and a key.
- Runs: remote at `https://api.ref.tools/mcp` with the key in an `x-ref-api-key` header ([Ref install docs](https://docs.ref.tools/context/install/claude-code)).

### mcpdoc

- Best for: teams that want to choose exactly which docs an agent reads and see every fetch.
- Price: free, MIT, from LangChain ([mcpdoc on GitHub](https://github.com/langchain-ai/mcpdoc)).
- Pros: runs on your machine with uvx, lists the llms.txt files you gave it, and by default only fetches from those files' domains.
- Cons: it only helps for projects that publish an llms.txt file. python-multipart doesn't (kludex.github.io/python-multipart/llms.txt answered 404 on Nov 28), and neither does FastAPI at fastapi.tiangolo.com/llms.txt, so I didn't run it for this question.
- Runs: locally, started by your MCP client.

### Since.dev

- Best for: the question docs servers aren't built for, what changed between the version you're on and the one you're moving to, across packages, AI models, APIs and runtimes.
- Price: Free with 1,000 credits a month; Pro is $49 a month with 20,000 ([Since.dev pricing](https://since.dev/index.md#pricing)). Reading changes costs 1 credit plus 1 for every 10 changes returned.
- Pros: each change comes as a record with its kind, the version that introduced it, the symbol and a link to its source, so an agent can act on it without reading a whole changelog.
- Cons: it isn't a docs server. It won't explain how to use a library's API, only what changed in it. On a package it hasn't fully read yet, the first answer can be partial and says so.
- Runs: remote MCP server and HTTP API, signed in with OAuth or an API key.

## What happened when I asked each one the same question?

Only Context7 answered it in full from the first call. I asked each server what changed in python-multipart between 0.0.20 and 0.0.34, on Nov 28, 2026. I picked it because the 14 releases in that range shipped between Dec 17, 2025 and Nov 16, 2026, per PyPI, and one of them changed how form fields are split (the [python-multipart upgrade guide](https://since.dev/guides/python-multipart-breaking-changes.md) has the full list). This script speaks MCP over plain HTTP, so you can try any of these servers without a client:

```
#!/bin/sh
# usage: ./ask.sh URL TOOL 'ARGS_JSON'
H1="Content-Type: application/json"
H2="Accept: application/json, text/event-stream"
INIT='{"jsonrpc":"2.0","id":1,"method":"initialize",
"params":{"protocolVersion":"2025-06-18",
"capabilities":{},
"clientInfo":{"name":"curl","version":"1"}}}'
SID=$(curl -s -D - -o /dev/null -H "$H1" -H "$H2" \
  -d "$INIT" "$1" | tr -d '\r' |
  awk 'tolower($1)=="mcp-session-id:"{print $2}')
H3="Mcp-Session-Id: $SID"
NOTE='{"jsonrpc":"2.0",
"method":"notifications/initialized"}'
curl -s -o /dev/null -H "$H1" -H "$H2" -H "$H3" \
  -d "$NOTE" "$1"
CALL="{\"jsonrpc\":\"2.0\",\"id\":2,
\"method\":\"tools/call\",
\"params\":{\"name\":\"$2\",\"arguments\":$3}}"
curl -s -H "$H1" -H "$H2" -H "$H3" -d "$CALL" "$1" |
  sed -n 's/^data: //p'
```

Then the three calls, one per server, with no key or account:

```
./ask.sh https://mcp.context7.com/mcp query-docs \
  '{"libraryId":"/kludex/python-multipart",
  "query":"breaking changes 0.0.20 to 0.0.34"}'

./ask.sh https://mcp.deepwiki.com/mcp \
  ask_wiki_question \
  '{"repoName":"Kludex/python-multipart",
  "question":"What changed between 0.0.20 and 0.0.34?"}'

./ask.sh https://gitmcp.io/Kludex/python-multipart \
  search_python_multipart_docs \
  '{"query":"breaking changes 0.0.20 to 0.0.34"}'
```

The same python-multipart question asked of each server, Nov 28, 2026

| Server               | What came back                                                                                                                                                   | Did it answer?                                                                                                                                                        |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Context7             | The [changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md) from 0.0.34 down to 0.0.13 (13,250 characters), with a written summary on top | Yes. The summary named the Python 3.8 and 3.9 drop, trust_x_headers, the FormParser classes and the & separator, and also brought up a ReDoS fix I hadn't asked about |
| DeepWiki MCP         | "The provided changelog documents 0.0.20, but contains no entries for 0.0.21 through 0.0.34"                                                                     | No, and it said so instead of guessing                                                                                                                                |
| GitMCP (docs search) | docs/index.md and llms.txt, with a usage example from the docs                                                                                                   | No. A second call to its URL tool for CHANGELOG.md returned the changelog                                                                                             |
| Since.dev            | First call: 3 of 14 releases read, 11 marked reading, retry after 60 seconds. A few minutes later: all 14 read, 45 changes                                       | Partly on the first call, fully on the second; each change has its version and source                                                                                 |

I asked Since.dev through its own MCP tool, `whats_changed`, with `since` 0.0.20 and `to` 0.0.34, because it isn't a docs server and doesn't take the same arguments. The first answer also listed seven security advisories fixed in that range. I left out the full JSON from every server; the table says what each one returned.

What I took from it: a docs server is only as current as the last time it read the project. Context7 had read python-multipart after 0.0.34 came out. DeepWiki's wiki was older than the question. GitMCP had the file one call away but didn't search it.

## Is Context7 free, and what are its limits?

Yes, Context7 has a free plan: 1,000 API calls a month for public libraries, according to its [plans page](https://context7.com/plans) on Nov 28, 2026. A search call and a docs call each count as one.

- When a free account reaches 1,000 calls, it's blocked, with 20 bonus calls a day until the month resets.
- Pro costs $10 per seat a month and includes 2,000 calls per seat. Seats don't share their calls, and extra calls cost $5 per 1,000.
- Private repositories are Pro and Enterprise only, and parsing them costs $5 per 1M tokens each time you add or refresh one.
- Enterprise adds SOC-2, SSO and a self-hosted option. Its plans page says pricing starts at $30 a user a month for small teams.
- Without a key it still works, as my test did. The [Context7 README](https://github.com/upstash/context7) recommends a free key for higher rate limits, sent as `Authorization: Bearer`.

If your agent calls it on every library question, a busy month on the free plan can run out. Rate limits are the first reason the alternatives posts that rank for this search give for switching, and GitMCP or DeepWiki MCP cover that gap for free.

## Which Context7 alternatives can you self-host or run locally?

GitMCP and mcpdoc. GitMCP is open source under Apache-2.0 and its README says you can self-host it; mcpdoc runs on your machine by design. Context7 offers a self-hosted deployment only on Enterprise. I found no self-hosted option in DeepWiki MCP's or Ref's docs; both run as remote services.

- Run mcpdoc when your security team wants a list of the exact domains an agent can read. It allows only the llms.txt domains you pass unless you add more with `--allowed-domains`.
- Run your own GitMCP when you want its tools but can't send repository names to a third party.
- Keep the remote servers when convenience matters more, since there's nothing to update or keep running.

## Can a docs MCP server tell your agent what broke after an upgrade?

Sometimes, when the project keeps a changelog file and the server has read it recently. Docs describe how a library works today; a breaking change is the difference between two versions, and the docs usually don't say what used to be true.

Watch for changelogs that move. python-multipart's CHANGELOG.md now opens with "Release notes after 0.0.34 are on GitHub Releases", so a server that reads only that file will see nothing newer than 0.0.34. The [release notes](https://github.com/Kludex/python-multipart/releases) are where the next breaking change will be.

For an upgrade, give your agent the two versions and ask for the differences, not the docs. The [guide to finding breaking changes between two versions](https://since.dev/guides/breaking-changes-between-versions.md) shows how to do that yourself with npm diff, pip and GitHub compare. And if the thing that broke is an AI model ID rather than a package, the [guide to stopping agents writing retired model IDs](https://since.dev/guides/stop-coding-agent-retired-model-ids.md) has the checks for that.

## Where Since.dev fits

Since.dev doesn't replace a docs server. Keep Context7 or one of the options above for how to use a library. Since.dev answers the other half: what changed between the version in your code and the newest one, for packages, AI models, APIs and runtimes, with the source for each change. You can read a package's breaking changes on its public page, such as [python-multipart's breaking changes](https://since.dev/packages/pypi/python-multipart), or let your agent call `whats_changed` and `check_code` through the [MCP server](https://since.dev/docs.md#mcp) (the [Claude Code quickstart](https://since.dev/guides/claude-code-quickstart.md) takes a few minutes).

When a change hits a repository you connect, it can open a fix pull request, checked first, for your review. It never merges anything itself: people review every pull request, and nothing merges or deploys.

## Questions

### Is there a free alternative to Context7?

Yes. GitMCP and DeepWiki MCP are free and need no account or key for public GitHub repositories, and mcpdoc is free and runs on your machine. Context7 itself is also free for up to 1,000 calls a month, according to its plans page on Nov 28, 2026.

### Does Context7 need an API key?

No. Its MCP server at mcp.context7.com answered without one when I tested it on Nov 28, 2026. Its README recommends a free key for higher rate limits, sent in an `Authorization: Bearer` header, and a key is how usage is counted against your plan.

### What is the difference between Context7 and DeepWiki?

Context7 returns a library's documentation and code examples for a question, across many libraries. DeepWiki writes a wiki for one GitHub repository from its code and answers questions about how that code works. Use Context7 to write code against a library and DeepWiki to understand a codebase.

### Can a docs MCP server read my private repositories?

Some can. Context7 reads private repositories on its paid Pro and Enterprise plans, and charges for parsing them by the token. Ref connects private GitHub repositories, PDFs and Markdown files, including on its free credits. GitMCP and DeepWiki MCP's free servers cover public repositories.

### Do I need a docs MCP server if my agent can search the web?

Not always. A docs server saves the agent from searching, picking a page and reading all of it, and it points at the project's own docs instead of a blog post. If your agent already reads the right pages and your libraries are well known, web search can be enough.

## Related guides

### Quickstarts

- [Claude Code quickstart: check what changed in your code](https://since.dev/guides/claude-code-quickstart.md)Add Since.dev to Claude Code with the plugin or one command, sign in with OAuth, and ask what changed in your packages, AI models and runtimes.

### Comparisons

- [Best codemod tools to fix deprecated API calls](https://since.dev/guides/best-codemod-tools.md)The best codemod tools for replacing deprecated APIs, by language and job, with prices, pros and cons, and each one run on a real deprecated call.

### How-to

- [python-multipart 0.0.20 to 0.0.34: what breaks when you upgrade](https://since.dev/guides/python-multipart-breaking-changes.md)Upgrading python-multipart from 0.0.20 to 0.0.34? Semicolons stop splitting form fields, Python 3.11 is the floor, and two APIs are gone. Tested side by side.
- [How to find the breaking changes between two versions of a package](https://since.dev/guides/breaking-changes-between-versions.md)How to find breaking changes between two versions of a package: list the releases in between, read each changelog, diff the code. Commands for npm, PyPI, Go.
- [How to stop a coding agent from writing retired model IDs](https://since.dev/guides/stop-coding-agent-retired-model-ids.md)Coding agents write model IDs from old training data. Five guardrails, each run and tested: one models file, AGENTS.md, an MCP lookup, a hook and a CI check.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
