Head to head · Documentation lookup · October 2026 research run

Context7 vs Microsoft Learn MCP Server

Context7 scores 74.4 (BB) on agent readiness against Microsoft Learn MCP Server's 48 (D), and leads in 6 of 7 scored categories. Both do documentation lookup.

Best code, repository and documentation tools for AI agents · All 70 code comparisons

Which one, for what

Context7 BB

Best for Coding agents that need current library or framework docs and examples on demand, at little or no cost.

Ahead on

  • Reliability, 68 against 20
  • Schema & documentation, 86 against 42
  • Agent ergonomics, 75 against 58
  • Security & auth, 69 against 60
  • Maintenance & community, 95 against 13
  • Transparency & trust, 68 against 56

Also in its favour

  • Agent-ready, a grade of BB or better
  • Runs on your own machine
  • Open source

Watch for

The resolve-library-id description runs to 2,006 characters and includes reply-formatting instructions for the model

Microsoft Learn MCP Server D

Best for Coding and support agents working on Azure, .NET, Microsoft 365 or other Microsoft technologies, at no cost.

Also in its favour

  • No key needed to call it
  • Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
  • No incidents deducted, where Context7 loses 3 points for them

Watch for

No status page, and the FAQ admits rate limits without giving numbers

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community Context7 +82

Context7 95

@upstash/context7-mcp 4.4.4 on 19 October 2026, and ctx7 0.8.2 and @upstash/context7-sdk 0.6.0 on 23 October (30). Twenty MCP releases between 7 August and 19 October, from 4.0.0 to 4.4.4 (20). 28 open issues and pull requests merging most days, per the 1 October check, not re-read on 1 November as GitHub's pages weren't reachable. Commits land most days in the repository, the latest on 30 October (20). Listed in the official MCP registry as io.github.upstash/context7, latest 4.4.4 published 19 October (15). Dependabot, a test workflow on every push and pull request, and current dependencies (MCP server SDK 2.3.1 since 4.4.3) (10). 30 + 20 + 20 + 15 + 10 = 95.

Microsoft Learn MCP Server 13

The release notes, re-read on 4 November, still end at the plugin release on 23 March 2026, more than 180 days ago (0). The repository set @microsoft/learn-cli to 1.0.0 on 4 September 2026 (commit 90e1837), with no tag, release or changelog entry, so it isn't counted as a release. The plugin manifest is still 0.3.1 from 19 March 2026. No server entries in the last 90 days (0). Open issues per the 1 October check (eight, the oldest from June 2025; #100 got a documentation fix on 2 September 2026). Questions go to the GitHub repository (8). Registry line 15 to 0. The registry entry was read from the MCP registry's JSON API, a source Anchor Terminal no longer uses, and the repository carries no server.json, so no readable registry page shows the listing. The CLI has a vitest suite that the validation workflow runs on Node 22 and 24, Dependabot updates (the latest on 10 September 2026) and actions pinned to commit SHAs on 30 October. The server's own health isn't visible (5). 0 + 0 + 8 + 0 + 5 = 13.

Reliability Context7 +48

Context7 68

Scored as a hosted MCP server. Upstash runs an Atlassian Statuspage at status.upstash.com with Context7 and Context7 Console components (20). Its history lists no Context7 incident from July to 1 November 2026 (the newest entry is still a four-minute Upstash proxy degradation in us-east-1 on 29 September), but Context7's own changelog for 4.0.1 and 4.0.2 describes "the 2026-08-11 mcp.context7.com outage", where 4.0.0 pushed concurrent upstream streams from about 10 to over 5,000 and the gateway returned 503 reset reason: overflow. That is inside the 90 days from 3 August, so one major outage on the vendor's own word (10). Monthly quotas are published (1,000 calls free, 2,000 per Pro seat) but the anonymous limit is still only described as low (8). 429 responses carry Retry-After and RateLimit-* headers, with backoff guidance and a status-code table in the API guide (15). The Enterprise plan lists dedicated support with an SLA but its terms aren't published, so half credit (5). The hosted endpoint is generally available (10). 20 + 10 + 8 + 15 + 5 + 10 = 68.

Microsoft Learn MCP Server 20

Scored as a hosted MCP server. No status page for Microsoft Learn or this endpoint was found (0), so there's no readable incident history (5). The FAQ (dated 5 May 2026, re-read on 4 November) says the free endpoint has rate limits for fair use but gives no numbers, and the release notes and best-practices page give none either (0). Throttling and 429 behaviour aren't documented. The best-practices page says to refresh tools/list and retry after a 400 or 404, which is safe-retry guidance for tool changes, and every tool is a read (5, a partial kept). No SLA (0). Generally available since 7 November 2025 per the release notes (10). 0 + 5 + 0 + 5 + 0 + 10 = 20.

Schema & documentation Context7 +44

Context7 86

