Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Deprecated: Linko MCP has moved to the hosted remote MCP at https://mcp.linko.study/mcp. This package is no longer maintained.

Linko MCP

A Model Context Protocol (MCP) extension that allows LLMs (Large Language Models) to access Linko (https://www.linko.study) study notes and resources. It's designed to be used with uvx for a seamless, installation-free experience.

Features

  • Search and retrieve notes from Linko
  • Find learning resources by title, author, or subject
  • Get information about your knowledge distribution across subjects
  • AI-specific tools for AI assistants to create and manage their own notes
  • Built-in rate limiting to prevent API overload
  • Secure credential handling with environment variables

Available MCP Tools

Linko MCP provides two distinct sets of tools:

Tools for Humans

These tools provide access to the user's own learning materials:

  • get_notes: Retrieve and search through user's notes with filtering options

    • Search notes using keywords (with semantic embedding for relevance)
    • Filter notes by subject/topic
    • Filter notes by resource (book, article, video, etc.)
    • Filter notes by time period
  • get_resources: Find books, articles, and other learning resources

    • Search resources by title or author using keywords
    • Filter resources by subject/topic
    • Filter resources by type (books, videos, articles, podcasts)
    • Filter resources by completion status
  • get_subjects: Browse knowledge areas and subjects

    • View distribution of user's notes and resources across subjects
    • Get details about a specific subject including notes count and resources count
    • Discover which subjects user has the most content in

Tools for AI Assistants

These tools allow the AI to manage its own notes for cognitive continuity (requires a separate Linko account):

  • get_notes_for_AI: Retrieve the AI's own notes

    • Semantically search AI's notes
    • Filter by subject or time period
    • Browse recent notes
  • create_note_for_AI: Create a new note in the AI's account

    • Store information for future reference
    • Build knowledge continuity between sessions
  • update_note_for_AI: Modify an existing note

    • Update previously stored information
    • Refine understanding as new information is acquired
  • delete_note_for_AI: Remove a previously created note

    • Clean up outdated or incorrect information

Prerequisites

  • A Linko account for yourself - Sign up at www.linko.study if you don't have one
  • A separate Linko account for your AI assistant (recommended for AI-specific features)
  • uv Python package manager (for uvx command)

Installation

The package is designed to be used with uvx and doesn't need to be installed directly. Simply configure your LLM to use the MCP server with uvx as shown in the setup section below.

If you still want to install the package for development or other purposes:

From PyPI

pip install linko-mcp

Setup with Claude Desktop, Cursor or Other MCP-Compatible Host

{
  "mcpServers": {
    "linko": {
      "command": "uvx",
      "args": ["--from", "linko-mcp", "mcp-server-linko"],
      "env": {
        "LINKO_USERNAME": "your_personal_linko_email@example.com",
        "LINKO_PASSWORD": "your_personal_linko_password"
      }
    },
    "linko_for_AI": {
      "command": "uvx",
      "args": ["--from", "linko-mcp", "mcp-server-linko-for-ai"],
      "env": {
        "LINKO_AI_USERNAME": "your_ai_linko_email@example.com",
        "LINKO_AI_PASSWORD": "your_ai_linko_password"
      }
    }
  }
}

You can also define the environment variables in your local environment without setting it in the json.

  1. Restart your LLM application

Usage Examples

For Human Tools

You can ask your LLM to:

  • "Find my notes about machine learning"
  • "Show me my resources for psychology"
  • "What subjects do I have notes on?"
  • "Get my most recent notes"
  • "Find books about quantum computing"
  • "Show my completed resources"

For AI Tools

These require the AI to have its own Linko account:

  • AI can create notes about your project or conversation: "I'll make a note about this design pattern for future reference"
  • AI can retrieve its previous knowledge: "Let me check my notes about your project"
  • AI can update its understanding: "I'll update my notes about your preferences"

Human vs. AI Accounts: Important Distinction

Linko MCP uses two separate services:

  1. Human Account (mcp-server-linko):

    • Provides AI assistants READ-ONLY access to YOUR notes and resources
    • Uses YOUR Linko credentials
    • AI cannot modify your notes or resources
  2. AI Account (mcp-server-linko-for-ai):

    • Provides AI assistants READ/WRITE access to THEIR OWN notes
    • Uses a SEPARATE Linko account created specifically for the AI
    • Allows AI to maintain cognitive continuity between sessions
    • Keeps AI's notes separate from your personal study materials

We strongly recommend using separate accounts to maintain a clear separation between your notes and the AI's notes.

AI-specific Features

The mcp-server-linko-for-ai server enables AI assistants to:

  • Create their own notes in a dedicated Linko account
  • Update or delete their notes
  • Retrieve their own notes for continuity between sessions and cognitive growth

Note-taking Best Practices for AI

AI assistants should focus on capturing:

  1. High-level concepts and architectural patterns
  2. User preferences for coding style and project organization
  3. Project requirements and business logic
  4. Conceptual challenges and reasoning behind solutions
  5. Evolving understanding of the project

Security Notes

Environment Variables for Credentials

For improved security, we recommend using environment variables for your Linko credentials:

  1. Set environment variables in your system or session as shown in the setup section
  2. Use the configuration with environment variables (no need to specify them again in the JSON)
  3. Ensure your environment variables are set before starting your LLM application

Technical Details

Rate Limiting

The Linko MCP includes built-in rate limiting to prevent excessive API calls to the Linko service. By default, the rate limiter is configured to allow:

  • 2 requests per second
  • Maximum burst of 10 requests

The rate limiter implements a token bucket algorithm that works with both synchronous and asynchronous code.

Authentication

The MCP handles authentication in the following order:

  1. Look for stored tokens in ~/.linko/auth.json (or ~/.linko/auth_ai.json for AI)
  2. Attempt to refresh expired tokens
  3. Fall back to environment variables for credentials
  4. Fall back to command line arguments

Troubleshooting

If you encounter issues:

  1. Enable verbose logging with the --verbose flag:
linko-mcp --verbose
  1. Check the log files in the logs directory of the package

License

MIT

Contact

For questions or support, please contact linko.assistant@gmail.com or open an issue on GitHub.

Metadata

Release files for linko-mcp 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linko-mcp 0.2.2
File Size Uploaded Provenance
linko_mcp-0.2.2.tar.gz 28.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for linko-mcp 0.2.2
File Interpreter ABI Platform
linko_mcp-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 57.8 kB

Release files / linko_mcp-0.2.2.tar.gz

Download URL linko_mcp-0.2.2.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
57cb00e1aefe38ffa2d4ac9262ac89442ea39faf779560192758af2d6b2a76b9
BLAKE2b-256 checksum
How to use checksums
baf0d81c00e716e45bcdedf4f29702c37a0d988b696c98742836336821c7199c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / linko_mcp-0.2.2-py3-none-any.whl

Download URL linko_mcp-0.2.2-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3802b7d0db72f14ed83070a8b4f64836f26088643aa51dc9579a4e8c1d27d0cb
BLAKE2b-256 checksum
How to use checksums
9192aa82d2662421f7c222f4054eee7afffa36a40397c5d29094112fff4baee4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Security for linko-mcp 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page