encyport
Reads public Wikipedia content via the Wikipedia APIs, enabling article search, full article text, lead summaries, section outlines, outgoing links, and page coordinates.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@encyportFind the Wikipedia article on Ada Lovelace and give me its summary"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
encyport
encyport reads Wikipedia so people and agents do not have to scrape it. Give it a phrase and it finds matching articles; give it a title and it hands back the article text, just the lead summary, the section outline, the pages the article links to, or the coordinates recorded for the subject — all from the public Wikipedia APIs on en.wikipedia.org, with nothing to sign up for and no API key.
Install
npx @reneturcios/encyport search "analytical engine"Or run the container image:
docker run -i ghcr.io/cloudcorprecords/encyportThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: wikipedia-mcp
CLI
Every command prints JSON.
# Search for articles
encyport search Ada Lovelace
encyport search black holes --limit 5
# Read a page four ways, plus its coordinates
encyport article Ada Lovelace
encyport summary Ada Lovelace
encyport sections Ada Lovelace
encyport links Ada Lovelace
encyport coordinates Eiffel Tower
encyport --versionTitles and queries may contain spaces; everything after the command
word is joined into one phrase. Exit codes: 0 on success, 1 when
the lookup fails (a missing page or an upstream error, named in the
message), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/encyport mcpMCP client configuration:
{
"mcpServers": {
"encyport": {
"command": "npx",
"args": ["-y", "@reneturcios/encyport", "mcp"]
}
}
}Tools
Tool | Input | What it returns |
|
| Matching articles: title, page id, a cleaned text snippet, word count, and last-revision timestamp for each hit. |
|
| The full plain-text content of the article. |
|
| The lead section of the article as plain text — the part most readers mean by "the summary". |
|
| The article's section outline: section number, heading, heading level, and parse index, in document order. |
|
| Pages this article links to, each with its namespace and whether the target page exists. |
|
| Latitude/longitude pairs recorded for the page (empty when the subject has none), with the primary coordinate flagged. |
Titles follow redirects, so a common name or an old title still lands on the current article. A title that does not resolve to a page is reported as an error rather than returning empty content.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network
npm run dev # run the CLI from source via tsxThe core takes an injectable fetch function, and the test suite drives it entirely with hand-written payloads shaped like real Wikipedia API responses — the tests never touch the network.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and read Wikipedia articles and sections, list cited references, nearby pages, and languages.
Search and read Wikipedia in any language: summaries and full articles. Free, no key.
Wikipedia, Wikidata and Wiktionary as clean JSON, not HTML. 1.9M searchable. Free, no auth.
Pay-per-call x402 Wikipedia summaries/search and Wikidata facts, with CC BY-SA attribution.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables LLMs to search for keywords and fetch full page content from Wikipedia across various languages. It provides direct access to Wikipedia information through search and fetch tools.24MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to search, read, and explore Wikipedia articles via tools like summaries, categories, and random articles, with no API keys required.1MIT
- AlicenseAqualityFmaintenanceEnables AI assistants to access Wikipedia content, search articles, retrieve historical events, and fetch images through the Wikipedia API.47 npm1MIT
- AlicenseNot gradedqualityCmaintenanceWraps the Wikipedia REST API to allow AI agents to query Wikipedia content without authentication.228 npmMIT