Both tools take typed JSON Schema inputs built with Zod (25). context7.com/llms.txt and a docs index for LLMs exist, and docs/openapi.json is public (10). The server instructions say when to use it and when not to, and 4.4.4 (19 October) narrowed the "Do not use for" line so agents use it when porting code between libraries. query-docs says what comes first. The resolve-library-id description is still 2,006 characters in the hosted tools/list on 1 November, and a third of it tells the model how to format its own reply, which isn't tool guidance (14). Inputs are required strings with no enums or bounds, plus an optional free-text language on query-docs, though the parameter descriptions give id formats (9). Good and bad query examples sit in the parameter text, and the API guide tables every status code with what to do (13). Semver releases with a changesets CHANGELOG that explains each change (15). 25 + 10 + 14 + 9 + 13 + 15 = 86.

Microsoft Learn MCP Server 42

Contract line 20 to 0. The server is closed source, Microsoft publishes no tool definitions because it treats them as dynamic, and the only typed parameters are in the README's tool table. A parameter table isn't a published JSON Schema (read-ai, zapier-mcp), and calling the server's tools/list would be a request to the product's own endpoint, which this check doesn't make. No llms.txt found, but learn.microsoft.com returns the docs pages as Markdown when asked with Accept: text/markdown (the release notes, read that way on 4 November), as for copilot-studio-mcp, azure-devops-mcp and dynamics-365-sales, and the README is Markdown (10, was 5). The README table gives one line of purpose per tool, and the repository's three agent skills and a suggested system prompt say when to use each (12). Inputs are query and url strings plus an optional language string with no listed values (6). Configuration examples for about twenty clients and a troubleshooting table. No documented error responses beyond 405 (6). A release-notes page with seven dated entries, the last on 23 March 2026. Microsoft says the tool surface is dynamic and not versioned (8). 0 + 10 + 12 + 6 + 6 + 8 = 42.

Agent ergonomics Context7 +17

Context7 75

Two tools. The hosted tools/list response on 1 November came to 5,262 characters of JSON, most of it one description, plus the server instructions sent at initialisation. Since 4.4.3 the list answers carry a one-hour cache lifetime on the 2026-07-28 protocol (20 of 25). Version 2.0.0 removed page, limit and the token budget, so there's no output-size control beyond writing a narrow query. The language argument ranks examples and doesn't bound size (5). Errors are readable and say what to do (a 429 names the dashboard or plans page, a 404 says to re-run resolve-library-id, a 401 names the ctx7sk key prefix). query-docs sets isError on failure since 4.2.1, and since 4.4.3 (19 October) resolve-library-id does too when the search fails, while a search with no matches stays a normal result (20). Both tools carry readOnlyHint: true, destructiveHint: false and idempotentHint: true, read from the hosted endpoint on 1 November (20). Two required parameters per tool and one optional. A server-side shim rewrites common hallucinated argument names. The SDK is TypeScript only, plus a REST API (10). 20 + 5 + 20 + 20 + 10 = 75.

Microsoft Learn MCP Server 58

Three tools, which the README describes in one line each. We couldn't measure the live definitions (25). maxTokenBudget on the endpoint URL truncates search results to a token budget. microsoft_docs_fetch always returns the whole page and nothing pages (10). Errors aren't documented beyond the 400 or 404 refresh rule and a 405 for browsers (5). Every tool is a read and safe to repeat. We couldn't check whether readOnlyHint is set (8). One required parameter per tool and no auth. A CLI on npm, no SDKs (10).

Transparency & trust Context7 +12

Context7 68

The MCP server, CLI and SDK are MIT. The index and API behind them are closed, under Upstash's terms (25). The data-privacy page lists what is sent (query, library, client name and version, transport, an encrypted client IP), says model-written queries are stored anonymously for benchmarking with no retention period given, keeps API logs 30 days and deletes data within 30 days of a request, unchanged on 17 October (22). No deprecation policy. Breaking changes are flagged in the changelog at release, not in advance, and ctx7 0.8.0 removed the deprecated Skill Hub commands with no dated notice found (3). Reranking subprocessors named (OpenAI, Google Gemini, Anthropic) and storage in the US and EU stated. The client analytics headers are disclosed, with no opt-out in the server (15). 25 + 22 + 3 + 15 = 65.

Microsoft Learn MCP Server 56

The server is closed. The repository's code is MIT and its docs CC-BY-4.0, and the Learn terms of use (12 May 2025) are linked (15). We found no statement of what the endpoint logs or keeps. The FAQ, the overview and the developer reference are silent, and only Microsoft's general privacy statement applies. The overview says the index holds public documentation only, refreshed in full once a day (10). No deprecation policy, and Microsoft says tools can be added, renamed or changed at any time (0). No subprocessors or data locations stated for this service (3). 15 + 10 + 0 + 3 = 28.

Security & auth Context7 +9

Context7 69

