Skip to main content
Glama

Anki MCP

by arielbk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANKI_CONNECT_HOSTNoHost for the AnkiConnect serverlocalhost
ANKI_CONNECT_PORTNoPort for the AnkiConnect server8765

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
deck_names
deck_names_and_ids
note_tags
model_names
model_names_and_ids
cards_reviewed_by_day
cards_reviewed_today

Tools

Functions exposed to the LLM to take actions

NameDescription
create_deck-
delete_decks-
change_deck-
clone_deck_config-
remove_deck_config-
save_deck_config-
set_deck_config-
answer_cards-
find_cards-
get_cards_info-
check_cards_due-
check_cards_suspended-
suspend_cards-
unsuspend_cards-
check_card_suspended-
forget_cards-
relearn_cards-
set_cards_due_date-
get_cards_ease_factors-
set_cards_ease_factors-
get_cards_intervals-
get_cards_mod_time-
cards_to_notes-
set_card_specific_values-
add_note-
add_notes-
update_note-
delete_notes-
add_tags_to_notes-
remove_tags_from_notes-
replace_tags_in_notes-
find_notes-
can_add_notes-
clear_unused_tags-
remove_empty_notes-
create_model-
find_and_replace_in_models-
model_field_add-
model_field_remove-
model_field_rename-
model_field_reposition-
model_field_set_description-
model_field_set_font-
model_field_set_font_size-
model_template_add-
model_template_remove-
model_template_rename-
model_template_reposition-
update_model_styling-
update_model_templates-
card_reviews-
get_collection_stats_html-
get_latest_review_id-
get_num_cards_reviewed_by_day-
get_num_cards_reviewed_today-
get_reviews_of_cards-
insert_reviews-
gui_add_cards-
gui_answer_card-
gui_browse-
gui_check_database-
gui_current_card-
gui_deck_browser-
gui_deck_overview-
gui_deck_review-
gui_edit_note-
gui_exit_anki-
gui_import_file-
gui_select_card-
gui_select_note-
gui_selected_notes-
gui_show_answer-
gui_show_question-
gui_start_card_timer-
gui_undo-
delete_media_file-
get_media_dir_path-
get_media_files_names-
retrieve_media_file-
store_media_file-
api_reflect-
export_package-
get_active_profile-
get_profiles-
import_package-
load_profile-
multi-
reload_collection-
request_permission-
sync-
get_version-

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arielbk/anki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server