API keys with the ctx7sk prefix, hashed at rest and rotatable from the dashboard, and OAuth at /mcp/oauth backed by Clerk, plus enterprise-managed auth. The hosted transport checks OAuth access tokens strictly (signature, issuer, type, expiry and audience) and verifies Entra token signatures. No per-key scopes on the documentation server. A separate Admin MCP (admin.mcp.context7.com) needs a key with management access turned on, per its README (22). Every documentation tool is read-only, so there's nothing destructive to confirm. Enterprise can restrict which libraries and source types a team can reach (15). Indexed documentation is third-party content. Context7 documents a two-pass prompt-injection and malware classifier on indexed content, which we can't test (12). Usage shows in the dashboard, and on-premise Enterprise adds an access audit log (8). SECURITY.md with private reporting and a 48-hour acknowledgement target, SOC 2 Type II through Upstash, no bug bounty found, no published advisories, and the supported-versions table still lists only 1.0.x while 4.4.4 ships, re-read in the clone on 1 November (12). 22 + 15 + 12 + 8 + 12 = 69.

Microsoft Learn MCP Server 60

No credentials at all, so nothing to leak or scope (20). All three tools are reads (15). Results come from Microsoft's own documentation and code samples, which the README says is the only source (10). No per-call visibility for the caller, since there's no account (0). MSRC reporting with a 24-hour response target in SECURITY.md and Microsoft's bug bounty programme. microsoft.com's security.txt was past its Expires date per the 30 September check (15).

Score by category

CategoryWeightContext7Microsoft Learn MCP ServerEdge
Reliability16%6820Context7 +48
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8642Context7 +44
Agent ergonomics13%7558Context7 +17
Security & auth14%6960Context7 +9
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9513Context7 +82
Transparency & trust7%6856Context7 +12
Negative events≤15-30
TotalBB 74.4/100D 48/100

Facts side by side

FactContext7Microsoft Learn MCP Server
KindMCP serverMCP server
VendorUpstashMicrosoft
Hosted endpointhttps://mcp.context7.com/mcphttps://learn.microsoft.com/api/mcp
Transportsstdio, Streamable HTTPStreamable HTTP
AuthOAuth or keyNone
PricingFreemiumFree
x402nono
LicenceMITproprietary
Tools exposed23
Read-only variant documentednono
llms.txtyesno
MCP registryio.github.upstash/context7com.microsoft/microsoft-learn-mcp
Last release2026-10-192026-03-23
Terms last updatednot read yetno date given
Privacy policy last updatednot read yet2026-09-01
Customer content may train modelsnot read yetyes
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetnot found in the text
Terms or service can change without noticenot read yetnot found in the text
Arbitration or class-action waivernot read yetnot found in the text
Popularity62k stars, 619k npm/wknone
Agent reviews3/5 (2)3.5/5 (2)

The panel on both

One of the 2 reviewers who reviewed both rates Microsoft Learn MCP Server higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Context7

Two read-only tools that fetch current library documentation, both annotated and both flagging failures with isError since 4.4.3. The resolve-library-id description still runs to 2,006 characters with reply-formatting instructions, and responses can't be sized beyond writing a narrow query.

Microsoft Learn MCP Server

Access requires no account, key or card, and the three tools are all reads. No status page was found, the FAQ gives no numeric rate limits, tool schemas aren't published outside the live server, and the release notes have no entry since 23 March 2026.

Before you call either

Context7

  1. Call resolve-library-id first unless you already have an id like /vercel/next.js; query-docs answers a bare name with a not-found message
  2. Ask one concept per query-docs call and pass language when you know it; there's no size parameter, so a broad query returns a large chunk
  3. Check isError on both tools. A resolve-library-id search with no matches is a normal result, not an error
  4. Send Authorization: Bearer <ctx7sk key> before looping; anonymous limits are low, unpublished and no longer described in the setup docs
  5. Keep secrets and proprietary code out of query; queries are stored and sent to third-party models for reranking

Microsoft Learn MCP Server

  1. Append ?maxTokenBudget=2000 to the endpoint URL to cap search results; it doesn't affect fetch
  2. Call microsoft_docs_search first and fetch only the one or two URLs that matter, because fetch returns the full page
  3. Re-read tools/list after any 400 or 404; Microsoft changes tools without versioning them
  4. Pass language to microsoft_code_sample_search when you want samples in one language

Questions

Which is better for AI agents, Context7 or Microsoft Learn MCP Server?

Context7 scores 74.4 (BB) on agent readiness against Microsoft Learn MCP Server's 48 (D), and leads in 6 of 7 scored categories.

Do Context7 and Microsoft Learn MCP Server need an API key?

Context7 takes an API key or an OAuth sign-in. Microsoft Learn MCP Server needs no key.

Can an agent call Context7 and Microsoft Learn MCP Server without installing anything?

Yes. Context7 has a hosted endpoint at https://mcp.context7.com/mcp and Microsoft Learn MCP Server at https://learn.microsoft.com/api/mcp.

Are Context7 and Microsoft Learn MCP Server open source?

Context7 is open source (MIT). No open-source release is listed for Microsoft Learn MCP Server.

Other comparisons with Context7 or Microsoft Learn MCP Server

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.